/* Admin Dashboard Styles */
.admin-dashboard {
    padding: 40px 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.admin-header {
    margin-bottom: 40px;
}

.admin-header h1 {
    color: #ff2c2c;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.stat-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 44, 44, 0.2);
}

.stat-card i {
    font-size: 32px;
    color: #ff2c2c;
    width: 50px;
    text-align: center;
}

.stat-card h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.tab-btn:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
    color: #ff2c2c;
}

.tab-btn.active {
    background: #ff2c2c;
    border-color: #ff2c2c;
    color: #fff;
}

/* Admin notification badge */
.admin-notification-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 2px solid #1a1a1a;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    display: none; /* Hidden by default, shown when count > 0 */
}

.tab-content {
    display: none;
}

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

.admin-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 44, 44, 0.1);
}

.admin-section h2 {
    color: #ff2c2c;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-section h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Form Styles */
.notification-form,
.poll-form {
    background: rgba(255, 44, 44, 0.05);
    border: 1px solid rgba(255, 44, 44, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff2c2c;
    background: rgba(255, 44, 44, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff2c2c 0%, #801515 100%);
    border: none;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-secondary:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
    color: #ff2c2c;
}

/* Notifications List */
.recent-notifications {
    margin-top: 30px;
}

.recent-notifications h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-notifications h3::before {
    content: "📋";
    font-size: 16px;
}

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

.notification-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-content h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.notification-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 0 0 5px 0;
}

.notification-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

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

.notification-action-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-action-btn:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
    color: #ff2c2c;
}

/* Admin notification list specific styles */
#adminNotificationsList .notification-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

#adminNotificationsList .notification-content {
    flex: 1;
}

#adminNotificationsList .notification-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

#adminNotificationsList .notification-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

#adminNotificationsList .notification-url {
    color: rgba(59, 130, 246, 0.9);
    font-size: 13px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

#adminNotificationsList .notification-url i {
    color: #3b82f6;
    font-size: 12px;
}

#adminNotificationsList .notification-url a {
    color: #3b82f6;
    text-decoration: none;
    word-break: break-all;
}

#adminNotificationsList .notification-url a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

#adminNotificationsList .notification-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#adminNotificationsList .notification-time,
#adminNotificationsList .notification-category,
#adminNotificationsList .notification-recipients {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
}

#adminNotificationsList .notification-category {
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#adminNotificationsList .notification-category-system {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

#adminNotificationsList .notification-category-bugfix {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

#adminNotificationsList .notification-category-feature {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

#adminNotificationsList .notification-category-comments {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

#adminNotificationsList .notification-recipients {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

#adminNotificationsList .notification-actions {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

#adminNotificationsList .delete-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

#adminNotificationsList .delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fff;
    transform: translateY(-1px);
}

/* Polls List */
.polls-list {
    max-height: 400px;
    overflow-y: auto;
}

.poll-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.poll-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.poll-question {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.poll-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poll-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.poll-status.inactive {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.poll-status.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.poll-status.expired {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.poll-options {
    margin-bottom: 15px;
}

.poll-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.poll-option-text {
    color: #ccc;
    font-size: 14px;
}

.poll-option-votes {
    color: #ff2c2c;
    font-size: 12px;
    font-weight: 600;
}

.poll-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.poll-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 12px;
}

.poll-stat i {
    color: #ff2c2c;
    font-size: 14px;
}

.poll-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 12px;
}

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

.notification-action-btn.chart-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.notification-action-btn.chart-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #fff;
    transform: translateY(-1px);
}

/* Poll Chart Modal */
.poll-chart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.poll-chart-modal.show {
    opacity: 1;
    visibility: visible;
}

.poll-chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.poll-chart-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 16px;
    padding: 25px;
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.poll-chart-modal.show .poll-chart-container {
    transform: scale(1) translateY(0);
}

.poll-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 44, 44, 0.3);
}

.poll-chart-header h3 {
    color: #ff2c2c;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.poll-chart-header h3 i {
    font-size: 22px;
}

.poll-chart-question {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.poll-chart-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#pollChartCanvas {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.poll-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.poll-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.poll-chart-legend-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.poll-chart-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #fff;
    flex-shrink: 0;
}

.poll-chart-legend-label {
    color: #fff;
    font-weight: 500;
    flex: 1;
}

.poll-chart-legend-value {
    color: #ff2c2c;
    font-weight: 600;
    font-size: 14px;
}

.poll-chart-stats {
    display: flex;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.poll-chart-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 14px;
}

.poll-chart-stat i {
    color: #ff2c2c;
    font-size: 16px;
}

/* Mobile Responsive for Chart Modal */
@media (max-width: 768px) {
    .poll-chart-container {
        padding: 20px;
        max-width: 100%;
    }
    
    .poll-chart-header h3 {
        font-size: 18px;
    }
    
    .poll-chart-question {
        font-size: 14px;
    }
    
    #pollChartCanvas {
        width: 300px;
        height: 300px;
    }
    
    .poll-chart-legend-item {
        padding: 8px 12px;
    }
    
    .poll-chart-legend-color {
        width: 16px;
        height: 16px;
    }
}

/* Users Table */
.users-table {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    background: rgba(255, 44, 44, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.table-actions input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff;
    font-size: 12px;
    width: 200px;
}

.table-actions input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.table-container {
    overflow-x: auto;
}

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

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(255, 44, 44, 0.1);
    color: #ff2c2c;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    color: #fff;
    font-size: 14px;
}

.loading-cell {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2c2c 0%, #801515 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

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

.user-action-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-action-btn:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
    color: #ff2c2c;
}

/* Analytics */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.chart-container h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.top-content {
    max-height: 300px;
    overflow-y: auto;
}

.top-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-item:last-child {
    border-bottom: none;
}

.top-item-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.top-item-count {
    color: #ff2c2c;
    font-size: 12px;
    font-weight: 600;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    gap: 15px;
}

.loading-spinner i {
    font-size: 24px;
    color: #ff2c2c;
}

.loading-spinner span {
    font-size: 14px;
    font-weight: 500;
}

/* Admin Link in Dropdown */
.admin-link {
    background: rgba(255, 44, 44, 0.1) !important;
    border-left: 3px solid #ff2c2c !important;
}

.admin-link:hover {
    background: rgba(255, 44, 44, 0.2) !important;
    color: #ff2c2c !important;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    max-width: 400px;
    word-wrap: break-word;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-color: #22c55e;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.toast.error {
    border-color: #ef4444;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.toast i {
    font-size: 18px;
    flex-shrink: 0;
}

.toast.success i {
    color: #22c55e;
}

.toast.error i {
    color: #ef4444;
}

.toast.info i {
    color: #3b82f6;
}

/* Mobile responsive styles for toast */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        max-width: none;
        font-size: 13px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .toast-container {
        top: 5px;
        right: 5px;
        left: 5px;
    }
    
    .toast {
        font-size: 12px;
        padding: 10px 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .table-actions {
        justify-content: center;
    }
    
    .table-actions input {
        width: 100%;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-section {
        padding: 20px;
    }
    
    .notification-form,
    .poll-form {
        padding: 20px;
    }
}

/* Feedback System Styles */
.feedback-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.feedback-filters .filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feedback-list {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 12px;
    overflow: hidden;
    max-height: 600px;
    overflow-y: auto;
}

.feedback-item {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 44, 44, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feedback-item:hover {
    background: rgba(255, 44, 44, 0.05);
}

.feedback-item:last-child {
    border-bottom: none;
}

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

.feedback-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.feedback-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.feedback-type {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-type.bug_report {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.feedback-type.feature_request {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
}

.feedback-type.general_feedback {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.feedback-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-status.open {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
}

.feedback-status.in_progress {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
}

.feedback-status.resolved {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.feedback-status.closed {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff;
}

.feedback-priority {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.feedback-priority.low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.feedback-priority.medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid #fbbf24;
}

.feedback-priority.high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 1px solid #f97316;
}

.feedback-priority.critical {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.feedback-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.feedback-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.feedback-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.feedback-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

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

.feedback-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.feedback-action-btn:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
    color: #ff2c2c;
}

.feedback-action-btn.reply-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #3b82f6;
}

.feedback-action-btn.status-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #22c55e;
}

.feedback-action-btn.delete-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.feedback-action-btn.delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fff;
    transform: translateY(-1px);
}

/* Feedback Modal */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feedback-modal.show {
    display: flex;
}

.feedback-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 44, 44, 0.3);
}

.feedback-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 44, 44, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h3 {
    color: #ff2c2c;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.feedback-modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.feedback-replies {
    margin-bottom: 20px;
}

.feedback-reply {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

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

.feedback-reply-author {
    color: #ff2c2c;
    font-weight: 600;
    font-size: 14px;
}

.feedback-reply-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.feedback-reply-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
}

.feedback-reply-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.feedback-reply-form h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.feedback-reply-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
}

.feedback-reply-form textarea:focus {
    outline: none;
    border-color: #ff2c2c;
    background: rgba(255, 255, 255, 0.15);
}

.feedback-reply-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.feedback-reply-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-reply {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-close-modal {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
    color: #ff2c2c;
}

/* Empty State */
.feedback-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.feedback-empty-state i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.feedback-empty-state h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.feedback-empty-state p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Feedback Closed Notice */
.feedback-closed-notice {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.feedback-closed-notice i {
    font-size: 24px;
    color: #6b7280;
    margin-bottom: 10px;
    display: block;
}

.feedback-closed-notice p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 0 15px 0;
}

.feedback-closed-notice .btn-close-modal {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-closed-notice .btn-close-modal:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
    color: #ff2c2c;
}

/* Status Modal */
.status-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.status-modal.show {
    display: flex;
}

.status-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 44, 44, 0.3);
}

.status-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 44, 44, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-modal-header h3 {
    color: #ff2c2c;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.status-modal-body label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.status-modal-body select {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 44, 44, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: #ff2c2c;
    font-size: 14px;
    transition: all 0.3s ease;
}

.status-modal-body select:focus {
    outline: none;
    border-color: #ff2c2c;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 44, 44, 0.1);
}

.status-modal-body select option {
    background: #1a1a1a;
    color: #ff2c2c;
    padding: 8px;
}

.status-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Unread Reply Indicators */
.feedback-item.has-unread-replies {
    border-left: 4px solid #ff2c2c;
    background: rgba(255, 44, 44, 0.05);
}

.feedback-item.has-unread-replies .feedback-title {
    color: #ff2c2c;
    font-weight: 700;
}

.unread-indicator {
    color: #ff2c2c;
    font-size: 8px;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.unread-replies-badge {
    background: linear-gradient(135deg, #ff2c2c 0%, #dc2626 100%);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

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