:root {
    --sidebar-bg: #4a4a4a;
    --card-bg: #85b09a;
    --primary-color: #7e9ebf;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --input-bg: rgba(255, 255, 255, 0.1);
    --input-text: #ffffff;
    --input-placeholder: rgba(255, 255, 255, 0.5);
    --input-border: rgba(255, 255, 255, 0.2);
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #4a4a4a 0%, #333333 100%);
    font-family: var(--font-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    position: relative;
}

.login-card {
    background-color: var(--card-bg);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.logo {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.logo h1 {
    font-size: 2.8rem;
    color: white;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
}

.welcome-text {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.input-group {
    background: var(--input-bg);
    border-radius: 0.8rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--input-border);
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(232, 93, 86, 0.3);
}

.input-group-text {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 1.2rem;
    padding-right: 0.5rem;
}

.form-control, .form-select {
    background: transparent;
    border: none;
    color: var(--input-text);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
}

.form-control::placeholder {
    color: var(--input-placeholder);
}

.form-control:focus, .form-select:focus {
    background: transparent;
    box-shadow: none;
    color: var(--input-text);
}

.form-select {
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    color: var(--input-text);
}

.form-select option {
    background-color: var(--card-bg);
    color: var(--input-text);
    padding: 0.5rem;
}

/* Style for the options dropdown */
select.form-select option {
    background-color: white !important;
    color: #333 !important;
    padding: 12px;
}

/* Remove the default blue highlight on hover/focus */
select.form-select option:hover,
select.form-select option:focus,
select.form-select option:active,
select.form-select option:checked {
    background: #f0f0f0 !important;
    color: #333 !important;
    box-shadow: 0 0 10px 100px #f0f0f0 inset !important;
}

/* Style for the placeholder option */
select.form-select option[value=""] {
    color: #666 !important;
}

/* Override any browser specific styling */
select.form-select::-ms-expand {
    display: none;
}

select.form-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #333;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 93, 86, 0.3);
    background-color: #d14a44;
}

.forgot-password {
    text-align: center;
    margin: 0;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}


@media (max-width: 576px) {
    .login-card {
        padding: 2rem;
    }
    
    .logo h1 {
        font-size: 2.4rem;
    }
    
    .welcome-text {
        font-size: 1.6rem;
    }
}

.input-group-text i {
    color: rgba(255, 255, 255, 0.7);
}

/* Modal styles */
.modal-content {
    background: var(--card-bg);
    color: var(--input-text);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal .form-label {
    color: var(--input-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.modal .input-group {
    margin-bottom: 1rem;
}

/* Improve button styles */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #f06960;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--input-text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Links */
.signup-link, .forgot-password {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.signup-link:hover, .forgot-password:hover {
    color: #f06960;
    text-decoration: underline;
}
