/* REGISTRATION PAGE SPECIFIC STYLES */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background-color: var(--background-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: fadeInSlideUp 0.7s ease-out forwards;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo-link img {
    height: 115px;
    margin-bottom: 10px;
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.input-with-icon { position: relative; }

.input-with-icon i:first-of-type { 
    position: absolute; 
    left: 15px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--text-secondary); 
    z-index: 1;
}

.input-with-icon input {
    width: 100%; 
    padding: 12px 45px;
    box-sizing: border-box;
    background-color: var(--background-dark);
    border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-primary);
    font-size: 1rem; font-family: var(--font-family); transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.input-with-icon input::placeholder { color: var(--text-secondary); opacity: 0.7; }
.input-with-icon input:focus { outline: none; border-color: var(--text-primary); box-shadow: 0 0 0 3px rgba(230, 237, 243, 0.2); }

.toggle-password {
    position: absolute;
    right: 15px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 1;
}
.toggle-password:hover {
    color: var(--text-primary);
}

.auth-button {
    width: 100%; padding: 15px; border-radius: 8px; border: none; background: var(--theme-gradient);
    color: var(--theme-button-text-color); font-size: 1.1rem; font-weight: 700;
    font-family: var(--font-family); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; margin-top: 10px;
}
.auth-button:hover { transform: translateY(-3px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }

.auth-footer { text-align: center; margin-top: 30px; color: var(--text-secondary); }
.auth-footer a { color: var(--text-primary); font-weight: 600; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

.error-messages {
    background-color: #5c2a2a; color: #ffc4c4; border: 1px solid #e06d6d;
    border-radius: 8px; padding: 15px; margin-bottom: 20px; text-align: left;
}
.error-messages p { margin: 0; font-size: 0.9rem; }

.success-message {
    background-color: #2a5c3d; color: #c4ffe1; border: 1px solid #6de09d;
    border-radius: 8px; padding: 15px; margin-bottom: 20px; text-align: left;
}
.success-message p { margin: 0; font-size: 0.9rem; }


/* --- RESPONSIVE STYLES --- */
@media (max-width: 480px) {
    body {
        align-items: flex-start; /* Align card to the top on mobile */
        padding: 0; /* Remove padding to use full screen width */
    }

    .auth-container {
        max-width: 100%;
        width: 100%;
    }

    .auth-card {
        padding: 30px 25px; /* Adjust padding */
        border-radius: 0; /* Remove border-radius for a full-width feel */
        border: none;
        box-shadow: none;
        min-height: 100vh; /* Make card fill the screen height */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .auth-header .logo-link img {
        height: 100px; /* Slightly smaller logo */
    }
    
    .auth-header h1 {
        font-size: 1.6rem;
    }
}