/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    /* Updated to a cuter Pink/Purple gradient */
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #4a4a4a;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* Landing Page */
.landing {
    text-align: center;
    padding: 60px 20px;
}

.landing h1 {
    font-size: 4em;
    color: #ffffff;
    margin-bottom: 20px;
    /* Added a stronger shadow to ensure visibility against light backgrounds */
    text-shadow: 3px 3px 6px rgba(0,0,0,0.15);
}

.landing p {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #ffffff;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: #ff7e5f; /* Warmer cute color */
    margin-bottom: 15px;
    font-size: 1.6em;
}

.feature-card p {
    color: #666;
    text-shadow: none; /* Reset shadow for text inside cards */
    font-weight: 400;
}

/* Auth Forms */
.auth-container {
    max-width: 450px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.auth-container h2 {
    text-align: center;
    color: #ff7e5f;
    margin-bottom: 30px;
    font-size: 2.2em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 700;
    padding-left: 5px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #fff0f0;
    background: #fffafa;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff9a9e;
    background: #fff;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #ff9a9e 0%, #ff7e5f 100%);
    color: white !important; /* Forces white text on buttons */
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 15px rgba(255, 126, 95, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 126, 95, 0.4);
    opacity: 0.95;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Dashboard */
.dashboard {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #fff0f0;
}

.user-info span {
    color: #ff7e5f;
    font-weight: 700;
}

.upload-form {
    background: #fffafa;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid #ffe4e1;
}

.file-input {
    border: 3px dashed #ffb6c1;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    background: white;
    transition: all 0.3s ease;
}

.file-input:hover {
    background: #fff0f5;
    border-color: #ff9a9e;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.file-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 20px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    font-weight: 600;
}

.alert-success { background: #e7f9ed; color: #2ecc71; border: 1px solid #d4f4e0; }
.alert-error { background: #fff1f0; color: #e74c3c; border: 1px solid #ffd7d5; }

/* Links */
a {
    color: #ff7e5f;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

a:hover {
    color: #ff9a9e;
    text-decoration: none;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 4s ease-in-out infinite;
    display: inline-block;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
