/* auth.css - Scoped styles for authentication pages only */
.auth-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-page {
    --auth-primary: #2ecc71;
    --auth-primary-dark: #27ae60;
    --auth-secondary: #3498db;
    --auth-accent: #e74c3c;
    --auth-light: #f9f9f9;
    --auth-dark: #2c3e50;
    --auth-gray: #95a5a6;
    --auth-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .auth-page body {
        background-color: #f5f7fa;
        color: var(--auth-dark);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-image: linear-gradient(120deg, #e0f7e9 0%, #e3f2fd 100%);
        position: relative;
        overflow-x: hidden;
    }

.auth-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.auth-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.auth-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--auth-primary);
    top: -100px;
    left: -100px;
}

.auth-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--auth-secondary);
    bottom: -50px;
    right: 10%;
}

.auth-shape-3 {
    width: 150px;
    height: 150px;
    background: var(--auth-accent);
    top: 20%;
    right: -50px;
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.auth-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .auth-logo i {
        font-size: 2.5rem;
        color: var(--auth-primary);
        margin-right: 10px;
    }

    .auth-logo h1 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--auth-dark);
    }

    .auth-logo span {
        color: var(--auth-primary);
    }

.auth-tagline {
    font-size: 1.1rem;
    color: var(--auth-gray);
    margin-bottom: 30px;
    text-align: center;
}

.auth-form-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--auth-shadow);
    min-height: 550px;
}

.auth-welcome-section {
    flex: 1;
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-secondary) 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .auth-welcome-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .auth-welcome-section p {
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .auth-welcome-section img {
        max-width: 80%;
        margin-top: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.auth-form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--auth-dark);
}

.auth-input-group {
    margin-bottom: 20px;
    position: relative;
}

    .auth-input-group i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--auth-gray);
    }

    .auth-input-group input {
        width: 100%;
        padding: 15px 15px 15px 45px;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .auth-input-group input:focus {
            border-color: var(--auth-primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
        }

.auth-remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.auth-remember {
    display: flex;
    align-items: center;
}

    .auth-remember input {
        margin-right: 8px;
    }

.auth-forgot {
    color: var(--auth-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .auth-forgot:hover {
        color: var(--auth-primary);
    }

.auth-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn-primary {
    background: var(--auth-primary);
    color: white;
}

    .auth-btn-primary:hover {
        background: var(--auth-primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    }

.auth-social-login {
    margin-top: 25px;
    text-align: center;
}

    .auth-social-login p {
        margin-bottom: 15px;
        color: var(--auth-gray);
        position: relative;
    }

        .auth-social-login p::before, .auth-social-login p::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 30%;
            height: 1px;
            background: #e0e0e0;
        }

        .auth-social-login p::before {
            left: 0;
        }

        .auth-social-login p::after {
            right: 0;
        }

.auth-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.auth-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

    .auth-social-icon:hover {
        transform: translateY(-3px);
    }

.auth-facebook {
    background: #3b5998;
}

.auth-google {
    background: #dd4b39;
}

.auth-twitter {
    background: #1da1f2;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    color: var(--auth-gray);
    font-size: 0.9rem;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
}

    .auth-switch a {
        color: var(--auth-secondary);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .auth-switch a:hover {
            color: var(--auth-primary);
        }

@media (max-width: 768px) {
    .auth-form-container {
        flex-direction: column;
    }

    .auth-welcome-section {
        padding: 30px 20px;
    }

    .auth-form-section {
        padding: 30px 20px;
    }
}
