* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
}

.page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #000000;
}

.switch-text a {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
}

/* Signup Page Styles */
.signup-page {
    background-color: #FFFFFF;
}

.signup-container {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.signup-left {
    flex: 1;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.signup-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, #022B32 100%);
}

.left-content {
    position: relative;
    z-index: 2;
    padding-left: 40px;
    color: #FFFFFF;
}

.left-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.left-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.5;
}

.signup-right {
    flex: 1;
    background-color: #FFFFFF;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signup-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.signup-input {
    width: 100%;
    height: 44px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 0 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #000000;
    outline: none;
    transition: border-color 0.3s ease;
}

.signup-input::placeholder {
    color: #9CAAB0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.signup-input:focus {
    border-color: #000000;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
}

.checkbox-input {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: #000000;
}

.primary-button {
    width: 100%;
    height: 44px;
    background-color: #000000;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.primary-button:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #E0E0E0;
}

.divider-text {
    background-color: #FFFFFF;
    padding: 0 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #9CAAB0;
}

.google-button {
    width: 100%;
    height: 44px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.apple-button {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
}


.google-button:hover {
    background-color: #F5F5F5;
    border-color: #000000;
}

.apple-button:hover {
    background-color: #333333;
    border-color: white;
}

.button-icon {
    width: 18px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signup-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
    }

    .signup-left {
        min-height: 300px;
        background-position: center 30%;
    }

    .signup-right {
        padding: 30px 20px;
    }

    .left-content {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .left-title {
        font-size: 24px;
    }

    .left-subtitle {
        font-size: 14px;
    }

    .signup-title {
        font-size: 24px;
        margin-top: 20px;
    }

    .login-container {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .signup-left {
        min-height: 250px;
    }

    .signup-right {
        padding: 25px 15px;
    }

    .left-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .left-title {
        font-size: 22px;
    }

    .left-subtitle {
        font-size: 13px;
    }

    .signup-title {
        font-size: 22px;
    }

    .login-container {
        padding: 25px 15px;
    }

    .login-title {
        font-size: 22px;
    }
}

/* High-DPI and crisp rendering */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .input-icon,
    .button-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Focus states for accessibility */
.login-input:focus,
.signup-input:focus,
.login-button:focus,
.primary-button:focus,
.google-button:focus,
.apple-button:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition: all 0.3s ease;
}