.discord-dashboard {
   /*  max-width: 1800px;  */
    margin: 0 auto;
    padding: 0px 20px;
    background: #0f172a;
	border-radius: 16px;
    color: #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.dashboard-header h1 {
    font-size: 3em;
    margin: 0 0 10px 0;
    background: linear-gradient(45deg, #5865f2, #eb459e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-header p {
    font-size: 1.2em;
    opacity: 0.8;
    margin-bottom: 20px;
}

.add-server-btn {
    padding: 12px 25px;
    background: linear-gradient(45deg, #5865f2, #4752c4);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.add-server-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    border: 1px solid #475569;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    margin: 0;
    color: #5865f2;
    font-size: 1.5em;
}

.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 30px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #5865f2;
}

.form-group .description {
    font-size: 0.9em;
    opacity: 0.7;
    margin-top: 5px;
}

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

.cancel-btn {
    flex: 1;
    padding: 12px;
    background: #64748b;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cancel-btn:hover {
    background: #475569;
}

.submit-btn {
    flex: 2;
    padding: 12px;
    background: linear-gradient(45deg, #5865f2, #4752c4);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.filters-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #1e293b;
    color: #e2e8f0;
    font-size: 16px;
}

.filter-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-controls select {
    padding: 12px;
    border: 1px solid #475569;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 16px;
    cursor: pointer;
}

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

.stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #475569;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5em;
}

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

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #5865f2;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.8;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.server-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #475569;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: #5865f2;
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.2);
}

.server-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.server-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #5865f2;
    object-fit: cover;
    background: #1e293b;
}

.server-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #5865f2;
    margin: 0;
}

.server-description {
    color: #94a3b8;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.vote-section {
    background: rgba(30, 41, 59, 0.7);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.vote-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.vote-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.vote-legit {
    background: #10b981;
    color: white;
}

.vote-legit:hover, .vote-legit.active {
    background: #059669;
    transform: translateY(-2px);
}

.vote-scam {
    background: #ef4444;
    color: white;
}

.vote-scam:hover, .vote-scam.active {
    background: #dc2626;
    transform: translateY(-2px);
}

.vote-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.vote-ratio {
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
    padding: 5px;
    border-radius: 4px;
}

.ratio-high {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.ratio-medium {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.ratio-low {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

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

.action-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: #374151;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.action-btn:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.action-btn.primary {
    background: #5865f2;
}

.action-btn.primary:hover {
    background: #4752c4;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    padding: 10px 15px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #374151;
}

.page-btn.active {
    background: #5865f2;
    border-color: #5865f2;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #374151;
    border-left: 4px solid #5865f2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.floating-message.success {
    background: #10b981;
}

.floating-message.error {
    background: #dc2624;
}

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

.no-servers {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-servers p {
    font-size: 1.2em;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .discord-dashboard {
        padding: 15px;
    }
    
    .dashboard-header h1 {
        font-size: 2em;
    }
    
    .filters-section {
        flex-direction: column;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .vote-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.8em;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .filter-controls select {
        width: 100%;
    }
}



/* Comments info section */
.comments-info {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #475569;
}

.comments-count {
    color: #94a3b8;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 12px;
}

.comments-count:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comments-count {
        font-size: 0.85em;
    }
}