:root {
    --primary-color: #d26240;
    --secondary-color: #f4a261;
    --background-color: #f9f9f9;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background-color: var(--background-color);
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* -------- Login Section -------- */
.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* -------- Login Form -------- */
.login-form {
    padding: 40px 60px;
    max-width: 500px;
    flex: 1;
}

.login-title {
    margin-bottom: 20px;
}

    .login-title h3 {
        font-size: 28px;
        color: #333;
        margin-bottom: 10px;
    }

    .login-title p {
        font-size: 16px;
        color: #666;
    }

        .login-title p span {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1.3rem;
        }

.form-label {
    font-size: 14px;
    color: #555;
}

.form-input {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: 0.3s;
}

    .form-input:focus {
        border-color: var(--secondary-color);
        outline: none;
    }

/* -------- Submit Button -------- */
.form-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.4s ease;
    font-weight: 600;
}

    .form-submit:hover {
        background-color: var(--secondary-color);
        transform: scale(1.02);
    }

/* -------- Links -------- */
.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.forgot-password, .register-link a {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.register-link {
    margin-top: 20px;
}

/* -------- Image Section -------- */
.login-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

    .login-image img {
        max-width: 100%;
        height: auto;
        border-radius: 20px;
        object-fit: cover;
    }

/* -------- RESPONSIVENESS -------- */

/* Tablets and small laptops */
@media (max-width: 992px) {
    .login-section {
        gap: 2rem;
    }

    .login-form {
        padding: 30px 40px;
    }

    .login-title h3 {
        font-size: 24px;
    }

    .login-title p {
        font-size: 15px;
    }

    .login-image img {
        border-radius: 15px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .login-section {
        flex-direction: column-reverse;
        gap: 1.5rem;
        box-shadow: none;
        background: transparent;
    }

    .login-form {
        width: 100%;
        padding: 25px 20px;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .login-image img {
        width: 100%;
        max-width: 400px;
        border-radius: 15px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .login-form {
        padding: 20px 15px;
    }

    .login-title h3 {
        font-size: 22px;
    }

    .form-input, .form-submit {
        font-size: 14px;
    }
}