@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
    margin: 0;
    background-color: #4A55A2; /* Dark blue-purple background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    width: 900px; /* Increased width */
    max-width: 1000px;
    overflow: hidden;
}

.left-panel {
    background: linear-gradient(135deg, #6A5ACD, #8A2BE2); /* Purple gradient */
    color: #fff;
    padding: 50px 40px; /* Increased padding */
    width: 45%; /* Adjusted width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center content */
    text-align: center;
}

.left-panel .logo-title h1 {
    font-size: 48px; /* Larger font size */
    margin-bottom: 10px;
    font-weight: 700;
}

.left-panel .logo-title p {
    font-size: 18px; /* Larger font size */
    margin-bottom: 40px; /* Increased margin */
    font-weight: 300;
}

.left-panel .illustration {
    width: 80%; /* Adjust as needed */
    max-width: 300px; /* Max width for illustration */
    height: auto;
}

.right-panel {
    padding: 50px 40px; /* Increased padding */
    width: 55%; /* Adjusted width */
    background-color: #fff;
}

.right-panel h2 {
    font-size: 28px; /* Larger font size */
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.right-panel .subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px; /* Increased margin */
    text-align: center;
}

.tab-content {
    /* display: none; */ /* Keep this or ensure .active is always set if only one form */
}

.tab-content.active {
    display: block;
}

.form-title {
    font-size: 18px; /* Adjust as needed */
    color: #333;
    font-weight: 500;
    margin-bottom: 20px; /* Spacing below title */
    text-align: left; /* Or center, depending on preference */
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.input-group {
    margin-bottom: 20px; /* Increased margin */
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded borders */
    padding: 0 10px; /* Padding for icon and input */
}

.input-group label {
    padding-right: 10px; /* Space between icon and input */
    color: #aaa;
}

.input-group input,
.input-group textarea,
.input-group-dropdown select {
    width: 100%;
    padding: 12px 15px; /* Increased padding */
    border: none; /* Remove individual border */
    border-radius: 8px; /* Rounded borders */
    font-size: 14px;
    color: #333;
    background-color: #fff; /* Ensure background is white */
    outline: none; /* Remove outline */
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #aaa;
}


.input-group-dropdown {
    flex-grow: 1;
    margin-right: 10px; /* Space between dropdown and text input */
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
}
.input-group-dropdown select {
    border: none;
    background-color: transparent; /* Make select transparent to show parent's bg */
    padding: 12px 10px;
    -webkit-appearance: none; /* Removes default chrome and safari style */
    -moz-appearance: none; /* Removes default firefox style */
    appearance: none; /* Removes default style */
    cursor: pointer;
}
/* Custom arrow for select */
.input-group-dropdown::after {
    content: '\25BC'; /* Unicode for down arrow */
    font-size: 12px;
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Make arrow unclickable */
}


.security-question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Increased margin */
}

.security-question-row .input-group {
    width: calc(50% - 10px); /* Adjust width for two inputs with gap */
    margin-bottom: 0; /* Remove bottom margin from individual group */
}
.security-question-row .input-group-dropdown {
    width: calc(50% - 5px); /* Adjust width for two inputs with gap */
    margin-right: 10px;
}


.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
}

.login-btn {
    background-color: #6A5ACD; /* Purple accent */
    color: #fff;
    border: none;
    padding: 12px; /* Increased padding */
    border-radius: 8px; /* Rounded borders */
    cursor: pointer;
    font-size: 16px; /* Larger font size */
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Added margin */
}

.login-btn:hover {
    background-color: #5D4BAD; /* Darker purple on hover */
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
}

.checkbox-label span {
    cursor: pointer;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #6A5ACD;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #5D4BAD;
    text-decoration: underline;
}

.links {
    margin-top: 25px; /* Increased margin */
    text-align: center;
}

.links a {
    color: #6A5ACD; /* Purple accent */
    text-decoration: none;
    font-size: 13px;
    margin: 0 10px; /* Spacing between links */
    transition: color 0.3s ease;
}

.links a:hover {
    color: #5D4BAD; /* Darker purple on hover */
}

#cookies-form textarea {
    min-height: 100px; /* Make textarea larger */
    resize: vertical;
}

/* Adjustments for the placeholder icon in input groups */
.input-group svg {
    fill: #aaa; /* Color for the icons */
    margin-right: 8px; /* Space between icon and text input */
}

.input-group input:focus,
.input-group-dropdown select:focus {
    border-color: #6A5ACD; /* Highlight focus */
}

/* Ensure select takes full width within its container */
.input-group-dropdown select {
    width: 100%;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Custom styling for the select dropdown arrow if the default unicode is not preferred */
.input-group-dropdown {
    position: relative; /* Needed for absolute positioning of a pseudo-element arrow */
}

/* Remove default arrow for select in Firefox */
select::-ms-expand {
    display: none;
}

/* Custom arrow for select - ensure it's correctly placed */
.input-group-dropdown::after {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #aaa; /* Arrow color */
    position: absolute;
    right: 15px;
    top: calc(50% - 3px); /* Adjust vertical centering */
    pointer-events: none;
}
.input-group-dropdown select {
    padding-right: 30px; /* Make space for the custom arrow */
}

/* Hide the default select arrow (especially for Webkit browsers) */
.input-group-dropdown select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


/* Placeholder image styling */
.illustration {
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.2));
}

/* Responsive adjustments */
@media (max-width: 920px) {
    .container {
        flex-direction: column;
        width: 90%;
        margin: 20px auto;
    }
    .left-panel, .right-panel {
        width: 100%;
    }
    .left-panel {
        padding: 30px 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-right-radius: 15px; /* Keep consistent rounding */

    }
    .right-panel {
         border-top-left-radius: 0;
         border-top-right-radius: 0;
         border-bottom-left-radius: 15px; /* Keep consistent rounding */
    }
    .left-panel .logo-title h1 {
        font-size: 36px;
    }
    .left-panel .logo-title p {
        font-size: 16px;
    }
    .right-panel h2 {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .security-question-row {
        flex-direction: column;
    }
    .security-question-row .input-group,
    .security-question-row .input-group-dropdown {
        width: 100%;
        margin-bottom: 15px; /* Add margin back for stacked view */
    }
    .security-question-row .input-group-dropdown {
        margin-right: 0; /* Remove right margin when stacked */
    }
    .tabs .tab-link {
        padding: 10px 10px;
        font-size: 14px;
    }
     .right-panel {
        padding: 30px 20px;
    }
} 