/* ===== ADMIN PANEL STYLES ===== */

.admin-page {
    background: #050510;
    min-height: 100vh;
}

.admin-page .header {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
}

.admin-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a0a1a;
}

/* ===== LAYOUT ===== */
.admin-container {
    display: flex;
    min-height: calc(100vh - 80px);
    padding-top: 80px;
    background: #050510;
}

/* ===== SIDEBAR ===== */
.admin-sidebar {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, #0a0a1a 0%, #0d0d20 100%);
    border-right: 1px solid rgba(79, 172, 254, 0.1);
    padding: 30px 0;
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.sidebar-header i {
    font-size: 1.3rem;
    color: #4facfe;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 15px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    color: #a0aec0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-link:hover {
    background: rgba(79, 172, 254, 0.1);
    color: #ffffff;
}

.sidebar-link.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #0a0a1a;
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* ===== MAIN CONTENT ===== */
.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px 40px;
    background: #050510;
    min-height: calc(100vh - 80px);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.section-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.section-header-admin h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.section-header-admin p {
    color: #64748b;
}

/* ===== BONUS LIST ===== */
.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #64748b;
    background: #0a0a1a;
    border-radius: 20px;
}

.loading-state i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #4facfe;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #0a0a1a;
    border-radius: 20px;
    border: 2px dashed rgba(79, 172, 254, 0.2);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #64748b;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 20px;
}

/* ===== BONUS ITEM ===== */
.bonus-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border-radius: 20px;
    border: 1px solid rgba(79, 172, 254, 0.1);
    transition: all 0.3s ease;
}

.bonus-item:hover {
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.1);
}

.bonus-item-logo {
    width: 80px;
    height: 50px;
    min-width: 80px;
    background: #050510;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bonus-item-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bonus-item-logo i {
    font-size: 1.5rem;
    color: #64748b;
}

.bonus-item-info {
    flex: 1;
}

.bonus-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.bonus-item-name .badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 30px;
    font-weight: 600;
}

.badge.hot {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
}

.badge.exclusive {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #0a0a1a;
}

.badge.new {
    background: linear-gradient(135deg, #00c853, #00e676);
    color: white;
}

.badge.bonus {
    background: linear-gradient(135deg, #7c4dff, #536dfe);
    color: white;
}

.badge.featured {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.bonus-item-amount {
    color: #4facfe;
    font-weight: 500;
    margin-bottom: 4px;
}

.bonus-item-code {
    font-size: 0.85rem;
    color: #64748b;
}

.bonus-item-code strong {
    color: #a0aec0;
    background: #050510;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 5px;
}

.bonus-item-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #050510;
    color: #a0aec0;
}

.btn-icon:hover {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
}

.btn-icon.delete:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border-radius: 20px;
    border: 1px solid rgba(79, 172, 254, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 12px;
    font-size: 1.5rem;
    color: #0a0a1a;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-small {
    max-width: 400px;
}

.modal-medium {
    max-width: 550px;
}

/* Item Form Styles */
.item-form-content {
    padding: 30px;
}

.item-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.item-form-grid .form-group:first-child {
    grid-column: 1 / -1;
}

.item-image-group {
    margin-bottom: 25px;
}

.item-image-upload {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(79, 172, 254, 0.05);
    border: 1px dashed rgba(79, 172, 254, 0.2);
    border-radius: 12px;
}

.item-image-preview {
    width: 120px;
    height: 120px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 2px solid rgba(79, 172, 254, 0.1);
    overflow: hidden;
}

.item-image-preview i {
    font-size: 2rem;
    color: #64748b;
}

.item-image-preview span {
    font-size: 0.75rem;
    color: #64748b;
}

.item-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-image-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.item-image-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.item-form-content .form-actions {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

/* Item Type Toggle */
.item-type-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.item-type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(79, 172, 254, 0.1);
    border: 2px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    color: #a0aec0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-type-btn:hover {
    background: rgba(79, 172, 254, 0.15);
    border-color: rgba(79, 172, 254, 0.4);
}

.item-type-btn.active {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    border-color: #4facfe;
    color: #4facfe;
}

.item-type-btn i {
    font-size: 1.1rem;
}

/* Coins Preview */
.coins-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    margin-top: 20px;
}

.coins-preview i {
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.coins-preview span {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

.modal-header h2 {
    font-size: 1.3rem;
    color: #ffffff;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.modal-body {
    padding: 25px 30px;
}

.modal-body p {
    margin-bottom: 10px;
    color: #a0aec0;
}

.text-muted {
    color: #64748b;
    font-size: 0.9rem;
}

/* ===== FORM STYLES ===== */
#bonus-form {
    padding: 25px 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #050510;
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-group select option {
    background: #0a0a1a;
    color: #ffffff;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #a0aec0;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: #4facfe;
}

/* ===== BANNER UPLOAD ===== */
.banner-upload-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-preview {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 16/10;
    background: #050510;
    border: 2px dashed rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    overflow: hidden;
}

.banner-preview.has-image {
    border-style: solid;
    border-color: rgba(79, 172, 254, 0.5);
}

.banner-preview i {
    font-size: 2rem;
}

.banner-preview span {
    font-size: 0.85rem;
}

.banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-upload-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.banner-upload-container small {
    color: #64748b;
    font-size: 0.8rem;
}

.feature-input {
    display: flex;
    gap: 10px;
}

.feature-input input {
    flex: 1;
}

.feature-input .btn-icon {
    width: 44px;
    min-width: 44px;
}

.remove-feature:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

/* ===== FORM ACTIONS ===== */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
    margin-top: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-secondary {
    background: #0a0a1a;
    color: #a0aec0;
    border: 1px solid rgba(79, 172, 254, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(79, 172, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.4);
    color: #ffffff;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: auto;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    filter: brightness(1.1);
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.3);
}

/* ===== ACCESS DENIED ===== */
.access-denied {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050510;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.access-denied-content {
    text-align: center;
    padding: 40px;
}

.access-denied-content i {
    font-size: 4rem;
    color: #ff4444;
    margin-bottom: 25px;
}

.access-denied-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.access-denied-content p {
    color: #64748b;
    margin-bottom: 30px;
}

/* ===== TOAST ===== */
.admin-page .toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    color: #ffffff;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
}

.admin-page .toast.show {
    transform: translateY(0);
    opacity: 1;
}

.admin-page .toast.success i {
    color: #00c853;
}

.admin-page .toast.error i {
    color: #ff4444;
}

/* ===== SCROLLBAR ===== */
.admin-sidebar::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidebar::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(79, 172, 254, 0.3);
    border-radius: 3px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 172, 254, 0.5);
}

/* ===== CASES ADMIN ===== */
.cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.case-admin-card {
    background: linear-gradient(145deg, #0d0d20 0%, #0a0a1a 100%);
    border: 1px solid rgba(79, 172, 254, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-admin-card:hover {
    border-color: rgba(79, 172, 254, 0.3);
    transform: translateY(-3px);
}

.case-admin-card.inactive {
    opacity: 0.7;
    border-color: rgba(239, 68, 68, 0.3);
}

.case-admin-card.inactive .case-admin-image {
    background: rgba(239, 68, 68, 0.1);
}

.case-admin-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 172, 254, 0.05);
    padding: 20px;
    position: relative;
}

.case-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-status-badge.inactive {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.case-admin-image img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.case-admin-content {
    padding: 20px;
}

.case-admin-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.case-admin-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
}

.case-admin-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.case-price-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffd54f;
    font-weight: 600;
}

.case-items-count {
    font-size: 0.85rem;
    color: #64748b;
}

.case-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

.case-status.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.case-status.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.case-admin-actions {
    display: flex;
    gap: 10px;
}

.case-admin-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.85rem;
}

/* Modal Large */
.modal-large {
    max-width: 800px;
}

#case-form {
    padding: 25px 30px;
}

/* Case Items Section */
.case-items-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

.items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.items-header h3 {
    font-size: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.items-list {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
}

.no-items {
    color: #64748b;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(79, 172, 254, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid;
}

.item-row:last-child {
    margin-bottom: 0;
}

.item-row.rarity-common { border-left-color: #b0bec5; }
.item-row.rarity-uncommon { border-left-color: #4fc3f7; }
.item-row.rarity-rare { border-left-color: #7c4dff; }
.item-row.rarity-epic { border-left-color: #e040fb; }
.item-row.rarity-legendary { border-left-color: #ffd54f; }

.item-row-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-row-image i {
    color: #64748b;
    font-size: 1.2rem;
}

.item-row-image.coins-icon {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
}

.item-row-image.coins-icon i {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.item-row-info {
    flex: 1;
}

.item-row-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.item-row-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 3px;
}

.item-row-actions {
    display: flex;
    gap: 8px;
}

.item-row-actions button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-edit-item {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
}

.btn-edit-item:hover {
    background: rgba(79, 172, 254, 0.3);
}

.btn-delete-item {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.btn-delete-item:hover {
    background: rgba(255, 68, 68, 0.3);
}

.items-total {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
}

.items-total span:first-child {
    color: #a0aec0;
}

#total-chance {
    font-weight: 700;
    color: #4facfe;
}

.chance-warning {
    color: #ff4444;
    font-size: 0.85rem;
}

/* Checkbox label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding-top: 25px;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    color: #a0aec0;
}

/* Toggle Switch */
.toggle-switch-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(239, 68, 68, 0.3);
    border: 2px solid #ef4444;
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #ef4444;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: rgba(34, 197, 94, 0.3);
    border-color: #22c55e;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
    background-color: #22c55e;
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #a0aec0;
    min-width: 80px;
}

.toggle-switch input:checked ~ .toggle-label,
.toggle-switch-container:has(input:checked) .toggle-label {
    color: #22c55e;
}

.toggle-switch-container:has(input:not(:checked)) .toggle-label {
    color: #ef4444;
}

/* Item modal preview */
.banner-preview.small {
    width: 80px;
    height: 80px;
    min-height: 80px;
}

.banner-upload-container.small {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 200px;
        min-width: 200px;
    }

    .admin-content {
        margin-left: 200px;
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }

    .admin-sidebar {
        position: relative;
        width: 100%;
        min-width: 100%;
        top: 0;
        height: auto;
        padding: 20px 0;
        border-right: none;
        border-bottom: 1px solid rgba(79, 172, 254, 0.1);
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar-link {
        padding: 10px 16px;
    }

    .admin-content {
        margin-left: 0;
        padding: 20px;
    }

    .section-header-admin {
        flex-direction: column;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bonus-item {
        flex-wrap: wrap;
    }

    .bonus-item-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid rgba(79, 172, 254, 0.1);
    }
}

@media (max-width: 480px) {
    .admin-header-info {
        display: none;
    }

    .sidebar-header {
        display: none;
    }

    .modal-content {
        margin: 10px;
    }

    #bonus-form {
        padding: 20px;
    }

    .modal-header {
        padding: 20px;
    }
}

/* ===== GAINS SECTION ===== */
.gains-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.gains-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 10px;
    color: #a0aec0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gains-filter:hover {
    background: rgba(79, 172, 254, 0.15);
    color: #ffffff;
}

.gains-filter.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: transparent;
    color: #0a0a1a;
}

.filter-count {
    background: rgba(255, 193, 7, 0.9);
    color: #0a0a1a;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.gains-filter.active .filter-count {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Gains List */
.gains-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Gain Item */
.gain-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border-radius: 16px;
    border: 1px solid rgba(79, 172, 254, 0.1);
    transition: all 0.3s ease;
}

.gain-item:hover {
    border-color: rgba(79, 172, 254, 0.3);
}

.gain-item.pending {
    border-left: 4px solid #ffc107;
}

.gain-item.paid {
    border-left: 4px solid #22c55e;
    opacity: 0.7;
}

.gain-item-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(79, 172, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gain-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gain-item-image i {
    font-size: 1.5rem;
    color: #64748b;
}

.gain-item-info {
    flex: 1;
}

.gain-item-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.gain-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

.gain-item-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gain-item-meta i {
    color: #4facfe;
}

.gain-user {
    color: #4facfe !important;
    font-weight: 500;
}

.gain-date {
    color: #a0aec0;
}

.gain-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gain-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.gain-status.paid {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.gain-item-actions {
    display: flex;
    gap: 10px;
}

.btn-mark-paid {
    padding: 10px 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-mark-paid:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
}

.btn-mark-paid:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Empty gains state */
.empty-gains {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-gains i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-gains p {
    font-size: 1.1rem;
}

/* ===== OPENINGS SECTION ===== */
.openings-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: #0f0f2a;
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
}

.search-box input:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
}

.search-box input::placeholder {
    color: #64748b;
}

.openings-filters {
    display: flex;
    gap: 10px;
}

.openings-filters select {
    padding: 10px 15px;
    background: #0f0f2a;
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
}

.openings-filters select:focus {
    outline: none;
    border-color: #4facfe;
}

/* Openings Table */
.openings-table-container {
    background: #0f0f2a;
    border-radius: 15px;
    border: 1px solid rgba(79, 172, 254, 0.1);
    overflow: hidden;
    overflow-x: auto;
}

.openings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.openings-table thead {
    background: rgba(79, 172, 254, 0.1);
}

.openings-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #a0aec0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.openings-table tbody tr {
    border-bottom: 1px solid rgba(79, 172, 254, 0.05);
    transition: background 0.3s ease;
}

.openings-table tbody tr:hover {
    background: rgba(79, 172, 254, 0.05);
}

.openings-table td {
    padding: 15px 20px;
    color: #ffffff;
    font-size: 0.9rem;
}

.openings-table .loading-state {
    padding: 60px 20px;
    text-align: center;
}

.openings-table .loading-state i {
    font-size: 2rem;
    color: #4facfe;
    margin-bottom: 10px;
}

/* User cell */
.user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-cell-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-cell-name {
    font-weight: 500;
}

/* Gain cell */
.gain-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gain-cell-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.gain-cell-coins {
    color: #ffd700;
}

/* Rarity badges */
.rarity-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.rarity-badge.common { background: rgba(176, 190, 197, 0.2); color: #b0bec5; }
.rarity-badge.uncommon { background: rgba(79, 195, 247, 0.2); color: #4fc3f7; }
.rarity-badge.rare { background: rgba(124, 77, 255, 0.2); color: #7c4dff; }
.rarity-badge.epic { background: rgba(224, 64, 251, 0.2); color: #e040fb; }
.rarity-badge.legendary { background: rgba(255, 213, 79, 0.2); color: #ffd54f; }

/* Status badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.coins { background: rgba(255, 215, 0, 0.2); color: #ffd700; }
.status-badge.claimed { background: rgba(79, 172, 254, 0.2); color: #4facfe; }
.status-badge.pending { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.status-badge.paid { background: rgba(76, 175, 80, 0.2); color: #4caf50; }

/* Pagination */
.openings-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding: 15px;
}

.openings-pagination .btn {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.openings-pagination .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Empty state */
.empty-openings {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-openings i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .openings-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .openings-filters {
        flex-wrap: wrap;
    }

    .openings-filters select {
        flex: 1;
        min-width: 120px;
    }
}

/* ===== SHOP ADMIN SECTION ===== */
.shop-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.shop-admin-card {
    background: linear-gradient(145deg, #0d0d20 0%, #0a0a1a 100%);
    border: 1px solid rgba(79, 172, 254, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shop-admin-card:hover {
    border-color: rgba(79, 172, 254, 0.3);
    transform: translateY(-3px);
}

.shop-admin-card.inactive {
    opacity: 0.7;
    border-color: rgba(239, 68, 68, 0.3);
}

.shop-admin-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 172, 254, 0.05);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.shop-admin-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shop-admin-image i {
    font-size: 3rem;
    color: #64748b;
}

.shop-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.shop-status-badge.inactive {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.shop-status-badge.out-of-stock {
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
}

.shop-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    color: #4facfe;
}

.shop-admin-content {
    padding: 20px;
}

.shop-admin-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.shop-admin-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-admin-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-price-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffd54f;
    font-weight: 600;
}

.shop-price-tag i {
    color: #ffd700;
}

.shop-stock-tag {
    font-size: 0.85rem;
    color: #64748b;
}

.shop-stock-tag.low {
    color: #f59e0b;
}

.shop-stock-tag.out {
    color: #ef4444;
}

.shop-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

.shop-status.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.shop-status.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.shop-admin-actions {
    display: flex;
    gap: 10px;
}

.shop-admin-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.85rem;
}

/* Shop Item Form */
#shop-item-form {
    padding: 25px 30px;
}

/* ===== PURCHASES SECTION ===== */
.purchase-price-cell {
    color: #ffd700;
    font-weight: 600;
}

.purchase-price-cell i {
    margin-right: 5px;
}

.purchase-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.purchase-status.delivered {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.purchase-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

/* ===== GIFT CODES STYLES ===== */
.gift-code-display {
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.coins-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.coins-badge i {
    font-size: 0.85rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-badge.inactive {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.status-badge.expired {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-badge.maxed {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* ===== GIFT CODE MODAL STYLES ===== */
.modal-giftcode {
    max-width: 650px;
}

.giftcode-admin-form {
    padding: 30px;
}

.giftcode-admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.giftcode-admin-form .form-group {
    margin-bottom: 0;
}

.giftcode-admin-form .form-group.full-width {
    grid-column: 1 / -1;
}

.giftcode-admin-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.giftcode-admin-form .form-group label i {
    color: #4facfe;
    font-size: 0.9rem;
}

.giftcode-admin-form .code-input {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(79, 172, 254, 0.1);
    border: 2px solid rgba(79, 172, 254, 0.3);
}

.giftcode-admin-form .code-input:focus {
    border-color: #4facfe;
    background: rgba(79, 172, 254, 0.15);
}

.giftcode-admin-form .coins-input-wrapper {
    position: relative;
}

.giftcode-admin-form .coins-input-wrapper input {
    padding-left: 45px;
}

.giftcode-admin-form .coins-input-wrapper .coins-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 1.1rem;
}

.giftcode-admin-form .input-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #64748b;
}

.giftcode-admin-form .input-hint i {
    margin-right: 5px;
}

/* Toggle Switch for Active Status */
.giftcode-admin-form .toggle-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.giftcode-admin-form .toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(79, 172, 254, 0.1);
}

.giftcode-admin-form .toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
    flex-shrink: 0;
}

.giftcode-admin-form .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.giftcode-admin-form .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(239, 68, 68, 0.3);
    border: 2px solid #ef4444;
    transition: 0.3s;
    border-radius: 30px;
}

.giftcode-admin-form .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #ef4444;
    transition: 0.3s;
    border-radius: 50%;
}

.giftcode-admin-form .toggle-switch input:checked + .toggle-slider {
    background-color: rgba(34, 197, 94, 0.3);
    border-color: #22c55e;
}

.giftcode-admin-form .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
    background-color: #22c55e;
}

.giftcode-admin-form .toggle-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.giftcode-admin-form .toggle-label {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.giftcode-admin-form .toggle-hint {
    font-size: 0.8rem;
    color: #64748b;
}

/* Form Actions */
.giftcode-admin-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    .giftcode-admin-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .giftcode-admin-form {
        padding: 20px;
    }
}

/* ===== GIFT CODES CARDS GRID ===== */
.giftcodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.giftcode-card {
    background: linear-gradient(145deg, #0d0d20 0%, #0a0a1a 100%);
    border: 1px solid rgba(79, 172, 254, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.giftcode-card:hover {
    border-color: rgba(79, 172, 254, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(79, 172, 254, 0.15);
}

.giftcode-card-inactive {
    opacity: 0.7;
    border-color: rgba(107, 114, 128, 0.3);
}

.giftcode-card-inactive:hover {
    border-color: rgba(107, 114, 128, 0.5);
}

/* Card Header */
.giftcode-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(79, 172, 254, 0.05);
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

.giftcode-card-code {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #4facfe;
    background: rgba(79, 172, 254, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

/* Card Body */
.giftcode-card-body {
    padding: 25px;
}

.giftcode-card-coins {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 16px;
    margin-bottom: 20px;
}

.giftcode-card-coins i {
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.giftcode-coins-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffd700;
}

.giftcode-coins-label {
    font-size: 1rem;
    color: #a0aec0;
    font-weight: 500;
}

/* Stats */
.giftcode-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.giftcode-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    text-align: center;
}

.giftcode-stat i {
    font-size: 1.1rem;
    color: #4facfe;
}

.giftcode-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.giftcode-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Actions */
.giftcode-card-actions {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.giftcode-card-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.9rem;
    justify-content: center;
}

.giftcode-card-actions .btn-danger {
    flex: 0 0 auto;
    padding: 12px 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .giftcodes-grid {
        grid-template-columns: 1fr;
    }

    .giftcode-card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .giftcode-card-code {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
}

/* ===== DELETE GIFT CODE MODAL ===== */
.modal-delete-giftcode {
    max-width: 420px;
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(180deg, #0d0d20 0%, #0a0a1a 100%);
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-radius: 20px;
}

.delete-giftcode-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 77, 77, 0.3);
}

.delete-giftcode-icon i {
    font-size: 2.5rem;
    color: #ff4d4d;
    animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.modal-delete-giftcode h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.delete-giftcode-code {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4facfe;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.delete-giftcode-warning {
    font-size: 0.9rem;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 30px;
}

.delete-giftcode-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.delete-giftcode-actions .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.delete-giftcode-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
}

.delete-giftcode-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.delete-giftcode-actions .btn-danger {
    background: linear-gradient(135deg, #ff4d4d 0%, #cc0000 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.3);
}

.delete-giftcode-actions .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.4);
}

@media (max-width: 480px) {
    .modal-delete-giftcode {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .delete-giftcode-actions {
        flex-direction: column;
    }

    .delete-giftcode-actions .btn {
        width: 100%;
    }
}

/* ===== LOGS SECTION ===== */
.logs-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
    flex-wrap: wrap;
}

.logs-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(79, 172, 254, 0.15);
    border-radius: 10px;
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logs-tab:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.3);
    color: #ffffff;
}

.logs-tab.active {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-color: #4facfe;
    color: #4facfe;
}

.logs-tab i {
    font-size: 1rem;
}

.logs-content {
    display: none;
}

.logs-content.active {
    display: block;
}

.logs-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(13, 13, 32, 0.8) 0%, rgba(10, 10, 26, 0.9) 100%);
    border: 1px solid rgba(79, 172, 254, 0.15);
    border-radius: 16px;
    flex-wrap: wrap;
}

.logs-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.logs-filters select {
    padding: 12px 40px 12px 16px;
    background: #0f0f2a;
    border: 1px solid rgba(79, 172, 254, 0.25);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234facfe' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    min-width: 160px;
}

.logs-filters select:hover {
    border-color: rgba(79, 172, 254, 0.5);
    background-color: rgba(15, 15, 42, 0.9);
}

.logs-filters select:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.25);
}

.logs-filters select option {
    background: #0f0f2a;
    color: #ffffff;
    padding: 10px;
}

/* Search box specific to logs */
.logs-toolbar .search-box {
    flex: 1;
    max-width: 350px;
    min-width: 200px;
}

.logs-toolbar .search-box input {
    background: #0f0f2a;
    border: 1px solid rgba(79, 172, 254, 0.25);
    transition: all 0.3s ease;
}

.logs-toolbar .search-box input:hover {
    border-color: rgba(79, 172, 254, 0.4);
}

/* Filter label style */
.logs-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logs-filter-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.logs-table-container {
    background: rgba(10, 10, 26, 0.5);
    border: 1px solid rgba(79, 172, 254, 0.1);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.logs-table {
    width: 100%;
    border-collapse: collapse;
}

.logs-table thead {
    background: rgba(79, 172, 254, 0.1);
}

.logs-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4facfe;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

.logs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-size: 0.9rem;
}

.logs-table tbody tr:hover {
    background: rgba(79, 172, 254, 0.05);
}

.logs-table tbody tr:last-child td {
    border-bottom: none;
}

.logs-table .log-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logs-table .log-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0a0a1a;
    flex-shrink: 0;
}

.logs-table .log-user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 172, 254, 0.5);
    flex-shrink: 0;
}

.logs-table .log-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.logs-table .log-coins {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-weight: 600;
}

.logs-table .log-coins i {
    color: #ffd700;
}

.logs-table .log-date {
    color: #a0aec0;
    font-size: 0.85rem;
}

.logs-table .log-actions {
    white-space: nowrap;
}

.logs-table .log-actions .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logs-table .log-actions .btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: #fff;
}

.logs-table .log-actions .btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.logs-table .log-actions .btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
}

.logs-table .log-actions .btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.logs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.logs-pagination .pagination-info {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Empty state for logs */
.logs-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.logs-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.logs-empty p {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logs-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }

    .logs-toolbar .search-box {
        max-width: 100%;
    }

    .logs-filters {
        flex-wrap: wrap;
        width: 100%;
    }

    .logs-filters select {
        flex: 1;
        min-width: 140px;
    }

    .logs-table th,
    .logs-table td {
        padding: 12px 15px;
    }

    .logs-table .log-user-avatar,
    .logs-table .log-user-avatar-img {
        display: none;
    }
}

@media (max-width: 480px) {
    .logs-tabs {
        flex-direction: column;
    }

    .logs-tab {
        width: 100%;
        justify-content: center;
    }

    .logs-filters select {
        width: 100%;
        min-width: unset;
    }

    .logs-toolbar {
        padding: 12px;
    }
}

/* ===== ANALYTICS SECTION ===== */
.analytics-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.analytics-mode-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.analytics-mode-btn {
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analytics-mode-btn:hover {
    color: #fff;
    background: rgba(79, 172, 254, 0.1);
}

.analytics-mode-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.analytics-mode-btn.active i {
    color: #000;
}

.analytics-period-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.analytics-period-selector select {
    padding: 12px 20px;
    padding-right: 40px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.1) 100%);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234facfe' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.1);
}

.analytics-period-selector select:hover {
    border-color: rgba(79, 172, 254, 0.5);
    background-color: rgba(79, 172, 254, 0.2);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.2);
    transform: translateY(-1px);
}

.analytics-period-selector select:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2),
                0 6px 20px rgba(79, 172, 254, 0.2);
}

.analytics-period-selector select option {
    background: #1a1a2e;
    color: #fff;
    padding: 12px;
}

.analytics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border-radius: 16px;
    border: 1px solid rgba(79, 172, 254, 0.1);
}

.analytics-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(0, 242, 254, 0.1));
    border-radius: 14px;
    font-size: 1.5rem;
    color: #4facfe;
}

.analytics-card-info {
    display: flex;
    flex-direction: column;
}

.analytics-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.analytics-card-label {
    color: #a0aec0;
    font-size: 0.9rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.analytics-panel {
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border-radius: 16px;
    border: 1px solid rgba(79, 172, 254, 0.1);
    padding: 24px;
}

.analytics-panel h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #fff;
}

.analytics-panel h3 i {
    color: #4facfe;
}

.analytics-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.analytics-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(79, 172, 254, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.analytics-list-item:hover {
    background: rgba(79, 172, 254, 0.1);
}

.analytics-list-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 172, 254, 0.15);
    border-radius: 10px;
    font-size: 1.1rem;
}

.analytics-list-item-icon.tiktok { color: #ff0050; }
.analytics-list-item-icon.youtube { color: #ff0000; }
.analytics-list-item-icon.x { color: #ffffff; }
.analytics-list-item-icon.twitter { color: #ffffff; }
.analytics-list-item-icon.discord { color: #5865f2; }
.analytics-list-item-icon.instagram { color: #e4405f; }
.analytics-list-item-icon.twitch { color: #9146ff; }
.analytics-list-item-icon.site { color: #f59e0b; }
.analytics-list-item-icon.direct { color: #a0aec0; }

.analytics-list-item-info {
    flex: 1;
}

.analytics-list-item-name {
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}

.analytics-list-item-bar {
    height: 6px;
    background: rgba(79, 172, 254, 0.2);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.analytics-list-item-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.analytics-list-item-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.analytics-list-item-count-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.analytics-list-item-count-percent {
    font-size: 0.85rem;
    color: #a0aec0;
}

.analytics-chart-panel {
    margin-top: 0;
}

.analytics-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    height: 200px;
    padding-top: 20px;
}

.analytics-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
}

.analytics-chart-bar-fill {
    width: 100%;
    max-width: 40px;
    background: linear-gradient(180deg, #4facfe, #00f2fe);
    border-radius: 6px 6px 0 0;
    transition: height 0.5s ease;
    min-height: 4px;
}

.analytics-chart-bar-label {
    font-size: 0.7rem;
    color: #a0aec0;
    text-align: center;
}

.analytics-chart-bar-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.analytics-empty {
    text-align: center;
    padding: 40px;
    color: #a0aec0;
}

.analytics-empty i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* ===== SOCIAL LINKS MANAGEMENT ===== */

/* Social Link Modal Styles */
#sociallink-modal .modal-content {
    max-width: 550px;
}

#sociallink-modal .modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

#sociallink-modal .modal-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    color: #fff;
}

#sociallink-modal .modal-header h2 i {
    color: #4facfe;
}

#sociallink-form {
    padding: 30px;
}

#sociallink-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

#sociallink-form .form-group {
    margin-bottom: 20px;
}

#sociallink-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #e2e8f0;
}

#sociallink-form .form-group label i {
    color: #4facfe;
    font-size: 0.9rem;
}

#sociallink-form .form-group input[type="text"],
#sociallink-form .form-group input[type="url"],
#sociallink-form .form-group input[type="number"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(79, 172, 254, 0.05);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#sociallink-form .form-group input:focus {
    outline: none;
    border-color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
}

#sociallink-form .form-group input[type="color"] {
    width: 100%;
    height: 50px;
    padding: 8px;
    background: rgba(79, 172, 254, 0.05);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    cursor: pointer;
}

#sociallink-form .form-group small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.8rem;
}

#sociallink-form .form-group small a {
    color: #4facfe;
    text-decoration: none;
}

#sociallink-form .form-group small a:hover {
    text-decoration: underline;
}

#sociallink-form .toggle-group {
    padding: 20px;
    background: rgba(79, 172, 254, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(79, 172, 254, 0.1);
}

#sociallink-form .toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

#sociallink-form .toggle-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#sociallink-form .toggle-label {
    font-weight: 600;
    color: #fff;
}

#sociallink-form .toggle-hint {
    font-size: 0.8rem;
    color: #64748b;
}

#sociallink-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

/* Delete Social Link Modal */
#delete-sociallink-modal .modal-content {
    max-width: 420px;
}

#delete-sociallink-modal .modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

#delete-sociallink-modal .modal-header h2 {
    color: #ef4444;
    font-size: 1.2rem;
}

#delete-sociallink-modal .modal-body {
    padding: 30px;
}

#delete-sociallink-modal .modal-body p {
    color: #e2e8f0;
    margin-bottom: 10px;
}

#delete-sociallink-modal .modal-body .text-muted {
    color: #64748b;
    font-size: 0.9rem;
}

#delete-sociallink-modal .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 30px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
}

/* Responsive */
@media (max-width: 600px) {
    #sociallink-form .form-row {
        grid-template-columns: 1fr;
    }

    #sociallink-form {
        padding: 20px;
    }

    #sociallink-modal .modal-header {
        padding: 20px;
    }
}

.sociallinks-preview-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(145deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.05));
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
}

.sociallinks-preview-box span {
    color: #a0aec0;
    font-size: 0.9rem;
}

.sociallinks-preview-box code {
    flex: 1;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    color: #4facfe;
    font-family: monospace;
    font-size: 0.95rem;
}

.sociallinks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sociallink-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(145deg, #0a0a1a 0%, #0f0f2a 100%);
    border-radius: 14px;
    border: 1px solid rgba(79, 172, 254, 0.1);
    transition: all 0.3s ease;
}

.sociallink-item:hover {
    border-color: rgba(79, 172, 254, 0.3);
}

.sociallink-item.inactive {
    opacity: 0.5;
}

.sociallink-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    color: #fff;
    overflow: hidden;
}

.sociallink-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo upload container */
.logo-upload-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logo-preview {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
}

.logo-preview i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.logo-preview span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-upload-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sociallink-item-info {
    flex: 1;
}

.sociallink-item-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 4px;
}

.sociallink-item-url {
    color: #a0aec0;
    font-size: 0.85rem;
    word-break: break-all;
}

.sociallink-item-order {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 8px;
    color: #a0aec0;
    font-size: 0.85rem;
}

.sociallink-item-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sociallink-item-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.sociallink-item-status.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.sociallink-item-actions {
    display: flex;
    gap: 10px;
}

.sociallink-item-actions .btn {
    padding: 10px 14px;
}

/* Header buttons */
.header-buttons {
    display: flex;
    gap: 12px;
}

/* Linktree bonuses section */
.linktree-bonuses-section {
    margin-bottom: 30px;
}

.linktree-bonuses-section h3,
.sociallinks-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.linktree-bonuses-section h3 i {
    color: #f59e0b;
}

.sociallinks-title i {
    color: #4facfe;
}

.linktree-bonuses-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.linktreebonus-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.linktreebonus-item:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.linktreebonus-item-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.linktreebonus-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.linktreebonus-item-logo i {
    font-size: 1.3rem;
    color: #f59e0b;
}

.linktreebonus-item-info {
    flex: 1;
    min-width: 0;
}

.linktreebonus-item-name {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.linktreebonus-item-subtitle {
    font-size: 0.85rem;
    color: #f59e0b;
}

.linktreebonus-item-order {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.linktreebonus-item-order .order-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 6px;
}

.linktreebonus-item-order .position-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.position-badge.position-left {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.position-badge.position-center {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.position-badge.position-right {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.linktreebonus-item-payment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.linktreebonus-item-payment i {
    font-size: 0.8rem;
}

.linktreebonus-item-actions {
    display: flex;
    gap: 10px;
}

.linktreebonus-item-actions .btn {
    padding: 10px 14px;
}

.linktree-bonuses-empty {
    text-align: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(245, 158, 11, 0.05);
    border: 1px dashed rgba(245, 158, 11, 0.2);
    border-radius: 12px;
}

.linktree-bonuses-empty i {
    font-size: 2rem;
    color: #f59e0b;
    opacity: 0.5;
    margin-bottom: 10px;
}

/* btn-warning style */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Linktree Bonus Modal Styling */
#linktreebonus-modal .modal-content {
    padding: 0;
    max-width: 550px;
}

#linktreebonus-modal .modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, transparent 100%);
}

#linktreebonus-modal .modal-header h2 {
    color: #f59e0b;
}

#linktreebonus-form {
    padding: 30px;
}

#linktreebonus-form .form-group {
    margin-bottom: 24px;
}

#linktreebonus-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

#linktreebonus-form .form-group label i {
    color: #f59e0b;
}

#linktreebonus-form .form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#linktreebonus-form .form-group input:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

#linktreebonus-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#linktreebonus-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#linktreebonus-form .form-actions {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Delete Linktree Bonus Modal */
#delete-linktreebonus-modal .modal-content {
    padding: 30px;
}

#delete-linktreebonus-modal .modal-header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

#delete-linktreebonus-modal .modal-body {
    padding: 24px 0;
}

#delete-linktreebonus-modal .form-actions {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 600px) {
    #linktreebonus-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Responsive analytics */
@media (max-width: 768px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .analytics-overview {
        grid-template-columns: 1fr;
    }

    .analytics-controls {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .analytics-mode-toggle {
        width: 100%;
        justify-content: center;
    }

    .analytics-mode-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .analytics-period-selector {
        flex-direction: column;
        width: 100%;
    }

    .analytics-period-selector select,
    .analytics-period-selector button {
        width: 100%;
    }

    .sociallinks-preview-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .sociallink-item {
        flex-wrap: wrap;
    }

    .sociallink-item-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

/* ===== USERS SECTION ===== */
.users-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.users-stat-card {
    background: linear-gradient(145deg, #1a1f2e 0%, #0d1117 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.users-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #4facfe;
}

.users-stat-info {
    display: flex;
    flex-direction: column;
}

.users-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.users-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.users-toolbar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.users-toolbar .search-box {
    flex: 1;
    min-width: 250px;
}

.users-filters {
    display: flex;
    gap: 10px;
}

.users-filters select {
    padding: 12px 20px;
    padding-right: 45px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.1) 100%);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234facfe' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.1);
}

.users-filters select:hover {
    border-color: rgba(79, 172, 254, 0.5);
    background-color: rgba(79, 172, 254, 0.2);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.2);
    transform: translateY(-1px);
}

.users-filters select:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2),
                0 6px 20px rgba(79, 172, 254, 0.2);
}

.users-filters select option {
    background: #1a1a2e;
    color: #fff;
    padding: 12px;
}

.users-table-container {
    background: linear-gradient(145deg, #1a1f2e 0%, #0d1117 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.users-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
}

.users-table tbody tr:hover {
    background: rgba(79, 172, 254, 0.05);
}

.users-table tbody tr:last-child td {
    border-bottom: none;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
}

.user-username {
    font-weight: 600;
    color: #fff;
}

.user-email {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.user-coins {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #f59e0b;
}

.user-coins i {
    font-size: 0.9rem;
}

.user-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.user-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.user-role.admin {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.user-role.user {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.user-actions {
    display: flex;
    gap: 8px;
}

.user-actions .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.users-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.users-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.users-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.users-empty p {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .users-stats-row {
        grid-template-columns: 1fr;
    }

    .users-toolbar {
        flex-direction: column;
    }

    .users-filters {
        flex-wrap: wrap;
    }

    .users-table th,
    .users-table td {
        padding: 12px 15px;
    }

    .user-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* ===== USER DETAILS MODAL ===== */
.modal-large {
    max-width: 900px;
    width: 95%;
}

.user-details-content {
    padding: 20px 0;
}

.user-details-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.user-details-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    flex-shrink: 0;
}

.user-details-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: #fff;
}

.user-details-info p {
    margin: 0 0 10px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.user-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.user-details-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
    font-weight: 600;
    font-size: 1.1rem;
}

.user-details-balance i {
    font-size: 1rem;
}

.user-details-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.user-details-role.admin {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.user-details-role.user {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.user-details-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Password Change Section */
.user-details-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.user-details-section h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-details-section h4 i {
    color: #f59e0b;
}

.password-change-form {
    display: flex;
    gap: 15px;
    align-items: center;
}

.password-change-form .form-group {
    flex: 1;
    margin: 0;
}

.password-change-form input {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.password-change-form input:focus {
    outline: none;
    border-color: #f59e0b;
}

/* User Details Tabs */
.user-details-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.user-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.user-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.user-tab.active {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.1) 100%);
    color: #4facfe;
}

.tab-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-tab.active .tab-count {
    background: rgba(79, 172, 254, 0.3);
}

/* Tab Content */
.user-details-tab-content {
    min-height: 200px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.user-activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.user-activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.user-activity-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.user-activity-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.user-activity-icon.opening {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #8b5cf6;
}

.user-activity-icon.purchase {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #10b981;
}

.user-activity-icon.giftcode {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    color: #f59e0b;
}

.user-activity-info {
    flex: 1;
}

.user-activity-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.user-activity-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.user-activity-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

.user-activity-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.user-activity-empty i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.user-activity-empty p {
    margin: 0;
}

/* Scrollbar for activity list */
.user-activity-list::-webkit-scrollbar {
    width: 6px;
}

.user-activity-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.user-activity-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.user-activity-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .user-details-header {
        flex-direction: column;
        text-align: center;
    }

    .user-details-meta {
        justify-content: center;
    }

    .user-details-tabs {
        flex-wrap: wrap;
    }

    .user-tab {
        flex: 1;
        min-width: 100px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .password-change-form {
        flex-direction: column;
    }

    .password-change-form .btn {
        width: 100%;
    }
}
