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

body,
html {
    color: #000000;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.login-container {
    display: flex;
    height: 100vh;
    position: relative;
}

.left-section {
    flex: 1;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    position: relative;
    overflow: hidden;
}

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/sign_in.png') center/cover;
    opacity: 0.8;
}

.right-section {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    margin-left: -60px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.language-dropdown-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.language-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

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

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 32px;
    width: 100%;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #3B82F6 100%);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

/* Fallback for browsers that don't support background-clip: text */
.logo-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    z-index: -1;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 24px;
    text-align: left;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.15s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-input::placeholder {
    color: #6c757d;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    padding: 4px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 20px 0 24px 0;
}

.checkbox-input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #007bff;
}

.checkbox-label {
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

.signin-btn {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    margin-bottom: 20px;
}

.signin-btn:hover {
    background: #0056b3;
}

.signup-text {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

.signup-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.signup-link:hover {
    text-decoration: underline;
}

.dropdown-menu {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    min-width: 120px;
}

.dropdown-item {
    padding: 8px 16px;
    color: #212529;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #212529;
}

.dropdown-item.active {
    background: #007bff;
    color: white;
}

.logo-text-gradient {
    background: linear-gradient(90deg, #6a8df6, #ec79d3);
    /* Blue to pink gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* For Firefox */
    text-fill-color: transparent;
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .left-section {
        min-height: 200px;
    }

    .right-section {
        margin-left: 0;
        margin-top: -30px;
        padding: 20px;
        border-radius: 0;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    }

    .logo-container {
        flex-direction: column;
        gap: 8px;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 20px;
    }
}

.bold-text {
    font-weight: bold;
}

.custom-green-btn {
    background-color: #28a745;
    color: #fff;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border: 4px solid #e0e0e0;
}

.custom-red-btn {
    background-color: #dc3545;
    color: #fff;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border: 4px solid #e0e0e0;
}

.custom-gray-btn {
    background-color: #575454;
    color: #fff;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border: 4px solid #e0e0e0;
}
