:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --bg-light: #ffffff;
    --bg-gray: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent: #60a5fa;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-primary);
}

/* Login Page Styles */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.login-box {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.75rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    width: 260px;
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    border-right: 1px solid var(--border-color);
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 20px;
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.sidebar nav ul {
    list-style: none;
    margin-top: 1rem;
}

.sidebar nav ul li {
    margin-bottom: 0.5rem;
}

.sidebar nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar nav ul li a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sidebar nav ul li.active a,
.sidebar nav ul li a:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
}

.main-content {
    flex: 1;
    padding: 1.5rem;
    margin-left: 260px;
    transition: all 0.3s ease;
}

.main-content.expanded {
    margin-left: 80px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header h1 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.data-table {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

th {
    background: var(--bg-gray);
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

#logoutBtn {
    width: auto;
    padding: 0.5rem 1rem;
    background: #ef4444;
    font-size: 0.875rem;
}

#logoutBtn:hover {
    background: #dc2626;
}

/* Content Sections */
.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Styles */
.cyber-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cyber-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-card h4 {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-card .value {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Coupons Section Styles */
.coupons-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.assigned-coupons,
.pending-coupons {
    width: 100%;
}

.pending-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 12px;
    margin-top: 1rem;
}

.user-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-item label {
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 120px;
}

.detail-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Pulsating Button Styles */
.pulse-button {
    position: relative;
    width: auto;
    min-width: 200px;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.pulse-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pulse-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.15);
}

.pulse-button:hover::before {
    width: 300px;
    height: 300px;
}

.pulse-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.pulse-button span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.pulse-button:hover i {
    transform: translateX(2px);
}

@keyframes subtle-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.pulse-button {
    animation: subtle-pulse 2s infinite;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

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

.popup-content h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.popup-content button {
    margin-top: 1rem;
    width: auto;
    padding: 0.5rem 1.5rem;
}

/* No Data State Styles */
.no-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-gray);
    border-radius: 12px;
    margin-top: 1rem;
}

.no-data-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.no-data-container h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-data-container p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    max-width: 300px;
    line-height: 1.5;
}

/* Rewards Section Styles */
.rewards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-reward-status {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 1.5rem;
}

.user-level {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.level-circle {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.level-number {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
}

.level-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.level-info {
    flex: 1;
}

.level-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-blip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.status-blip.active {
    background-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.xp-bar {
    height: 8px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.xp-progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.xp-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.milestones-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.milestones-container h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.milestone-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.milestone-card.active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.02);
}

.milestone-card.locked {
    opacity: 0.7;
}

.milestone-card.connected-users {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.milestone-card.connected-users .milestone-reward {
    color: var(--primary-color);
}

.milestone-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.milestone-content {
    flex: 1;
}

.milestone-content h5 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.milestone-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.milestone-reward {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.milestone-reward i {
    font-size: 0.875rem;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.pending {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.status-badge.locked {
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-secondary);
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.milestone-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.milestones-dropdown {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-header:hover {
    background: var(--bg-gray);
}

.dropdown-header h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin: 0;
}

.dropdown-header i {
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.dropdown-header.active i {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dropdown-content.active {
    max-height: 1000px;
}

.dropdown-content .milestone-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.dropdown-content .milestone-card:last-child {
    border-bottom: none;
}

/* Admin Approval Styles */
.approval-container {
    padding: 20px;
}

.user-approval-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.user-approval-card.minimized .content-preview,
.user-approval-card.minimized .approval-actions,
.user-approval-card.minimized .block-comments {
    display: none;
}

.user-approval-card.minimized .minimize-btn i {
    transform: rotate(180deg);
}

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

.user-info h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
}

.status-icon.approved {
    background-color: #4CAF50;
    position: relative;
}

.status-icon.approved::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.status-icon.blocked {
    background-color: #f44336;
    position: relative;
}

.status-icon.blocked::after {
    content: '✕';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.user-details {
    display: flex;
    gap: 20px;
    margin-top: 5px;
    color: #888;
}

.content-preview {
    margin: 20px 0;
}

.video-preview {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.approval-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.approve-btn,
.block-btn,
.ask-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.approve-btn {
    background-color: #4CAF50;
    color: white;
}

.block-btn {
    background-color: #f44336;
    color: white;
}

.ask-btn {
    background-color: #f59e0b;
    color: white;
}

.approve-btn:hover,
.block-btn:hover,
.ask-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Active tab highlight */
.sidebar nav ul li.active a {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #2196F3;
}

/* Notification Badge */
.notification-badge {
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

/* Minimize Button */
.minimize-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    width: auto;
}

.minimize-btn:hover {
    color: var(--primary-color);
}

.minimize-btn.rotated i {
    transform: rotate(180deg);
}

/* Request Time */
.request-time {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Block Comments */
.block-comments {
    margin-top: 20px;
    padding: 15px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 8px;
}

.block-reason {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 4px;
    margin-bottom: 10px;
    resize: vertical;
    font-family: inherit;
}

.submit-block {
    background-color: #f44336;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: auto;
}

.submit-block:hover {
    background-color: #d32f2f;
}

/* User Details Expansion Styles */
.user-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.user-row:hover {
    background-color: var(--bg-gray);
}

.expand-btn {
    width: auto;
    padding: 0.5rem;
    background: none;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.expand-btn:hover {
    color: var(--primary-color);
    background: none;
    transform: none;
}

.expand-btn.rotated i {
    transform: rotate(180deg);
}

.user-details-expanded {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.detail-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.coupons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.coupon-badge {
    background: var(--bg-light);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.status-badge.idle {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.user-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.block-user-btn,
.suspend-user-btn,
.message-user-btn {
    width: auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.block-user-btn {
    background-color: #ef4444;
}

.block-user-btn:hover {
    background-color: #dc2626;
}

.suspend-user-btn {
    background-color: #f59e0b;
}

.suspend-user-btn:hover {
    background-color: #d97706;
}

.message-user-btn {
    background-color: #3b82f6;
}

.message-user-btn:hover {
    background-color: #2563eb;
}

.action-reason {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.reason-input {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    font-family: inherit;
    resize: vertical;
}

.submit-reason {
    width: auto;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
}

.submit-reason:hover {
    background-color: var(--secondary-color);
}

/* URL Preview Styles */
.url-preview {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.url-link {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    display: block;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.url-link:hover {
    background: var(--bg-gray);
    border-color: var(--primary-color);
}

/* Coupon Generator Styles */
.coupon-generator-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.coupon-section {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coupon-section h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.coupon-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 100px;
}

.coupon-code {
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-family: monospace;
    font-size: 1rem;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-code .copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    width: auto;
}

.coupon-code .copy-btn:hover {
    color: var(--primary-color);
    background: none;
}

.generate-btn {
    width: auto;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

/* Warning Message Styles */
.warning-message {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

.warning-message i {
    color: #856404;
    font-size: 1.25rem;
}

.warning-message span {
    flex: 1;
    font-size: 0.875rem;
}

.warning-message .close-warning {
    background: none;
    border: none;
    color: #856404;
    cursor: pointer;
    padding: 0.25rem;
    width: auto;
}

.warning-message .close-warning:hover {
    color: #533f03;
    background: none;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Video Thumbnail Styles */
.video-thumbnail {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

.video-thumbnail:hover .play-button {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Report Specific Styling */
.report-card {
    border-left: 4px solid #ef4444 !important;
    background: linear-gradient(to right, #ffffff, #fffafa) !important;
}

.user-id-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.floor-info {
    font-weight: 500;
    color: var(--text-secondary);
}

.spots-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.spot-badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #bfdbfe;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.report-reason-container {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reason-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.reason-value {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    border: 1px solid #fecaca;
}

.action-btn {
    background: #059669 !important;
}

.action-btn:hover {
    background: #047857 !important;
}

.dismiss-btn {
    background: #64748b !important;
}

.dismiss-btn:hover {
    background: #475569 !important;
}

.url-link i {
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Report header alignment fix */
.report-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.report-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.report-header-info .user-id-highlight {
    font-size: 1rem;
}

.report-header-info .floor-info,
.report-header-info .spots-info {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Action Options Panel */
.action-options-panel {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px dashed #cbd5e1;
    animation: fadeIn 0.2s ease-out;
}

.action-buttons-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sub-action-btn {
    flex: 1;
    min-width: 150px;
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: white;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sub-action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #eff6ff;
}

.sub-action-btn i {
    font-size: 1rem;
}

.sub-action-btn.suspend:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    background: #fffbeb;
}

.sub-action-btn.remove:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.sub-action-btn.block:hover {
    border-color: #b91c1c;
    color: #b91c1c;
    background: #fef2f2;
}

/* Action Input Section */
.action-input-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.reason-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 12px;
    resize: vertical;
}

.reason-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-action-btn {
    background: var(--text-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    width: auto;
    float: right;
    border: none;
    cursor: pointer;
}

.submit-action-btn:hover {
    background: #000;
}

/* ============================================================
   ADMIN MODAL
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    margin: 1rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    animation: modalIn 0.25s ease-out;
    overflow: hidden;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}
.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}
.modal-close-btn:hover { background: #e2e8f0; color: #1e293b; }
.modal-body {
    padding: 24px;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
.modal-cancel-btn {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-cancel-btn:hover { background: #f1f5f9; }
.modal-submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #1e293b;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-submit-btn:hover { background: #000; }
.modal-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.modal-textarea {
    width: 100%;
    min-height: 90px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    resize: vertical;
    font-family: inherit;
    color: #1e293b;
    transition: border 0.2s;
}
.modal-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.modal-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    color: #1e293b;
    transition: border 0.2s;
}
.modal-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.modal-warning {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.modal-info {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* ============================================================
   ACTION DROPDOWN (Row 1)
   ============================================================ */
.action-dropdown {
    position: relative;
    display: inline-block;
}
.action-trigger-btn {
    padding: 7px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.action-trigger-btn:hover { background: #e2e8f0; }
.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    min-width: 170px;
    z-index: 100;
    overflow: hidden;
}
.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
}
.dropdown-menu button:hover { background: #f8fafc; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}
.status-badge.active        { background: #d1fae5; color: #065f46; }
.status-badge.badge-suspended { background: #fef3c7; color: #92400e; }
.status-badge.badge-blocked   { background: #fee2e2; color: #991b1b; }
.status-badge.badge-redeemed    { background: #d1fae5; color: #065f46; }
.status-badge.badge-not-redeemed { background: #fee2e2; color: #991b1b; }

/* ============================================================
   COUPON CODE DISPLAY
   ============================================================ */
.coupon-code-display {
    background: #1e293b;
    color: #38bdf8;
    padding: 3px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ============================================================
   ADMIN APPROVAL — FIXED HORIZONTAL HEADER ROW
   ============================================================ */
.approval-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 4px 0;
}
.approval-email {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}
.approval-meta {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.approval-meta strong { color: #1e293b; }

/* ============================================================
   REJECTION PANEL
   ============================================================ */
.rejection-panel {
    background: #fef2f2;
    border: 1px dashed #fca5a5;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
    animation: fadeIn 0.2s ease-out;
}

/* ============================================================
   PV EDITABLE INPUT (Row 4)
   ============================================================ */
.pv-edit-input {
    width: 100px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s;
    text-align: center;
}
.pv-edit-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}