/* ===============================================
   USER PANEL STYLES - NIMA ETEBAR
   Primary Color: #2563eb (Blue)
   Secondary Color: #000 (Black)
   Accent: #ef4444 (Red)
   =============================================== */

/* Persian Font */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: #f3f4f6;
    color: #333;
    overflow-x: hidden;
}

/* ===============================================
   LOADING SCREEN
   =============================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.spinner-border {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===============================================
   BACKGROUND ANIMATION
   =============================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.05);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    animation-delay: 7s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===============================================
   NAVBAR
   =============================================== */
.user-navbar {
    background: #000;
    color: white;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.user-nav-container {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.user-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.user-brand i {
    color: #2563eb;
    font-size: 32px;
}

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

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 15px;
}

.user-role {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
}

.back-home-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.back-home-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ===============================================
   MAIN CONTAINER
   =============================================== */
.user-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* ===============================================
   SIDEBAR
   =============================================== */
.user-sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
}

.menu-item i {
    font-size: 20px;
    width: 24px;
}

.menu-item:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.menu-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-left: 4px solid #2563eb;
}

.menu-item .badge {
    margin-left: auto;
    background: #2563eb;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* ===============================================
   MAIN CONTENT
   =============================================== */
.user-main {
    flex: 1;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.user-tab {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-header {
    margin-bottom: 30px;
}

.user-header h1 {
    font-size: 32px;
    color: #000;
    margin-bottom: 8px;
}

.user-header p {
    color: #6b7280;
    font-size: 16px;
}

/* ===============================================
   USER INFO CARD
   =============================================== */
.user-info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #2563eb;
    object-fit: cover;
}

.info-details h2 {
    font-size: 24px;
    color: #000;
    margin-bottom: 5px;
}

.info-details p {
    color: #6b7280;
    font-size: 14px;
}

.info-right {
    display: flex;
    gap: 30px;
}

.info-box {
    text-align: center;
    padding: 15px 25px;
    background: #f9fafb;
    border-radius: 12px;
}

.info-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-value {
    font-size: 20px;
    color: #2563eb;
    font-weight: 700;
}

/* ===============================================
   TOKEN CARD
   =============================================== */
.token-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    color: white;
}

.token-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.token-card-header i {
    font-size: 1.8rem;
    color: #fbbf24;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.token-card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.token-card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.token-count {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.token-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.token-total {
    font-size: 1.5rem;
    opacity: 0.8;
}

.token-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.token-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.token-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.token-info i {
    font-size: 1rem;
}

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

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-card.approved {
    border-left-color: #10b981;
}

.stat-card.pending {
    border-left-color: #f59e0b;
}

.stat-card.rejected {
    border-left-color: #ef4444;
}

.stat-card.likes {
    border-left-color: #ec4899;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-card.approved .stat-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-card.pending .stat-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-card.rejected .stat-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-card.likes .stat-icon {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ===============================================
   RECENT ACTIVITY
   =============================================== */
.recent-activity {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.recent-activity h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-activity h3 i {
    color: #2563eb;
}

.recent-activity .comment-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.recent-activity .comment-card:last-child {
    margin-bottom: 0;
}

.recent-activity .comment-card.approved {
    border-left-color: #10b981;
}

.recent-activity .comment-card.pending {
    border-left-color: #f59e0b;
}

.recent-activity .comment-card.rejected {
    border-left-color: #ef4444;
}

.recent-activity .comment-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.recent-activity .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.recent-activity .comment-post-title {
    font-weight: 600;
    color: #2563eb;
    font-size: 14px;
}

.recent-activity .comment-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.recent-activity .comment-status.approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.recent-activity .comment-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.recent-activity .comment-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.recent-activity .comment-text {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.recent-activity .comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.recent-activity .comment-date {
    color: #9ca3af;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recent-activity .comment-likes {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ec4899;
    font-weight: 600;
    font-size: 12px;
}

/* ===============================================
   COMMENTS FILTER
   =============================================== */
.comments-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #6b7280;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.filter-badge {
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.filter-btn.active .filter-badge {
    background: rgba(255, 255, 255, 0.2);
}

/* ===============================================
   COMMENTS TABLE
   =============================================== */
.comments-table-container {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

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

.comments-table thead {
    background: #f9fafb;
}

.comments-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 2px solid #e5e7eb;
}

.comments-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.comments-table tbody tr:hover {
    background: #f9fafb;
}

.comments-table td {
    padding: 16px 20px;
    color: #4b5563;
    font-size: 14px;
}

.comment-content-cell {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-post-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.comment-post-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.comment-date-cell {
    white-space: nowrap;
    color: #9ca3af;
    font-size: 13px;
}

.table-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.table-status-badge.approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.table-status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.table-status-badge.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.table-likes {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ec4899;
    font-weight: 600;
}

.btn-delete {
    padding: 8px 16px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.table-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* ===============================================
   PROFILE FORM
   =============================================== */
.profile-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-group label i {
    color: #2563eb;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input[readonly] {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.privacy-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.privacy-toggle:hover {
    background: #f3f4f6;
}

.privacy-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.privacy-slider {
    width: 60px;
    height: 30px;
    background: #d1d5db;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
}

.privacy-slider::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.privacy-toggle input[type="checkbox"]:checked + .privacy-slider {
    background: #2563eb;
}

.privacy-toggle input[type="checkbox"]:checked + .privacy-slider::before {
    transform: translateX(30px);
}

.privacy-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.privacy-label i {
    font-size: 24px;
    color: #2563eb;
}

.privacy-label strong {
    display: block;
    color: #374151;
    font-size: 15px;
    margin-bottom: 4px;
}

.privacy-label small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
}

/* ===============================================
   LOADING MESSAGE
   =============================================== */
.loading-message {
    text-align: center;
    padding: 40px;
    color: #4b5563;
    font-size: 16px;
}

.loading-message i {
    margin-right: 10px;
    font-size: 20px;
}

.empty-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-message i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-message h3 {
    color: #374151;
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-message p {
    color: #9ca3af;
    font-size: 14px;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1024px) {
    .user-sidebar {
        width: 240px;
    }

    .user-main {
        padding: 30px;
    }
}

/* ===============================================
   NOTIFICATION STYLES
   =============================================== */
.notification {
    position: fixed;
    top: 90px;
    right: 20px;
    min-width: 320px;
    max-width: 400px;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    font-size: 15px;
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
}

.notification-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-left: 4px solid #047857;
}

.notification-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-left: 4px solid #b91c1c;
}

.notification-info {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-left: 4px solid #1e40af;
}

.notification i {
    font-size: 24px;
    opacity: 0.9;
}

.notification.slide-out {
    animation: slideOutRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ===============================================
   CONFIRMATION MODAL
   =============================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ef4444;
    animation: bounceIn 0.6s ease;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 15px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-btn-confirm {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.modal-btn-confirm:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.modal-btn-cancel {
    background: #e5e7eb;
    color: #374151;
}

.modal-btn-cancel:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Tablet (Medium Screens) */
@media (max-width: 1024px) {
    .user-sidebar {
        width: 220px;
    }

    .user-main {
        padding: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-header h1 {
        font-size: 28px;
    }
}

/* Mobile (Small Screens) */
@media (max-width: 768px) {
    .user-container {
        flex-direction: column;
    }

    .user-sidebar {
        width: 100%;
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 15px 10px 15px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #2563eb transparent;
    }
    
    .sidebar-menu::-webkit-scrollbar {
        height: 4px;
    }
    
    .sidebar-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .sidebar-menu::-webkit-scrollbar-thumb {
        background: #2563eb;
        border-radius: 10px;
    }

    .menu-item {
        white-space: nowrap;
        padding: 12px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
        flex-shrink: 0;
        font-size: 14px;
        border-radius: 12px 12px 0 0;
    }
    
    .menu-item span:not(.badge) {
        display: inline;
    }
    
    .menu-item .badge {
        position: static;
        margin-left: 6px;
        font-size: 10px;
        padding: 2px 6px;
    }

    .menu-item.active {
        border-left: none;
        border-bottom-color: #2563eb;
        background: rgba(37, 99, 235, 0.15);
    }

    .user-main {
        padding: 20px 15px;
    }

    .user-header h1 {
        font-size: 22px;
    }
    
    .user-header p {
        font-size: 14px;
    }

    .user-info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .info-left {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-avatar {
        width: 70px;
        height: 70px;
    }

    .info-right {
        width: 100%;
        justify-content: space-between;
        flex-direction: row;
    }
    
    .info-box {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }

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

    .user-info {
        gap: 10px;
    }
    
    .user-details {
        display: none;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }

    .back-home-btn {
        padding: 10px 15px;
    }
    
    .back-home-btn span {
        display: none;
    }

    .user-nav-container {
        height: 60px;
        padding: 0 10px;
    }
    
    .user-brand {
        font-size: 18px;
    }
    
    .user-brand i {
        font-size: 26px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        top: 70px;
    }
    
    .modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .comments-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comments-table {
        font-size: 12px;
        min-width: 600px;
    }
    
    .comments-table th,
    .comments-table td {
        padding: 10px 8px;
    }
    
    .comment-content-cell {
        max-width: 200px;
    }
    
    .btn-delete {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .table-status-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .activity-item {
        padding: 15px;
    }
    
    .comments-filter {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        font-size: 13px;
        padding: 10px 16px;
        white-space: nowrap;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .user-header h1 {
        font-size: 20px;
    }
    
    .user-main {
        padding: 15px 10px;
    }
    
    .user-info-card {
        padding: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .coming-soon-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }
    
    .coming-soon-card h2 {
        font-size: 20px;
    }
    
    .coming-soon-banner i {
        font-size: 40px;
    }
    
    .coming-soon-banner h3 {
        font-size: 20px;
    }
    
    .coming-soon-banner p {
        font-size: 14px;
    }
    
    .menu-item {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }
}

/* ===============================================
   PREMIUM & LEAGUE TAB
   =============================================== */
.coming-soon-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.coming-soon-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.coming-soon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.coming-soon-card h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.coming-soon-card p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.badge-preview {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.preview-badge {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.preview-badge:hover {
    transform: scale(1.1);
}

.preview-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b6914;
}

.preview-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #4a4a4a;
}

.preview-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #e6a65d);
    color: #5c3d1f;
}

.league-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.league-item {
    width: 100%;
    max-width: 250px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.league-item:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    transform: translateX(10px);
}

.league-item i {
    font-size: 20px;
}

.coming-soon-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.coming-soon-banner i {
    font-size: 60px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.coming-soon-banner h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.coming-soon-banner p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .coming-soon-section {
        grid-template-columns: 1fr;
    }
    
    .coming-soon-card {
        padding: 30px 20px;
    }
    
    .coming-soon-banner {
        padding: 40px 20px;
    }
    
    .coming-soon-banner h3 {
        font-size: 24px;
    }
    
    .coming-soon-banner p {
        font-size: 16px;
    }
}

/* ===============================================
   AI ASSISTANT SECTION
   =============================================== */
.coming-soon-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.ai-icon {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4) !important;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.ai-feature-item {
    width: 100%;
    max-width: 250px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.ai-feature-item:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    transform: translateX(10px);
}

.ai-feature-item i {
    font-size: 18px;
}

.ai-banner {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4) !important;
}



@media (max-width: 768px) {
    .ai-features {
        gap: 10px;
    }
    
    .ai-feature-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .progress-bar {
        max-width: 100%;
    }
}

/* ===============================================
   CONTACT SECTION (GET IN TOUCH)
   =============================================== */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-box {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 40px;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.contact-info-icon i {
    font-size: 36px;
}

.contact-info-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-info-box p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.contact-feature i {
    font-size: 18px;
}

.contact-form-panel {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-panel .form-group {
    margin-bottom: 25px;
}

.contact-form-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 15px;
}

.contact-form-panel label i {
    color: #2563eb;
    font-size: 16px;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-form-panel textarea {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    display: block;
    text-align: right;
    color: #6b7280;
    font-size: 13px;
    margin-top: 8px;
}

.contact-form-panel .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-form-panel .btn {
    flex: 1;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-form-panel .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.contact-form-panel .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.contact-form-panel .btn-primary:active {
    transform: translateY(0);
}

.contact-form-panel .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-form-panel .btn-secondary {
    background: #f3f4f6;
    color: #4b5563;
}

.contact-form-panel .btn-secondary:hover {
    background: #e5e7eb;
}

.contact-history {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-history h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: #1f2937;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.contact-history h3 i {
    color: #2563eb;
}

#messageHistoryList {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-history-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.message-history-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.message-history-card.replied {
    border-left: 4px solid #10b981;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.05), #f9fafb);
}

.message-history-card.pending {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.05), #f9fafb);
}

.message-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.message-history-header h4 {
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
    flex: 1;
}

.message-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.message-status.replied {
    background: #d1fae5;
    color: #065f46;
}

.message-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.message-history-content {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border-left: 3px solid #e5e7eb;
}

.message-reply {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 10px;
    border-left: 3px solid #10b981;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #065f46;
    font-size: 14px;
}

.reply-header i {
    font-size: 16px;
}

.reply-content {
    color: #1f2937;
    line-height: 1.6;
}

.message-history-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.message-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
}

.message-date i {
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        gap: 20px;
    }
    
    .contact-info-box {
        padding: 30px 20px;
    }
    
    .contact-info-box h3 {
        font-size: 22px;
    }
    
    .contact-info-box p {
        font-size: 14px;
    }
    
    .contact-features {
        gap: 15px;
    }
    
    .contact-feature {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .contact-form-panel {
        padding: 25px 20px;
    }
    
    .contact-form-panel .form-actions {
        flex-direction: column;
    }
    
    .contact-form-panel .btn {
        width: 100%;
    }
    
    .contact-history {
        padding: 20px 15px;
    }
    
    .contact-history h3 {
        font-size: 18px;
    }
    
    .message-history-card {
        padding: 20px 15px;
    }
    
    .message-history-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .message-status {
        align-self: flex-start;
    }
}

/* ===============================================
   AI ASSISTANT STYLES
   =============================================== */
.ai-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ai-ticket-balance {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    animation: slideDown 0.5s ease;
}

.ticket-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
}

.ticket-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ticket-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.ticket-count {
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.buy-tickets-btn {
    background: white;
    color: #2563eb;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buy-tickets-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ai-chat-container {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 600px;
    animation: slideUp 0.5s ease;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 8px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

.ai-welcome-message {
    display: flex;
    gap: 15px;
    animation: fadeIn 0.5s ease;
}

.ai-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.ai-message-content {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
}

.ai-message-content h3 {
    color: #2563eb;
    font-size: 20px;
    margin-bottom: 10px;
}

.ai-message-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.ai-message-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.ai-message-content ul li {
    color: #666;
    padding: 8px 0;
    padding-left: 5px;
}

.ai-message-content strong {
    color: #2563eb;
}

.user-message {
    display: flex;
    justify-content: flex-end;
    animation: slideInRight 0.3s ease;
}

.user-message-content {
    background: #2563eb;
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 70%;
    word-wrap: break-word;
}

.ai-response {
    display: flex;
    gap: 15px;
    animation: slideInLeft 0.3s ease;
}

.ai-response-content {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    max-width: 85%;
}

.ai-response-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 10px;
}

.ai-response-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 10px 0;
}

.ai-response-content code {
    background: #1e293b;
    color: #22c55e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.ai-typing {
    display: flex;
    gap: 15px;
    animation: fadeIn 0.3s ease;
}

.ai-typing-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    gap: 8px;
}

.ai-typing-dot {
    width: 10px;
    height: 10px;
    background: #2563eb;
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.ai-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.ai-chat-input-area {
    border-top: 1px solid #e5e7eb;
    padding: 20px 25px;
}

.ai-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.ai-chat-input {
    flex: 1;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 150px;
    transition: border-color 0.3s;
}

.ai-chat-input:focus {
    outline: none;
    border-color: #2563eb;
}

.ai-send-btn {
    width: 45px;
    height: 45px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.ai-send-btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

.ai-send-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.ai-input-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #6b7280;
}

.ai-quick-actions {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: slideUp 0.5s ease 0.2s both;
}

.ai-quick-actions h3 {
    color: #1f2937;
    font-size: 18px;
    margin-bottom: 20px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quick-action-btn {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.quick-action-btn i {
    font-size: 24px;
    color: #2563eb;
}

.quick-action-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.quick-action-btn:hover i {
    color: white;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buy Tickets Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #1f2937;
    font-size: 24px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #ef4444;
}

.modal-body {
    padding: 25px;
}

.ticket-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.ticket-package {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.ticket-package:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.ticket-package.featured {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    color: white;
}

.package-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.package-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ticket-package h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.ticket-package.featured h3 {
    color: white;
}

.package-price {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.ticket-package.featured .package-price {
    color: rgba(255, 255, 255, 0.9);
}

.package-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.ticket-package.featured .package-btn {
    background: white;
    color: #2563eb;
}

.package-btn:hover {
    transform: scale(1.05);
}

/* Responsive AI */
@media (max-width: 768px) {
    .ai-ticket-balance {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .ticket-count {
        font-size: 28px;
    }
    
    .ai-chat-container {
        height: 500px;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-message-content,
    .ai-response-content {
        max-width: 85%;
    }
    
    .ticket-packages {
        grid-template-columns: 1fr;
    }
}

/* ===============================================
   AI LOCKED STATE
   =============================================== */
.menu-item-locked {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: all !important;
}

.menu-item-locked:hover {
    background: transparent !important;
    color: #6b7280 !important;
}

.menu-item-locked .fa-lock {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.ai-section-locked {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(50%);
    position: relative;
}

.ai-section-locked::before {
    content: '🔒 Under Construction';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 60px;
    border-radius: 20px;
    font-size: 28px;
    font-weight: 700;
    color: #6b7280;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 100;
    pointer-events: all;
    border: 3px solid #e5e7eb;
}

.coming-soon-badge {
    background: #f59e0b !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===============================================
   NOTIFICATION STYLES
   =============================================== */

.notification-item {
    transition: all 0.3s ease;
}

.notification-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.notification-unread {
    position: relative;
}

.notification-unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2563eb, #3b82f6);
}

.loading-state,
.empty-state,
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loading-state i,
.empty-state i,
.error-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading-state i {
    color: #2563eb;
}

.error-state i {
    color: #ef4444;
}

.loading-state p,
.empty-state p,
.error-state p {
    color: #6b7280;
    font-size: 1rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
