/*------Email---------*/

.mail-chats {
    height: 100%;
    min-height: 0;
    border-top: 1px solid rgba(128, 128, 128, 0.16);
    margin-top: 10px;
    padding: 10px 50px 10px 0;
    width: 100%;
    list-style-type: none;
    flex-direction: column !important;
    display: flex !important;
}

.mail-chats li.chat-persons {
    padding: 10px;
    display: block;
}

li.chat-persons a {
    text-decoration: none;
}

.mail-chats li.chat-persons a span.pro-pic img {
    max-width: 100%;
    width: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    flex-direction: column !important;
}

.mail-chats li.chat-persons a span.pro-pic {
    display: inline-block;
    padding: 0;
    width: 20%;
    max-width: 40px;
    float: left;
    margin-right: 20px;
}

.mail-chats li.chat-persons a div.user {
    flex-direction: column !important;
}

ul.mail-chats li.chat-persons a div.user {
    display: flex !important;
}

.mail-chats li.chat-persons.user {
    width: 80%;
    padding: 5px 10px 0px 15px;
    flex-direction: column !important;
    display: flex !important;
}

.user p.u-name {
    margin: 5px;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    color: #888080;
}

.user p.u-designation {
    margin: 0;
    font-size: 11px;
    color: #c7bebe;
}

/* Player Action Dropdown */
.player-action-menu {
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* More distinct border */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 255, 255, 0.05);
    /* Soft glow */
    border-radius: 12px;
    padding: 6px;
    /* Reduced padding */
    min-width: 140px;
    /* Slightly smaller width */
    animation: dropdown-fade-in 0.2s ease-out;
    /* Faster, simpler animation */
    display: none;
    overflow: hidden;
    /* Fix overflow issues */
    margin-top: 0;
    /* Bootstrap adds margin, reset if needed */
}

/* Bootstrap adds 'show' class to display */
.dropdown-menu.show {
    display: block;
}

@keyframes dropdown-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.player-action-menu .dropdown-item {
    color: #a0aec0;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.player-action-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    /* transform: translateX(5px); Removed to prevent visual overflow */
    padding-left: 20px;
    /* Indent text instead of moving box */
}

.player-action-menu .dropdown-item.action-kick:hover,
.player-action-menu .dropdown-item.action-ban:hover {
    background: rgba(231, 74, 59, 0.1);
    color: #e74a3b;
}

.player-action-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    transition: transform 0.2s;
    margin-right: 10px;
}

.player-action-menu .dropdown-item:hover i {
    transform: scale(1.2);
}

.player-action-menu .dropdown-item.action-kick:hover i,
.player-action-menu .dropdown-item.action-ban:hover i {
    color: #e74a3b;
}

.table .dropdown button.btn-dark {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    transition: all 0.3s;
}

.table .dropdown button.btn-dark:hover,
.table .dropdown.show button.btn-dark {
    background: var(--premium-accent);
    border-color: var(--premium-accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(78, 115, 223, 0.3);
}

div.online-status .status.online {
    background: rgba(0, 128, 0, 0.68);
}

.online-status .status.offline {
    background: rgba(255, 0, 0, 0.7);
}

.online-status .status {
    height: 10px;
    width: 10px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    border-radius: 100%;
    display: inline-flex;
    justify-content: flex-start;
    transform: translateX(-60px) translateY(2px);
}

.online {
    margin-left: 20px;
    margin-top: -3px;
}

/* CHAT PAGE */
.br-chatpanel-left {
    background-color: #202e40;
    border-right-color: rgba(255, 255, 255, 0.1);
}

.br-chatpanel-left .nav .nav-link {
    color: #868ba1;
}

.br-img-user::after {
    box-shadow: 0 0 0 2px #202e40;
}

.br-active-contacts {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.br-chatlist .msg-count {
    box-shadow: 0 0 0 2px #202e40;
}

.br-chatlist .media {
    border-color: rgba(255, 255, 255, 0.05);
}

.br-chatlist .media.new {
    background-color: #26354a;
}

.br-chatlist .media.selected {
    background-color: #1a2432;
}

.br-chatlist .media.selected .br-img-user::after {
    box-shadow: 0 0 0 2px #1a2432;
}

.br-chatlist .media-contact-name span:first-child {
    color: #fff;
}

.br-chatlist .media-contact-name span:last-child {
    opacity: .75;
}

.br-chat-header {
    background-color: #202e40;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.br-chat-header .chat-name h6 {
    color: #fff;
}

.br-chat-header .nav-link {
    color: #868ba1;
}

.br-chat-header .nav-link:hover,
.br-chat-header .nav-link:focus {
    color: #fff;
}

.br-chat-body .br-img-user::after {
    box-shadow: 0 0 0 2px #1D2939;
}

.br-chat-footer {
    background-color: #202e40;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.br-chat-footer .nav-link {
    color: #868ba1;
}

.br-chat-footer .nav-link:hover,
.br-chat-footer .nav-link:focus {
    color: #fff;
}

.br-chat-footer .form-control {
    background-color: transparent;
    color: #fff;
}

.br-chat-footer .form-control:placeholder {
    color: #868ba1;
}

.tag-modal {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.tag-modal .modal-header {
    border-bottom: none;
    padding: 18px 20px 6px 20px;
}

.tag-option-wrap {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    /* alt satıra düşmesin */
}

.tag-option-wrap-2 {
    display: flex;
    flex-direction: column;
    /* 🔽 alt alta */
    gap: 12px;
    /* aralarına boşluk */
}

.tag-option {
    display: flex;
    width: 260px !important;
    /* yan yana sığsın */
    min-width: 260px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 18px 14px;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: .15s ease;
}

.tag-option-wrap-2 .tag-option {
    width: 100% !important;
}


.tag-option:hover {
    border-color: #6777ef;
    box-shadow: 0 6px 16px rgba(103, 119, 239, .18);
    transform: translateY(-1px);
}

.tag-option.active {
    border-color: #6777ef;
    box-shadow: 0 8px 18px rgba(103, 119, 239, .25);
}

.tag-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f3f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6777ef;
    font-size: 20px;
    flex: 0 0 44px;
}

.tag-option-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 15px;
}

.tag-option-sub {
    font-size: 12px;
    color: #9aa0a6;
    margin-top: 2px;
}

@media(min-width: 576px) {
    .modal-dialog-tag-option {
        max-width: 565px !important;
        margin: 1.75rem auto
    }
}

.admin-form-card {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 6px;
    padding: 14px 14px 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.admin-label {
    font-size: 12px;
    font-weight: 700;
    color: #2f3542;
    margin-bottom: 6px;
}

.admin-input,
.admin-select {
    height: 36px;
    font-size: 13px;
    border-radius: 4px;
    border-color: #e4e6ef;
    box-shadow: none;
}

.admin-input:focus,
.admin-select:focus {
    border-color: #6777ef;
    box-shadow: 0 0 0 .12rem rgba(103, 119, 239, .18);
}

.admin-footer {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    gap: 8px;
    border-top: none;
    padding-top: 6px;
}

.admin-save {
    min-width: 90px;
    font-weight: 600;
    border-radius: 4px;
}

.admin-trash {
    border-radius: 4px;
    width: 36px;
}


.admin-flags-box {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
}

.admin-flag-item {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    cursor: pointer;
}

.admin-flag-item input {
    margin-right: 6px;
}

/* --- VISUAL OVERHAUL (DEEP DARK PREMIUM) --- */
:root {
    --premium-bg: #1a1f2e;
    --premium-card-bg: #252a41;
    --premium-accent: #4e73df;
    --premium-success: #1cc88a;
    --premium-text: #e3e6f0;
    --premium-text-muted: #858796;
    --premium-border: rgba(255, 255, 255, 0.05);
    --premium-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.3);
}

body.theme-black.dark {
    background-color: var(--premium-bg) !important;
    color: var(--premium-text);
}

/* Sidebar Overhaul */
.theme-black.dark .main-sidebar,
.theme-black.dark .main-sidebar .sidebar-brand {
    background-color: var(--premium-bg) !important;
    box-shadow: none !important;
    border-right: 1px solid var(--premium-border);
}

.theme-black.dark .sidebar-brand a {
    color: var(--premium-text) !important;
}

.theme-black.dark .sidebar-menu li a {
    color: var(--premium-text-muted) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0 50px 50px 0;
    margin-right: 10px;
}

.theme-black.dark .sidebar-menu li a:hover {
    color: var(--premium-text) !important;
    background-color: rgba(255, 255, 255, 0.03);
}

/* Active State */
.theme-black.dark .sidebar-menu li.active a {
    color: var(--premium-accent) !important;
    background-color: rgba(78, 115, 223, 0.1);
    font-weight: 600;
    position: relative;
}

.theme-black.dark .sidebar-menu li.active a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 4px;
    background-color: var(--premium-accent);
    border-radius: 0 4px 4px 0;
}

.theme-black.dark .sidebar-menu li.active a i {
    color: var(--premium-accent) !important;
}

/* Sidebar Mini Fixes */
.theme-black.dark.sidebar-mini .main-sidebar .sidebar-menu {
    background-color: #1a1f2e !important;
}

.theme-black.dark.sidebar-mini .main-sidebar .sidebar-menu>li {
    padding: 10px !important;
}

.theme-black.dark.sidebar-mini .main-sidebar:after {
    background-color: #1a1f2e !important;
    box-shadow: none !important;
}

/* Header Overhaul */
.theme-black.dark .navbar {
    background-color: var(--premium-bg) !important;
    border-bottom: 1px solid var(--premium-border);
}


.theme-black.dark .navbar-nav .nav-link {
    color: var(--premium-text-muted) !important;
}

.theme-black.dark .navbar-nav .nav-link:hover {
    color: var(--premium-text) !important;
}

/* Cards & Components */
.theme-black.dark .card {
    background-color: var(--premium-card-bg);
    border: 1px solid var(--premium-border) !important;
    border-radius: 12px !important;
    box-shadow: var(--premium-shadow) !important;
}

.theme-black.dark .card .card-header,
.theme-black.dark .card .card-footer {
    background-color: transparent !important;
    border-bottom: 1px solid var(--premium-border) !important;
}

.theme-black.dark .section-title {
    color: var(--premium-text);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.theme-black.dark .section-title:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--premium-accent);
    margin-right: 10px;
    border-radius: 2px;
}

/* Premium Dashboard Cards */
.premium-stat-card {
    display: flex;
    align-items: center;
    padding: 24px;
    border-radius: 12px;
    background: var(--premium-card-bg);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--premium-border);
    position: relative;
    overflow: hidden;
}

.premium-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.premium-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    background: rgba(78, 115, 223, 0.1);
    color: var(--premium-accent);
}

.premium-stat-info h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--premium-text);
}

.premium-stat-info span {
    font-size: 13px;
    color: var(--premium-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Action Grid Tiles */
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.action-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .action-grid {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 992px) {
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .action-grid {
        grid-template-columns: 1fr;
    }
}

.action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #171a21;
    border: 1px solid var(--premium-border);
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-tile:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--premium-accent);
    transform: translateY(-3px);
}

.action-tile i {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--premium-text-muted);
    transition: color 0.3s ease;
}

.action-tile:hover i {
    color: var(--premium-text);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.action-tile span {
    color: var(--premium-text-muted);
    font-weight: 500;
    text-align: center;
    transition: color 0.3s ease;
}

.action-tile:hover span {
    color: var(--premium-text);
}

.action-tile.danger-zone:hover {
    border-color: #e74a3b;
}

.action-tile.danger-zone:hover i,
.action-tile.danger-zone:hover span {
    color: #e74a3b;
    text-shadow: 0 0 10px rgba(231, 74, 59, 0.3);
}

/* Table Overrides */
.theme-black.dark .table {
    color: var(--premium-text);
}

.theme-black.dark .table thead th {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border-bottom: 2px solid var(--premium-border);
    color: var(--premium-text) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.theme-black.dark .table td {
    border-top: 1px solid var(--premium-border);
    vertical-align: middle;
}

.theme-black.dark .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Animations */
@keyframes pulse-ring-premium {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(28, 200, 138, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(28, 200, 138, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(28, 200, 138, 0);
    }
}

.pulse-premium {
    animation: pulse-ring-premium 2s infinite;
    border-radius: 50%;
}

/* Copy Tooltip */
.copy-tooltip {
    position: relative;
    cursor: pointer;
}

.copy-tooltip:after {
    content: 'Copied!';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--premium-accent);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.copy-tooltip.copied:after {
    opacity: 1;
}

/* Footer Overhaul */
.theme-black.dark .main-footer {
    background-color: var(--premium-bg);
    border-top: 1px solid var(--premium-border) !important;
    color: var(--premium-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.theme-black.dark .main-footer a {
    color: var(--premium-text);
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.3s;
}

.theme-black.dark .main-footer a:hover {
    color: var(--premium-accent);
}

.theme-black.dark .main-footer .bullet {
    background-color: var(--premium-accent);
    display: inline-block;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Premium Widgets V2 */
.premium-widget {
    background: #171a21;
    /* Slightly lighter than bg */
    border-radius: 15px;
    padding: 25px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.premium-widget.row-widget {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.widget-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    animation: pulse-icon-box 3s infinite ease-in-out;
}

@keyframes pulse-icon-box {
    0% {
        transform: scale(1);
        filter: brightness(1);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    }
}

.premium-widget:hover .widget-icon-box {
    transform: scale(1.05);
}

.widget-icon-box.green {
    background: rgba(28, 200, 138, 0.1);
    color: #1cc88a;
    border: 1px solid rgba(28, 200, 138, 0.2);
    box-shadow: 0 0 20px rgba(28, 200, 138, 0.15);
}

.widget-icon-box.purple {
    background: rgba(165, 103, 250, 0.1);
    color: #a567fa;
    border: 1px solid rgba(165, 103, 250, 0.2);
    box-shadow: 0 0 20px rgba(165, 103, 250, 0.15);
}

.widget-icon-box.orange {
    background: rgba(255, 178, 43, 0.1);
    color: #ffb22b;
    border: 1px solid rgba(255, 178, 43, 0.2);
    box-shadow: 0 0 20px rgba(255, 178, 43, 0.15);
}

.widget-icon-box.red {
    background: rgba(252, 84, 75, 0.1);
    color: #fc544b;
    border: 1px solid rgba(252, 84, 75, 0.2);
    box-shadow: 0 0 20px rgba(252, 84, 75, 0.15);
}

.widget-icon-box.blue {
    background: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    border: 1px solid rgba(78, 115, 223, 0.2);
    box-shadow: 0 0 20px rgba(78, 115, 223, 0.15);
}

.widget-icon-box.dark {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-content {
    flex-grow: 1;
}

.widget-title {
    font-size: 13px;
    color: #858796;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}

.widget-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    display: block;
}

.widget-sub {
    font-size: 11px;
    color: var(--premium-accent);
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    background: rgba(28, 200, 138, 0.1);
    color: #1cc88a;
    border: 1px solid rgba(28, 200, 138, 0.3);
    box-shadow: 0 0 10px rgba(28, 200, 138, 0.2);
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px currentColor;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 200, 138, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(28, 200, 138, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(28, 200, 138, 0);
    }
}

/* Map Card Specific */
.map-widget-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #171a21 0%, rgba(23, 26, 33, 0.7) 100%);
    z-index: 1;
}

.map-widget-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.map-badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Action Tile Specific Hovers */
.action-tile {
    transition: all 0.3s ease;
}

/* Green Hover: Start, Log */
.action-tile.action-start:hover,
.action-tile.action-log:hover {
    background-color: rgba(28, 200, 138, 0.1) !important;
    border-color: #1cc88a !important;
    color: #1cc88a !important;
    box-shadow: 0 0 15px rgba(28, 200, 138, 0.2);
}

.action-tile.action-start:hover i,
.action-tile.action-log:hover i {
    color: #1cc88a !important;
}

/* Red Hover: IP Ban, ID Ban, Reset */
.action-tile.action-ipban:hover,
.action-tile.action-idban:hover,
.action-tile.action-reset:hover {
    background-color: rgba(231, 74, 59, 0.1) !important;
    border-color: #e74a3b !important;
    color: #e74a3b !important;
    box-shadow: 0 0 15px rgba(231, 74, 59, 0.2);
}

.action-tile.action-ipban:hover i,
.action-tile.action-idban:hover i,
.action-tile.action-reset:hover i {
    color: #e74a3b !important;
}

/* Orange Hover: Refresh Permissions */
.action-tile.action-refresh:hover {
    background-color: rgba(253, 126, 20, 0.1) !important;
    border-color: #fd7e14 !important;
    color: #fd7e14 !important;
    box-shadow: 0 0 15px rgba(253, 126, 20, 0.2);
}

.action-tile.action-refresh:hover i {
    color: #fd7e14 !important;
}

/* Blue Hover: Top15, Toptime */
.action-tile.action-top15:hover,
.action-tile.action-toptime:hover {
    background-color: rgba(78, 115, 223, 0.1) !important;
    border-color: #4e73df !important;
    color: #4e73df !important;
    box-shadow: 0 0 15px rgba(78, 115, 223, 0.2);
}

.action-tile.action-top15:hover i,
.action-tile.action-toptime:hover i {
    color: #4e73df !important;
}

.nav-item.position-relative {
    position: relative;
}

.announce-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e74a3b;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 700;
}

/* --- MODERN ANNOUNCEMENT MODAL START --- */
.modern-announcement-modal .modal-dialog {
    margin-top: 100px;
}

.modern-announcement-modal .modal-content {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modern-announcement-modal .modal-header {
    background: linear-gradient(90deg, rgba(78, 115, 223, 0.1) 0%, rgba(28, 200, 138, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    display: flex;
    align-items: center;
}

.modern-announcement-modal .modal-title {
    color: #e3e6f0;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.modern-announcement-modal .modal-title i {
    color: #4e73df;
    font-size: 1.4rem;
    margin-right: 12px;
    text-shadow: 0 0 15px rgba(78, 115, 223, 0.5);
}

.modern-announcement-modal .close {
    color: #858796;
    text-shadow: none;
    opacity: 0.7;
    transition: all 0.3s;
    outline: none;
}

.modern-announcement-modal .close:hover {
    color: #fff;
    opacity: 1;
    transform: rotate(90deg);
}

.modern-announcement-modal .modal-body {
    color: #d1d3e2;
    padding: 30px 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.modern-announcement-modal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.2);
}

.btn-modern-close {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
    border: none;
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(28, 200, 138, 0.4);
    transition: all 0.3s ease;
}

.btn-modern-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 200, 138, 0.6);
    color: #fff;
}

.btn-modern-close:active {
    transform: translateY(0);
}

/* --- MODERN ANNOUNCEMENT MODAL END --- */

/* --- RENTAL PAGE PREMIUM STYLES --- */

/* Balance Card */
.rental-balance-card {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(28, 200, 138, 0.4);
    position: relative;
    overflow: hidden;
    color: #fff;
    transition: transform 0.3s ease;
}

.rental-balance-card:hover {
    transform: translateY(-5px);
}

.rental-balance-card .balance-icon {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    right: -10px;
    bottom: -10px;
    transform: rotate(-20deg);
}

.rental-balance-card .balance-info {
    z-index: 2;
}

.rental-balance-card .balance-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.rental-balance-card .balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.rental-balance-card .balance-amount small {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.8;
}

.rental-balance-card .balance-actions {
    z-index: 2;
}

.btn-balance-add {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.btn-balance-add:hover {
    background: #fff;
    color: #1cc88a;
}

/* Info Alert */
.alert-modern-info {
    background: rgba(78, 115, 223, 0.1);
    border-left: 4px solid #4e73df;
    color: #e3e6f0;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
}

.alert-modern-info .alert-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    color: #4e73df;
}

.alert-modern-info .alert-content {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Rental Form Card */
.rental-form-card {
    background: #252a41;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.rental-form-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
}

.rental-form-card .card-header h4 {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

/* Premium Inputs */
.premium-label {
    color: #858796;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.input-group-premium {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.input-group-premium:focus-within {
    border-color: #4e73df;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
}

.input-group-premium .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4e73df;
    font-size: 1.1rem;
    pointer-events: none;
}

.premium-select,
.premium-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    height: 50px !important;
    padding-left: 45px !important;
    box-shadow: none !important;
}

.premium-select option {
    background: #1a1f2e;
    color: #fff;
}

/* Slider Box */
.rental-slider-box {
    background: rgba(0, 0, 0, 0.15);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.slider-title {
    color: #e3e6f0;
    font-weight: 700;
    font-size: 1rem;
}

.slider-value-badge {
    background: #4e73df;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Summary Card */
.rental-summary-card {
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.summary-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.summary-header h4 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.summary-item .label {
    color: #858796;
    font-size: 0.9rem;
}

.summary-item .value {
    color: #fff;
    font-weight: 600;
}

.summary-total {
    text-align: center;
    background: rgba(28, 200, 138, 0.1);
    border: 1px solid rgba(28, 200, 138, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.summary-total .label {
    display: block;
    color: #1cc88a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.summary-total .amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.btn-premium-rent {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 15px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(78, 115, 223, 0.4);
    transition: all 0.3s ease;
}

.btn-premium-rent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 115, 223, 0.6);
    color: #fff;
}

.summary-secure {
    color: #1cc88a;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PREMIUM RANGE SLIDER STYLES (Overrides irs--flat) --- */

/* Slider Container */
.irs--flat {
    height: 60px;
}

/* The Line (Track) */
.irs--flat .irs-line {
    top: 25px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* The Bar (Filled part) */
.irs--flat .irs-bar {
    top: 25px;
    height: 10px;
    background: linear-gradient(90deg, #4e73df 0%, #1cc88a 100%);
    box-shadow: 0 0 10px rgba(28, 200, 138, 0.5);
    border-radius: 50px 0 0 50px;
    /* Smooth start */
}

/* The Handle (Dragger) */
.irs--flat .irs-handle {
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(28, 200, 138, 0.3), 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Remove default internal bar in handle */
.irs--flat .irs-handle>i:first-child {
    display: none;
}

.irs--flat .irs-handle:hover,
.irs--flat .irs-handle.state_hover {
    transform: scale(1.1);
    background-color: #fff;
    box-shadow: 0 0 0 6px rgba(28, 200, 138, 0.4), 0 6px 15px rgba(0, 0, 0, 0.4);
}

.irs--flat .irs-handle:active {
    cursor: grabbing;
    transform: scale(0.95);
}

/* Min/Max Labels */
.irs--flat .irs-min,
.irs--flat .irs-max {
    background-color: rgba(0, 0, 0, 0.3);
    color: #858796;
    font-size: 10px;
    border-radius: 4px;
    padding: 2px 6px;
    top: 55px;
    /* Move below line */
    visibility: visible !important;
}

/* Current Value Tooltip (Single) and Range (From/To) */
.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    background: #4e73df;
    border-radius: 6px;
    top: -5px;
    /* Move above */
    box-shadow: 0 4px 10px rgba(78, 115, 223, 0.4);
}

/* Tooltip Arrow */
.irs--flat .irs-from:before,
.irs--flat .irs-to:before,
.irs--flat .irs-single:before {
    border-top-color: #4e73df;
    bottom: -6px;
}

/* Grid (if enabled) */
.irs--flat .irs-grid-pol {
    background-color: rgba(255, 255, 255, 0.1);
}

.irs--flat .irs-grid-text {
    color: rgba(255, 255, 255, 0.4);
}

/* --- PREMIUM RANGE SLIDER END --- */

/* --- PREMIUM TICKET PAGE STYLES --- */

.ticket-container {
    perspective: 1000px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-ticket-new {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
    transition: all 0.3s ease;
}

.btn-ticket-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.6);
}

.ticket-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ticket-card:hover {
    transform: translateY(-3px) scale(1.005);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.95);
}

.ticket-status-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #718096;
    /* Default gray */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

/* Status Colors (Corrected IDs) */
/* 0: Yanıt Bekliyor - Info/Blue */
/* 0: Yanıt Bekliyor - Blue */
.ticket-status-line.status-0 {
    background: #4299e1;
    box-shadow: 0 0 10px rgba(66, 153, 225, 0.5);
}

/* 1: Kapatıldı - Red */
.ticket-status-line.status-1 {
    background: #e53e3e;
    box-shadow: 0 0 10px rgba(229, 62, 62, 0.5);
}

/* 2: Cevaplandı - Teal/Green */
.ticket-status-line.status-2 {
    background: #38b2ac;
    box-shadow: 0 0 10px rgba(56, 178, 172, 0.5);
}

/* 3: Yönetici Cevapladı - Green */
.ticket-status-line.status-3 {
    background: #48bb78;
    box-shadow: 0 0 10px rgba(72, 187, 120, 0.5);
}

/* 4: Müşteri Cevapladı - Purple */
.ticket-status-line.status-4 {
    background: #9f7aea;
    box-shadow: 0 0 10px rgba(159, 122, 234, 0.5);
}

/* 5: İşlem Devam Ediyor - Orange */
.ticket-status-line.status-5 {
    background: #ed8936;
    box-shadow: 0 0 10px rgba(237, 137, 54, 0.5);
}

/* BADGES - MATCHING COLORS */

/* 0: Yanıt Bekliyor - Blue */
.badge-ticket-status.status-bg-0 {
    background: rgba(66, 153, 225, 0.15);
    color: #63b3ed;
    border: 1px solid rgba(66, 153, 225, 0.3);
}

/* 1: Kapatıldı - Red */
.badge-ticket-status.status-bg-1 {
    background: rgba(229, 62, 62, 0.15);
    color: #fc8181;
    border: 1px solid rgba(229, 62, 62, 0.3);
}

/* 2: Cevaplandı - Teal */
.badge-ticket-status.status-bg-2 {
    background: rgba(56, 178, 172, 0.15);
    color: #4fd1c5;
    border: 1px solid rgba(56, 178, 172, 0.3);
}

/* 3: Yönetici Cevapladı - Green */
.badge-ticket-status.status-bg-3 {
    background: rgba(72, 187, 120, 0.15);
    color: #68d391;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

/* 4: Müşteri Cevapladı - Purple */
.badge-ticket-status.status-bg-4 {
    background: rgba(159, 122, 234, 0.15);
    color: #b794f4;
    border: 1px solid rgba(159, 122, 234, 0.3);
}

/* 5: İşlem Devam Ediyor - Orange */
.badge-ticket-status.status-bg-5 {
    background: rgba(237, 137, 54, 0.15);
    color: #f6ad55;
    border: 1px solid rgba(237, 137, 54, 0.3);
}

.ticket-body {
    padding: 20px 25px;
    padding-left: 35px;
    /* Space for status line */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ticket-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.ticket-card:hover .ticket-icon-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: rotate(15deg);
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
}

.ticket-content {
    flex: 1;
    min-width: 250px;
    margin-right: 20px;
}

.ticket-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.3px;
}

.ticket-meta-row {
    font-size: 0.85rem;
    color: #a0aec0;
    display: flex;
    gap: 15px;
}

.meta-badge {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.meta-badge i {
    opacity: 0.7;
    margin-right: 6px;
}

/* Ticket Meta & Badges */
.ticket-status-badges {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Increased gap */
    margin-right: 40px;
}

.badge-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align text and badge */
    min-width: 100px;
    /* Fixed width to prevent shifting */
}

.label-text {
    font-size: 0.65rem;
    color: #a0aec0;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.8;
}

.badge-ticket-status,
.badge-ticket-priority {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    /* Softer corners */
    width: auto;
    /* Adapted width */
    min-width: 80px;
    /* Optional min-width for consistency */
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid transparent;
    /* Ensure border box model consistency */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle depth */
}

.badge-ticket-priority {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e0;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Priority Colors (Refined) */
/* Unknown */
.priority-bg-0 {
    border-color: rgba(160, 174, 192, 0.3);
    color: #a0aec0;
    background: rgba(160, 174, 192, 0.1);
}

/* Low */
.priority-bg-1 {
    border-color: rgba(72, 187, 120, 0.3);
    color: #68d391;
    background: rgba(72, 187, 120, 0.1);
}

/* Medium */
.priority-bg-2 {
    border-color: rgba(66, 153, 225, 0.3);
    color: #63b3ed;
    background: rgba(66, 153, 225, 0.1);
}

/* High */
.priority-bg-3 {
    border-color: rgba(252, 129, 129, 0.3);
    color: #fc8181;
    background: rgba(252, 129, 129, 0.1);
    box-shadow: 0 0 8px rgba(252, 129, 129, 0.2);
}

/* Status Badge Colors (Refined) */
/* Yanıt Bekliyor - Info/Blueish */
.status-bg-0 {
    background: rgba(66, 153, 225, 0.15);
    color: #63b3ed;
    border-color: rgba(66, 153, 225, 0.3);
}

/* Kapatıldı - Red/Gray */
.status-bg-1 {
    background: rgba(113, 128, 150, 0.15);
    color: #a0aec0;
    border-color: rgba(113, 128, 150, 0.3);
}

/* Cevaplandı - Green */
.status-bg-2 {
    background: rgba(72, 187, 120, 0.15);
    color: #68d391;
    border-color: rgba(72, 187, 120, 0.3);
}

/* Yönetici Cevapladı - Green/Teal */
.status-bg-3 {
    background: rgba(56, 178, 172, 0.15);
    color: #4fd1c5;
    border-color: rgba(56, 178, 172, 0.3);
}

/* Müşteri Cevapladı - Primary/Purple */
.status-bg-4 {
    background: rgba(102, 126, 234, 0.15);
    color: #7f9cf5;
    border-color: rgba(102, 126, 234, 0.3);
}

/* İşlem Devam Ediyor - Secondary/Gray */
.status-bg-5 {
    background: rgba(237, 137, 54, 0.15);
    color: #f6ad55;
    border-color: rgba(237, 137, 54, 0.3);
}


.ticket-action {
    margin-left: auto;
}

.btn-ticket-read {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-ticket-read:hover {
    background: white;
    color: #1a202c;
    border-color: white;
    transform: translateX(3px);
}

.btn-ticket-read i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.btn-ticket-read:hover i {
    transform: translateX(3px);
}

/* --- TICKET EMPTY STATE --- */
.empty-state-card {
    background: rgba(30, 41, 59, 0.4);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
    margin-top: 20px;
}

.empty-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: #a0aec0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.empty-title {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-desc {
    color: #718096;
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ticket-body {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    .ticket-status-line {
        width: 100%;
        height: 3px;
        bottom: auto;
    }

    .ticket-icon-circle,
    .ticket-status-badges {
        margin-bottom: 15px;
    }

    .ticket-action {
        width: 100%;
        margin-top: 15px;
    }

    .btn-ticket-read {
        width: 100%;
        justify-content: center;
    }

    .ticket-status-badges {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
    }

    .badge-group {
        align-items: flex-start;
    }
}

/* --- MODERN CHAT INTERFACE --- */

/* Sidebar Info Card */
.ticket-info-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.info-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.info-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #718096;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-value {
    color: #e2e8f0;
    font-size: 0.95rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
}

/* Chat Container */
.chat-container {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
}

/* Chat History Area */
.chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    background: transparent;
    max-height: 600px;
}

/* Messages */
.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    animation: fadeIn 0.4s ease;
}

.chat-message.message-admin {
    justify-content: flex-start;
}

.chat-message.message-user {
    justify-content: flex-end;
}

.chat-message .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-message .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-admin .avatar {
    margin-right: 15px;
}

.message-user .avatar {
    margin-left: 15px;
    order: 2;
    /* Move avatar to right */
}

.message-content {
    max-width: 80%;
    position: relative;
}

.message-user .message-content {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    order: 1;
    /* Move content to left of avatar */
}

.message-text {
    padding: 15px 20px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message-admin .message-text {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border-top-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.message-user .message-text {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    border-top-right-radius: 4px;
    text-align: right;
    /* Text aligns right inside bubble if preferred, or left */
    text-align: left;
    /* Keep text readable */
}

.message-header {
    margin-bottom: 6px;
    font-size: 0.75rem;
    color: #a0aec0;
    display: flex;
    align-items: center;
}

.message-user .message-header {
    justify-content: flex-end;
}

.sender-name {
    font-weight: 700;
    margin-right: 10px;
}

.message-user .sender-name {
    margin-right: 0;
    margin-left: 10px;
    order: 2;
}

/* Chat Footer / Reply */
.chat-footer {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px;
    resize: none;
    transition: all 0.3s ease;
}

.premium-textarea:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #667eea !important;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
}

.btn-premium-send {
    background: linear-gradient(90deg, #48bb78 0%, #38b2ac 100%);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(56, 178, 172, 0.3);
}

.btn-premium-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(56, 178, 172, 0.4);
}

.custom-checkbox .custom-control-label {
    color: #a0aec0;
    font-weight: 500;
    cursor: pointer;
}

.chat-closed-state {
    text-align: center;
    padding: 20px;
    color: #718096;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .chat-container {
        min-height: auto;
    }

    .message-content {
        max-width: 90%;
    }
}

/* --- CUSTOM CONFIRMATION MODAL --- */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.custom-modal-box {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    animation: slideUp 0.3s ease forwards;
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.modal-icon.warning {
    background: rgba(237, 137, 54, 0.2);
    color: #ed8936;
    border: 2px solid rgba(237, 137, 54, 0.3);
}

.modal-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-desc {
    color: #a0aec0;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-modal-cancel,
.btn-modal-confirm {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.9rem;
}

.btn-modal-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e0;
}

.btn-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.btn-modal-confirm {
    background: #e53e3e;
    color: #fff;
    box-shadow: 0 4px 10px rgba(229, 62, 62, 0.3);
}

.btn-modal-confirm:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(229, 62, 62, 0.4);
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- TICKET SEND FORM (MODERN) --- */

.ticket-form-card {
    background: #1a202c;
    /* Fallback */
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ticket-form-card .card-header h4 {
    letter-spacing: 0.5px;
}

.header-icon-lg {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

.user-info-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
}

.user-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-label-premium {
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a5568;
    pointer-events: none;
    transition: color 0.3s ease;
}

.icon-textarea {
    top: 20px;
    transform: none;
}

.premium-input,
.premium-select {
    background: rgba(20, 25, 35, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding-left: 15px !important;
    padding-right: 40px !important;
    /* Space for icon */
    height: 50px !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem;
}

.input-icon-left {
    right: auto !important;
    left: 15px !important;
}

.input-with-icon-left {
    padding-left: 45px !important;
    padding-right: 15px !important;
}

textarea.premium-input {
    height: auto !important;
    padding-top: 15px !important;
}

.premium-input:focus,
.premium-select:focus {
    background: rgba(25, 30, 45, 0.8) !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

/* Change icon color on focus */
.premium-input:focus+.input-icon,
.premium-select:focus+.input-icon {
    color: #667eea;
}

/* Animations */
/* --- FIXES --- */

/* Fix Invisible Page - Ensure animation completes and stays visible */
.animate-fade-in {
    animation: fadeIn 0.5s ease forwards !important;
    opacity: 0;
    /* Ensures it starts invisible then fades in */
}

/* Fix Logo Alignment */
.main-sidebar .sidebar-brand {
    padding-top: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Center horizontally */
    height: auto !important;
}

.main-sidebar .sidebar-brand a .logo-name {
    margin-top: 5px;
    /* Fine tune */
}

/* --- BALANCE LOAD PAGE STYLES --- */

.balance-hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.balance-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #48bb78;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.balance-glow {
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(72, 187, 120, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.font-size-lg {
    font-size: 1.25rem !important;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.opacity-50 {
    opacity: 0.5;
}

.grayscale-hover {
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.payment-frame-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Info & Alert Styles */
.alert-custom-dark {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.alert-custom-dark:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.font-size-sm {
    font-size: 0.875rem !important;
}

.font-size-xs {
    font-size: 0.75rem !important;
}

.font-size-md {
    font-size: 1.5rem !important;
}

/* --- PAYMENTS LIST PAGE STYLES --- */

.custom-tab-premium {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 12px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-tab-premium .nav-item {
    margin-right: 5px;
}

.custom-tab-premium .nav-item:last-child {
    margin-right: 0;
}

.custom-tab-premium .nav-link {
    color: #a0aec0;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.custom-tab-premium .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.custom-tab-premium .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
}

.table-premium {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-premium thead th {
    border: none;
    text-transform: uppercase;
    color: #718096;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 15px 20px;
    letter-spacing: 0.5px;
}

.table-premium tbody tr {
    background: rgba(30, 41, 59, 0.4);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.table-premium tbody tr:hover {
    transform: translateY(-2px);
    background: rgba(45, 55, 72, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-premium td {
    border: none;
    padding: 15px 20px;
    vertical-align: middle;
    color: #cbd5e0;
    font-size: 0.9rem;
}

.table-premium tbody tr td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.table-premium tbody tr td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.text-SUCCESS {
    color: #48bb78 !important;
}

code.text-warning {
    color: #f6ad55 !important;
    background: rgba(237, 137, 54, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Payment Status Overrides */
#odemelist .status-bg-1,
#satinlist .status-bg-1 {
    background: rgba(72, 187, 120, 0.15);
    color: #68d391;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

#odemelist .status-bg-2,
#satinlist .status-bg-2 {
    background: rgba(252, 129, 129, 0.15);
    color: #fc8181;
    border: 1px solid rgba(252, 129, 129, 0.3);
}

/* --- PROFILE PAGE STYLES --- */

.profile-hero-card {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 3s infinite;
}

.profile-stats-row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    height: 40px;
}

/* Info Grid Layout */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.info-group {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.info-group:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.info-group.full-width {
    grid-column: 1 / -1;
}

.info-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #718096;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-group .value {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
}

.border-left-primary {
    border-left: 3px solid #667eea;
}

/* Permission Items */
.permission-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #cbd5e0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.permission-item.active {
    background: rgba(72, 187, 120, 0.1);
    border-color: rgba(72, 187, 120, 0.2);
    color: #fff;
}

.permission-item.inactive {
    background: rgba(252, 129, 129, 0.05);
    border-color: rgba(252, 129, 129, 0.1);
    opacity: 0.7;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.7;
    }
}

/* --- SUB-USERS PAGE STYLES --- */

/* Premium Checkbox */
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #48bb78;
    border-color: #48bb78;
    box-shadow: 0 0 10px rgba(72, 187, 120, 0.3);
}

.custom-checkbox .custom-control-label::before {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-checkbox .custom-control-label {
    padding-left: 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.custom-checkbox:hover .custom-control-label {
    color: #fff !important;
}

/* Logs Container */
.log-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.log-item {
    font-family: 'Courier New', monospace;
}

.log-item:last-child {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Premium Select */
.premium-select {
    height: 50px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #e2e8f0 !important;
    border-radius: 12px !important;
    padding-left: 45px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.premium-select:focus {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* Premium Icon Buttons */
.btn-premium-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-premium-icon:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.btn-premium-icon:active {
    transform: translateY(-1px);
}

.btn-gradient-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-gradient-blue:hover {
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.btn-gradient-red {
    background: linear-gradient(135deg, #ff5858 0%, #f09819 100%);
    box-shadow: 0 4px 15px rgba(255, 88, 88, 0.4);
}

.btn-gradient-red:hover {
    box-shadow: 0 6px 20px rgba(255, 88, 88, 0.6);
}

/* --- ANNOUNCEMENTS PAGE STYLES --- */

.announcement-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Gradient Stroke Effect on Left */
.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #7f9cf5, #667eea);
    opacity: 0.8;
}

.announcement-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.1);
}

.announcement-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e0 !important;
}

.announcement-content p {
    margin-bottom: 1rem;
}

.announcement-content p:last-child {
    margin-bottom: 0;
}

/* --- HEADER ANNOUNCEMENT MODAL STYLES --- */

#duyuruModal .modal-content {
    background-color: #1a202c;
    /* Dark background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

#duyuruModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    padding: 20px 25px;
}

#duyuruModal .modal-title {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#duyuruModal .close {
    color: #fff;
    text-shadow: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#duyuruModal .close:hover {
    opacity: 1;
}

#duyuruModal .modal-body {
    background: #1a202c;
    /* Consistent dark bg */
    padding: 20px;
}

#duyuruModal .card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: none;
    transition: all 0.3s ease;
}

#duyuruModal .card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

#duyuruModal .card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
}

#duyuruModal .card-header button {
    color: #e2e8f0;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

#duyuruModal .card-header button:hover,
#duyuruModal .card-header button:focus {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

#duyuruModal .collapse.show .card-body {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

#duyuruModal .card-body {
    color: #cbd5e0;
    font-size: 0.95rem;
    padding: 20px;
}

#duyuruModal .alert-light {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

/* --- NOTIFICATION ICON STYLES (Modern Beep) --- */

.beep {
    position: relative;
    color: #fff !important;
}

.beep i {
    animation: swing 2s ease-in-out infinite;
    transform-origin: top center;
}

.beep::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background-color: #fc544b;
    border-radius: 50%;
    border: 2px solid #1a202c;
    /* Matches header bg for cutout effect */
    animation: pulse-notification 1.5s infinite;
    box-shadow: 0 0 10px rgba(252, 84, 75, 0.5);
}

@keyframes pulse-notification {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(252, 84, 75, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(252, 84, 75, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(252, 84, 75, 0);
    }
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(5deg);
    }

    70% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* --- TICKET READ BUTTON (PREMIUM) --- */

.btn-read-premium {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    border: none;
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

.btn-read-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.5);
    color: white;
}

.btn-read-premium:active {
    transform: translateY(0);
}

.btn-read-premium span {
    margin-right: 8px;
}

.btn-read-premium i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.btn-read-premium:hover i {
    transform: translateX(4px);
}