/* Header styles */
.header-separator {
    display: inline-block;
    opacity: 0.7;
    font-size: 0.8em;
    vertical-align: middle;
    color: white;
}

/* Language switcher styles */
.lang-button {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
}

.lang-text {
    margin-left: 0.25rem;
}

.lang-dropdown {
    min-width: 10rem;
}

.lang-option {
    padding: 0.5rem 1rem;
}

.flag-container {
    font-size: 1.2rem;
}

/* Auth Card Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #2196f3;
    --text-light: #ffffff;
    --text-dark: #333333;
}

.auth-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.auth-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1.5rem;
    border: none;
}

.auth-card .card-header h2 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.auth-card .card-body {
    padding: 2rem;
}

/* Form label styles - Only apply to non-premium themes */
body:not(.premium-theme) .form-label,
:not(.premium-theme) .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.input-group {
    margin-bottom: 0.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.input-group-text {
    background-color: #f8f9fa;
    border: none;
    color: var(--primary-color);
}

.form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 25px !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Department Dropdown Styles - Only apply to non-premium themes */
body:not(.premium-theme) .form-select,
:not(.premium-theme) .form-select {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff !important;
    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='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

body:not(.premium-theme) .form-select:focus,
:not(.premium-theme) .form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    background-color: #fff !important;
}

/* Windows-specific dropdown fixes - Only for non-premium themes */
body:not(.premium-theme) .form-select option,
:not(.premium-theme) .form-select option {
    background-color: #fff !important;
    color: #212529 !important;
    padding: 0.5rem !important;
}

/* Ensure dropdown options are visible on Windows - Only for non-premium themes */
body:not(.premium-theme) select.form-select option,
:not(.premium-theme) select.form-select option {
    background-color: #ffffff !important;
    color: #212529 !important;
}

body:not(.premium-theme) select.form-select option:hover,
body:not(.premium-theme) select.form-select option:focus,
body:not(.premium-theme) select.form-select option:checked,
:not(.premium-theme) select.form-select option:hover,
:not(.premium-theme) select.form-select option:focus,
:not(.premium-theme) select.form-select option:checked {
    background-color: #e9ecef !important;
    color: #212529 !important;
}

.input-group > .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group:not(.has-validation) > .form-select:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* RTL specific styles for select will be in rtl.css */

/* User name display in header */
.user-name {
    display: inline-flex;
    align-items: center;
}

.user-name i {
    margin-right: 0.5rem;
}

/* Profile page username styling */
.profile-username {
    color: #1a237e;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* RTL specific styles for user name will be in rtl.css */ 