* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    height: 100vh;
    background-color: #ffffff;
}

.log-container {
    width: 100%;
    display: flex;
    justify-content: center;
    /* height: 84vh; */
    min-height: 80dvh;
}

/* ========== LEFT COLUMN - FORM ========== */
.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    max-width: 45%;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    font-size: 40px;
    font-weight: 600;
    color: #1a1a1a;
}

.logo-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-container {
    width: 100%;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    padding: 10px 5px;
}

.subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #303AB7;
    box-shadow: 0 0 0 3px rgba(48, 58, 183, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #303AB7;
}

.checkbox-label {
    margin-top: 10px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.forgot-link {
    font-size: 14px;
    color: #F76762;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #303AB7;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background: #F76762;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 16px;
}

.btn-primary:hover {
    background: #303AB7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(48, 58, 183, 0.3);
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.footer-text {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}

.footer-link {
    color: #F76762;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.footer-link:hover {
    color: #303AB7;
}

/* ========== RIGHT COLUMN - ILLUSTRATION ========== */
.right-column {
    flex: 1;
    background: url(../img/login-registe-background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ========== ENHANCED RESPONSIVE DESIGN ========== */

/* Tablet Devices (769px - 968px) */
@media (max-width: 968px) and (min-width: 769px) {
    .right-column {
        display: none;
    }

    .left-column {
        padding: 12px 24px;
        max-width: 100%;
    }

    .logo {
        font-size: 36px;
        margin-bottom: 50px;
    }

    h1 {
        font-size: 28px;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        font-size: 14px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .forgot-link {
        align-self: flex-end;
    }
}

/* Mobile & Tablet (up to 768px) */
@media (max-width: 768px) {
    .log-container {
        flex-direction: column;
        height: auto;
        overflow-y: auto;
    }

    .right-column {
        display: none;
    }

    .left-column {
        max-width: 100%;
        padding: 12px 24px;
        justify-content: flex-start;
    }

    .logo {
        font-size: 32px;
        margin-bottom: 40px;
        justify-content: center;
    }

    .form-container {
        max-width: 100%;
    }

    h1 {
        font-size: 26px;
        text-align: center;
    }

    .subtitle {
        text-align: center;
        font-size: 14px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .forgot-link {
        align-self: flex-end;
    }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .left-column {
        padding: 10px;
        margin: 0;
        height: auto;
    }

    .logo {
        font-size: 28px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 24px;
        margin: 0;
    }

    .subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"] {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px;
        font-size: 14px;
        margin-bottom: 12px;

    }

    .form-options {
        flex-direction: column;
        align-items: stretch;
    }

    .checkbox-group {
        justify-content: flex-start;
    }

    .forgot-link {
        align-self: center;
        margin-top: 10px;
    }
}

/* Large Desktop Screens (min-width: 1200px) */
@media (min-width: 1200px) {
    .left-column {
        max-width: 40%;
        padding: 12px 24px;

    }

    .form-container {
        max-width: 450px;
    }
}

/* Very Small Mobile Devices (up to 360px) */
@media (max-width: 360px) {
    .logo {
        font-size: 24px;
        margin-bottom: 25px;
    }

    h1 {
        font-size: 22px;
    }

    .footer-text {
        font-size: 13px;
    }
}