﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background: linear-gradient(135deg, #10B981 0%, #0369A1 100%);
}

.container-wide {
    min-height: 99vh;
    min-height: calc(100dvh-10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.5rem, 2vw, 1.5rem);
}

.login-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: clamp(0.5rem, 2vw, 1rem);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.left-side {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.8) 0%, rgba(2, 132, 199, 0.3) 100%), url('../images/001.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100%;
}

    .left-side .logo {
        position: absolute;
        top: clamp(1.5rem, 3vw, 2rem);
        left: clamp(1.5rem, 3vw, 2rem);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .left-side .logo img {
            max-width: 190px;
            width: 70px;
            height: auto;
        }

    .left-side .hero-content {
        margin-top: clamp(8rem, 12vw, 10rem);
    }

        .left-side .hero-content h2 {
            font-size: clamp(2rem, 4vw, 2.5rem);
            font-weight: bold;
            margin-bottom: clamp(0.5rem, 1vw, 1rem);
        }

        .left-side .hero-content h1 {
            font-size: clamp(3rem, 6vw, 4rem);
            font-weight: bold;
            margin-bottom: clamp(1.5rem, 3vw, 2rem);
        }

        .left-side .hero-content p {
            font-size: clamp(1rem, 1.5vw, 1.125rem);
            opacity: 0.8;
            max-width: 95%;
            line-height: 1.5;
        }

.right-side {
    padding: clamp(2rem, 4vw, 4rem);
    display: flex;
    align-items: center;
}

.login-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

    .login-form h2 {
        font-size: clamp(1.5rem, 3vw, 1.875rem);
        font-weight: bold;
        margin-bottom: 0.5rem;
        color: #1F2937;
    }

    .login-form p {
        color: #6B7280;
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
        font-size: clamp(0.875rem, 1.5vw, 1rem);
    }

.form-group {
    position: relative;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #4B5563;
        font-size: 0.875rem;
    }

    .form-group .form-control {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #D1D5DB;
        border-radius: 0.5rem;
        outline: none;
        transition: all 0.2s;
        font-size: 0.875rem;
    }

        .form-group .form-control:focus {
            border-color: #3B82F6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

.text-danger {
    color: #DC2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

.btn-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2563EB;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-success:hover {
        background: #1D4ED8;
    }

    .btn-success i {
        transition: transform 0.2s;
    }

    .btn-success:hover i {
        transform: translateX(4px);
    }

/* Styling for the forgot password link */
.forgot-password-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .forgot-password-link:hover {
        color: #0056b3;
    }

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .login-container {
        max-width: 900px;
    }

    .hero-content p {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .left-side {
        display: none;
    }

    .right-side {
        padding: clamp(1.5rem, 4vw, 2rem);
    }

    .login-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container-wide {
        padding: 0;
    }

    .login-container {
        min-height: 100vh;
        min-height: 100dvh;
        border-radius: 0;
    }

    .right-side {
        padding: 1.5rem;
    }

    .form-group.text-end {
        text-align: center !important;
    }

    .btn-success {
        width: 100%;
        justify-content: center;
    }
}
