/* Professional Admin Theme - Light Background with Red Accents */

/* Global Background */
body {
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif !important;
}

/* Page Background */
.page {
    background: #f3f4f6 !important;
}

/* Sidebar Style */
.sidebar {
    background: linear-gradient(180deg, #7a0012 0%, #4a000a 100%) !important;
    color: #ffffff !important;
    border-left: 4px solid #E31937 !important;
    box-shadow: 2px 0 14px rgba(0, 0, 0, 0.25) !important;
}

.sidebar::before {
    display: none !important;
}

.sidebar-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.sidebar-header h3 {
    color: #ffffff !important;
}

.mobile-close-button {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

.mobile-close-button:hover {
    color: #ffffff !important;
}

.sidebar-footer {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.nav-section {
    padding: 10px 0 !important;
}

.nav-section + .nav-section {
    border-top: 1px solid rgba(209, 213, 219, 0.22) !important;
}

.nav-section-title {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.3px !important;
    padding: 2px 20px 8px 20px !important;
}

.sidebar-nav {
    padding: 10px 0 !important;
}

.sidebar .nav-link {
    display: block !important;
    padding: 10px 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    border-right: 3px solid transparent !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-right-color: #E31937 !important;
    color: #ffffff !important;
}

.sidebar .nav-link.active {
    background: rgba(0, 0, 0, 0.18) !important;
    border-right-color: #E31937 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.sidebar .nav-link-child {
    padding-right: 35px !important;
    font-size: 0.95rem !important;
}

.sidebar .btn-link {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
}

.sidebar .btn-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Logo - Aviv Branding */
.logo {
    background: #E31937 !important;
    color: #ffffff !important;
    border-bottom: none !important;
    text-shadow: none !important;
    font-family: 'Arial', sans-serif !important;
    letter-spacing: 2px !important;
    font-weight: bold !important;
    padding: 20px !important;
    animation: none !important;
}

/* Menu Items */
.menu-item {
    color: #ffffff !important;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif !important;
    transition: all 0.3s ease !important;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-right-color: #E31937 !important;
    color: #ffffff !important;
}

.menu-item.active {
    background: rgba(0, 0, 0, 0.18) !important;
    border-right-color: #E31937 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Main Content */
.main-content {
    background: #f3f4f6 !important;
}

.content {
    background: #f3f4f6 !important;
}

.content-wrapper {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin: 24px auto !important;
    max-width: 1200px !important;
    min-height: calc(100vh - 48px) !important;
    width: calc(100% - 48px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
}

.page-content {
    background: transparent !important;
}

/* Top Bar */
.topbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

.topbar h1 {
    color: #111827 !important;
    text-shadow: none !important;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif !important;
    font-weight: 600 !important;
}

.user-info {
    color: #6b7280 !important;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif !important;
}

/* Cards */
.card {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border-radius: 8px !important;
}

.card-header {
    background: linear-gradient(135deg, #E31937 0%, #c01530 100%) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    text-shadow: none !important;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px 8px 0 0 !important;
}

.card-body {
    color: #111827 !important;
    background: #ffffff !important;
}

/* Tables */
th {
    background-color: #f8f9fa !important;
    color: #111827 !important;
    border-bottom: 2px solid #E31937 !important;
    font-weight: 600 !important;
    padding: 12px !important;
}

td {
    color: #374151 !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    padding: 12px !important;
}

tr:hover td {
    background: #f8f9fa !important;
}

/* Forms */
label {
    color: #111827 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    padding: 10px 12px !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #E31937 !important;
    box-shadow: 0 0 0 0.2rem rgba(227, 25, 55, 0.15) !important;
    outline: none !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #E31937 0%, #c01530 100%) !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(227, 25, 55, 0.25) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
}

.btn-primary:hover {
    box-shadow: 0 6px 14px rgba(227, 25, 55, 0.28) !important;
    background: linear-gradient(135deg, #c01530 0%, #a01225 100%) !important;
}

.btn-success {
    background: #28a745 !important;
    border: none !important;
    color: #ffffff !important;
}

.btn-danger {
    background: #dc3545 !important;
    border: none !important;
    color: #ffffff !important;
}

/* Quill Editor */
.ql-toolbar {
    background: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0 !important;
}

.ql-container {
    background: #ffffff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 0 8px 8px !important;
}

.ql-editor {
    color: #111827 !important;
    background: #ffffff !important;
}

/* Alerts */
.alert-success {
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    color: #155724 !important;
    border-radius: 4px !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
    border-radius: 4px !important;
}

.alert-info {
    background-color: #d1ecf1 !important;
    border: 1px solid #bee5eb !important;
    color: #0c5460 !important;
    border-radius: 4px !important;
}

/* Remove grid effect for cleaner professional look */
.page::before {
    display: none !important;
}

/* Clean logo without animations */
.logo {
    animation: none !important;
}

/* Add subtle accent color for links */
a {
    color: #E31937 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: #a01225 !important;
}
.logo {
    animation: none !important;
}
