.app-navbar {
    background: linear-gradient(135deg, var(--club-primary, #c1121f), color-mix(in srgb, var(--club-secondary, #f4c542) 60%, var(--club-primary, #c1121f)));
    border-bottom: 3px solid var(--club-secondary, #f4c542) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 3000;
}

.app-navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.2s;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.15);
}

.app-navbar .navbar-brand {
    color: #ffffff !important;
}

.app-navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 220px;
    z-index: 3010;
}

.app-navbar .dropdown-item {
    color: #1e293b;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin: 2px 0;
}

.app-navbar .dropdown-item:hover {
    background: var(--club-primary, #c1121f);
    color: white;
}

.app-navbar .dropdown-item i {
    width: 20px;
}

.navbar-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    object-fit: contain;
    padding: 4px;
}

.navbar-brand-badge {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    font-size: 1.2rem;
}

.app-shell {
    min-height: calc(100vh - 84px);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

input[type="date"],
input[type="datetime-local"],
input[type="time"],
.date-rtl,
.datetime-preview {
    direction: rtl;
    text-align: right;
    unicode-bidi: plaintext;
    font-variant-numeric: tabular-nums;
}

.date-rtl {
    display: inline-block;
    white-space: nowrap;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--club-primary);
}

.btn-club {
    background: var(--club-primary, #0d9488);
    border-color: var(--club-primary, #0d9488);
    color: white;
}

.btn-club:hover {
    background: var(--club-secondary, #134e4a);
    border-color: var(--club-secondary, #134e4a);
    color: white;
}

.btn-outline-club {
    border-color: var(--club-primary, #0d9488);
    color: var(--club-primary, #0d9488);
}

.btn-outline-club:hover {
    background: var(--club-primary, #0d9488);
    border-color: var(--club-primary, #0d9488);
    color: white;
}

.text-club {
    color: var(--club-primary, #0d9488) !important;
}

.bg-club {
    background: var(--club-primary, #0d9488) !important;
}

.bg-club-gradient {
    background: linear-gradient(135deg, var(--club-primary, #0d9488), var(--club-secondary, #134e4a)) !important;
}

.border-club {
    border-color: var(--club-primary, #0d9488) !important;
}

.page-header-club {
    background: linear-gradient(135deg, var(--club-primary, #0d9488), var(--club-secondary, #134e4a));
    border-radius: 20px;
    padding: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.card-club-header {
    background: linear-gradient(135deg, var(--club-primary, #0d9488), var(--club-secondary, #134e4a));
    color: white;
}

.user-dropdown .dropdown-toggle {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.5rem 1rem !important;
}

.user-dropdown .dropdown-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.user-dropdown .dropdown-menu {
    width: 280px;
}

.user-info-header {
    background: linear-gradient(135deg, var(--club-primary, #0d9488), var(--club-secondary, #134e4a));
    color: white;
    padding: 1rem;
    margin: -0.5rem -0.5rem 0.5rem -0.5rem;
    border-radius: 8px 8px 0 0;
}

.dropdown-item.active {
    background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
    color: var(--club-primary, #0d9488) !important;
}

.dropdown-item.active:hover {
    background-color: var(--club-primary, #0d9488) !important;
    color: white !important;
}

[dir="rtl"] .dropdown-menu-end {
    --bs-position: end;
}

[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
[dir="rtl"] .ms-auto { margin-right: auto !important; margin-left: 0 !important; }
[dir="rtl"] .text-start { text-align: right !important; }
[dir="rtl"] .text-end { text-align: left !important; }

.role-name-text { font-size: 0.7rem; }
