﻿/* --- Layout --- */
.signin-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #eef2f7 0%, #f8fafc 100%);
    padding: 2rem;
}

/* MAIN CARD */
.signin-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    border: 1px solid #e5e7eb;
    animation: slideUp 0.5s ease both;
}

/* --- Header --- */
.signin-header .signin-icon {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.signin-header h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.signin-header p {
    color: #6b7280;
    margin: 0;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* --- Input Fields --- */
.input-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.input-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #fafafa;
    transition: 0.25s;
}

    .input-control:focus {
        outline: none;
        border-color: #2563eb;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

.form-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* --- Forgot Password (LEFT) --- */
.forgot-password-link {
    text-align: left;
    margin-top: -5px;
    margin-bottom: 12px;
}

    .forgot-password-link a {
        font-size: 0.9rem;
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
    }

        .forgot-password-link a:hover {
            text-decoration: underline;
        }

/* --- Buttons --- */
.btn-facebook {
    width: 100%;
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    height: 52px;
    cursor: pointer;
    margin-top: 0.25rem;
    transition: 0.25s;
}

    .btn-facebook:hover {
        background-color: #1d4ed8;
    }

    .btn-facebook:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* --- Divider --- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    color: #9ca3af;
    font-size: 0.95rem;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e5e7eb;
        margin: 0 1rem;
    }

/* --- Benefits --- */
.signin-benefits h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 700;
    text-align: left;
}

.signin-benefits ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.signin-benefits li {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Animation --- */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .signin-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
        border-radius: 14px;
    }

    .signin-header h1 {
        font-size: 1.85rem;
    }

    .input-control {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* --- Signup Link at Bottom --- */
.signup-link {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: #6b7280;
}

    .signup-link a {
        color: #2563eb;
        font-weight: 600;
        text-decoration: none;
        margin-left: 5px;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }
