/* ContentBot Main Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2a2a2a;
    border-top: 3px solid #5865f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #888;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #e0e0e0;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-right: 1px solid #2a2a2a;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid #2a2a2a;
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nav-menu {
    padding: 20px 0;
}

.nav-item {
    display: block;
    padding: 12px 20px;
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
    border-left-color: #5865f2;
}

.nav-item.active {
    background: rgba(88, 101, 242, 0.15);
    color: #5865f2;
    border-left-color: #5865f2;
}

.nav-icon {
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    margin-left: 240px;
    min-height: 100vh;
    background: #0f0f0f;
}

.top-bar {
    height: 70px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 500;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #5865f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* Content Area */
.content {
    padding: 30px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-primary {
    background: #5865f2;
    color: white;
}

.btn-primary:hover {
    background: #4752c4;
}

.btn-success {
    background: #00d26a;
    color: white;
}

.btn-success:hover {
    background: #00b359;
}

.btn-danger {
    background: #ed4245;
    color: white;
}

.btn-danger:hover {
    background: #c73e41;
}

.btn-outline {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #3a3a3a;
}

.btn-outline:hover {
    background: #2a2a2a;
    border-color: #fff;
    color: #fff;
}

.add-bot-btn {
    background: #5865f2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.add-bot-btn:hover {
    background: #4752c4;
}

/* Cards */
.card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

/* Bot Cards */
.bot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.bot-card-square {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bot-card-square:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #5865f2;
    margin-bottom: 5px;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Time Filter Buttons */
.time-filter-btn {
    background: #2a2a2a;
    border: 1px solid #404040;
    color: #b0b0b0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.time-filter-btn:hover {
    background: #353535;
    color: #fff;
    border-color: #5865f2;
}

.time-filter-btn.active {
    background: #5865f2;
    color: white;
    border-color: #5865f2;
}

/* Stat Cards Below Chart */
.stat-card-inline {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card-inline:hover {
    border-color: #5865f2;
    transform: translateY(-2px);
}

/* Chart Tooltip Styling */
.chart-tooltip {
    background: rgba(26, 26, 26, 0.95) !important;
    border: 1px solid #5865f2 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    backdrop-filter: blur(10px) !important;
}

.chart-tooltip .tooltip-title {
    color: #5865f2 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

.chart-tooltip .tooltip-body {
    line-height: 1.5 !important;
}

.chart-tooltip .tooltip-label {
    display: flex !important;
    align-items: center !important;
    margin: 4px 0 !important;
}

.chart-tooltip .tooltip-color-box {
    width: 12px !important;
    height: 12px !important;
    margin-right: 8px !important;
    border-radius: 2px !important;
}

.chart-tooltip .tooltip-value {
    font-weight: 600 !important;
    color: #fff !important;
}

/* Dropdown Styles */
.time-filter-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: #2a2a2a;
    border: 1px solid #404040;
    color: #e0e0e0;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.dropdown-btn:hover {
    background: #353535;
    border-color: #5865f2;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #e0e0e0;
    transition: all 0.2s ease;
    border-bottom: 1px solid #404040;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #5865f2;
    color: #fff;
}

.dropdown-item:first-child {
    border-radius: 6px 6px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 6px 6px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #00d26a;
}

.notification.error {
    background: #ed4245;
}

.notification.info {
    background: #3ba55d;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #b0b0b0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.empty-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.empty-subtitle {
    font-size: 0.9rem;
}

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #b0b0b0;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .content {
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .bot-grid {
        grid-template-columns: 1fr;
    }
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.nav-dropdown.expanded .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-subitem {
    display: block;
    padding: 10px 15px;
    color: #b0b0b0;
    text-decoration: none;
    transition: background 0.2s ease;
    border-bottom: 1px solid #3a3a3a;
}

.nav-subitem:hover {
    background: #3a3a3a;
    color: #fff;
}

.nav-subitem:last-child {
    border-bottom: none;
}

.server-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.server-status.online {
    background: #00d26a;
}

.server-status.offline {
    background: #747f8d;
}

/* Activity Items */
.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-text {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.activity-time {
    color: #b0b0b0;
    font-size: 0.8rem;
}

/* Category Items */
.category-item {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: #e0e0e0;
    text-align: center;
}

.category-item:hover {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

.category-item.active {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
}

/* Restore modal için daha geniş layout */
#restoreBackupModal .modal-content {
    max-width: 1200px;
    width: 98%;
    min-width: 1000px;
    padding: 25px;
}

/* Restore modal responsive tasarım */
@media (max-width: 1100px) {
    #restoreBackupModal .modal-content {
        min-width: 90%;
        width: 95%;
        max-width: 95%;
    }
}

/* Restore modal içerik alanları */
#restoreBackupModal .modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Restore modal form element spacing */
#restoreBackupModal .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#restoreBackupModal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

#restoreBackupModal .custom-dropdown {
    min-height: 45px;
}

/* Restore modal header style override - mavi renk kaldır */
#restoreBackupModal .modal-header {
    border-bottom: 1px solid #2a2a2a;
}

/* Dropdown hover altındaki çizgiyi kaldır */
#restoreBackupModal .dropdown-option:hover::before,
#restoreBackupModal .dropdown-option::before {
    display: none !important;
    width: 0 !important;
}

/* Restore modal dropdown hover effects - mavi renkler kaldır */
#restoreBackupModal .dropdown-option:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.05));
    transform: translateX(2px);
}

#restoreBackupModal .dropdown-option:hover .server-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Backup Overview Modal */
#backupOverviewModal .modal-content {
    max-width: 900px;
}

/* Backup Overview Styles */
.overview-section {
    margin-bottom: 25px;
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border: 1px solid #667eea;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.overview-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
}

.overview-section-title {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.overview-section-title::before {
    content: '📊';
    font-size: 1.2rem;
}

.overview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.overview-item:last-child {
    border-bottom: none;
}

.overview-item-label {
    color: #e0e0e0;
    font-weight: 500;
}

.overview-item-value {
    color: #667eea;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
}
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 1.8rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #2a2a2a;
    color: #fff;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #5865f2;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}

.form-control::placeholder {
    color: #747f8d;
}

/* Settings Page Styles */
.settings-section {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.settings-section h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #2a2a2a;
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.settings-info p {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #3a3a3a;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.toggle-switch.active {
    background: #5865f2;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.toggle-switch.active::after {
    transform: translateX(26px);
}

/* Icon Styles */
.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.page-title-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

.page-title-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.card-title-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
}

.card-title-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #e0e0e0;
}

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    z-index: 1000;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.landing-nav-item {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.landing-nav-item:hover {
    color: #5865f2;
}

.landing-nav-dropdown {
    position: relative;
}

.landing-nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.landing-nav-dropdown:hover .landing-nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.landing-nav-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.landing-nav-dropdown-item:hover {
    background: #2a2a2a;
    color: #5865f2;
}

.dropdown-item-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-top: 2px;
    flex-shrink: 0;
}

.dropdown-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.dropdown-desc {
    font-size: 0.8rem;
    color: #747f8d;
    line-height: 1.3;
}

.premium-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000 !important;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.premium-btn:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.landing-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 100px 50px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.landing-hero p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.landing-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-cta-primary {
    background: #5865f2;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-primary:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: #e0e0e0;
    padding: 15px 30px;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-secondary:hover {
    border-color: #5865f2;
    color: #5865f2;
    transform: translateY(-2px);
}

.landing-trusted {
    text-align: center;
    margin-top: 80px;
}

.landing-trusted h3 {
    font-size: 1.1rem;
    color: #747f8d;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.landing-servers {
    display: flex;
    gap: 40px;
    animation: scroll-left 30s linear infinite;
    width: max-content;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.landing-server-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.landing-server-card:hover {
    background: #2a2a2a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.server-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.landing-server-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #5865f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.server-info {
    flex: 1;
}

.landing-server-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.landing-server-members {
    font-size: 0.85rem;
    color: #b0b0b0;
}

/* Channel Selection Styles */
.server-channel-selected {
    background: #00d26a !important;
    border-color: #00d26a !important;
    color: #fff !important;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 210, 106, 0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.server-channel-selected div {
    color: #fff !important;
}

.source-channel-selected {
    background: #5865f2 !important;
    border-color: #5865f2 !important;
    color: #fff !important;
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.source-channel-selected div {
    color: #fff !important;
}

/* Channel item hover effects */
.server-channel-item,
.source-channel-item {
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 2px;
    position: relative;
}

.server-channel-item:hover:not(.server-channel-selected),
.source-channel-item:hover:not(.source-channel-selected) {
    background: #2a2a2a !important;
    transform: translateX(5px);
    border-left: 3px solid #5865f2;
}

/* Selected indicator */
.server-channel-selected::before {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}

.source-channel-selected::before {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-header {
        padding: 0 20px;
    }
    
    .landing-nav {
        display: none;
    }
    
    .landing-hero {
        padding: 120px 20px 50px;
    }
    
    .landing-hero h1 {
        font-size: 2.5rem;
    }
    
    .landing-hero p {
        font-size: 1rem;
    }
    
    .landing-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .landing-servers {
        gap: 20px;
    }
    
    .landing-server-card {
        min-width: 150px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .landing-hero h1 {
        font-size: 2rem;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Features Section Styles */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-image {
    width: 100%;
}

.feature-placeholder {
    background: #1a1a1a;
    border: 2px dashed #3a3a3a;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-placeholder:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.05);
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.feature-content li {
    color: #e0e0e0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.feature-content li:before {
    content: "";
    position: absolute;
    left: 0;
    color: #00d26a;
    font-weight: bold;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #5865f2;
    border: 2px solid #5865f2;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.feature-btn:hover {
    background: #5865f2;
    color: #fff;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    border-radius: 20px;
    padding: 60px;
    margin-top: 80px;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

/* Footer Styles */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #5865f2;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.lang-flag {
    font-size: 1.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
    color: #747f8d;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    transition: transform 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
}

/* Responsive Features */
@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cta-section {
        padding: 40px 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-text h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Server Management Styles */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 0;
}

.tab-thistton {
    background: none;
    border: none;
    padding: 15px 20px;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
}

.tab-thistton:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-thistton.active {
    color: #5865f2;
    border-bottom-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
}

.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.action-thistton {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    text-align: left;
}

.action-thistton:hover {
    background: #3a3a3a;
    border-color: #5865f2;
    transform: translateY(-1px);
}

.action-thistton span {
    font-size: 1.5rem;
    min-width: 24px;
}

.action-thistton div strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

.action-thistton div small {
    color: #b0b0b0;
    font-size: 0.8rem;
}

.channel-item,
.role-item,
.member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #2a2a2a;
    border-radius: 6px;
    border: 1px solid #3a3a3a;
    transition: all 0.2s ease;
}

.channel-item:hover,
.role-item:hover,
.member-item:hover {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

.settings-section {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 20px;
}

.setting-item {
    margin-bottom: 15px;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Report Status Badges */
.report-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.report-status.pending {
    background: linear-gradient(135deg, #ff9500 0%, #ff7b00 100%);
    color: white;
    border: 1px solid #e8860d;
}

.report-status.reviewed {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    border: 1px solid #4752c4;
}

.report-status.resolved {
    background: linear-gradient(135deg, #57f287 0%, #3ba55c 100%);
    color: white;
    border: 1px solid #3ba55c;
}

.report-status.dismissed {
    background: linear-gradient(135deg, #f04747 0%, #d73027 100%);
    color: white;
    border: 1px solid #d73027;
}

/* Custom Checkbox Styling */
.custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 10px;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    height: 20px;
    width: 20px;
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: #5865f2;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}

.custom-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border-color: #4752c4;
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* === PROFILE DROPDOWN UNIVERSAL STYLES === */
.user-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer !important;
    transition: all 0.3s ease;
    border: 2px solid #3a3a3a;
    background-size: cover;
    background-position: center;
}

.user-avatar:hover {
    transform: scale(1.1);
    border-color: #5865f2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.user-dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

.user-dropdown-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid #404040;
    margin-bottom: 8px;
}

.user-dropdown-header .username {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}

.user-dropdown-header .status {
    font-size: 12px;
    color: #00c851;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-dropdown-header .status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00c851;
    border-radius: 50%;
}

.dropdown-item {
    width: 100%;
    background: none;
    border: none;
    color: #ccc;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    font-size: 14px;
    text-decoration: none;
}

.dropdown-item:hover {
    background: #404040;
    color: #fff;
    padding-left: 24px;
}

.dropdown-item i {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.dropdown-separator {
    height: 1px;
    background: #404040;
    margin: 8px 0;
}

.logout-btn {
    color: #ff6b6b !important;
}

.logout-btn:hover {
    background: #ff6b6b !important;
    color: #fff !important;
}

/* Instant auth state - no flickering */
/* Default: hide everything until auth is checked */
body:not(.auth-checked) #notLoggedIn { display: none !important; }
body:not(.auth-checked) #loggedIn { display: none !important; }

/* When auth is checked and user is authenticated */
body.auth-checked:not(.no-auth) #notLoggedIn { display: none !important; }
body.auth-checked:not(.no-auth) #loggedIn { display: flex !important; }

/* When auth is checked and user is NOT authenticated */
body.auth-checked.no-auth #notLoggedIn { display: flex !important; }
body.auth-checked.no-auth #loggedIn { display: none !important; }

/* Login required elements */
body:not(.auth-checked) .login-required { display: none !important; }
body.auth-checked:not(.no-auth) .login-required { display: none !important; }
body.auth-checked.no-auth .login-required { display: flex !important; }

/* User info elements */

/* Advanced Server Selection UI */
.server-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a3a3a;
}

.server-list-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
}

.refresh-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.server-list {
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    background: #2a2a2a;
}

.server-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #3a3a3a;
    position: relative;
}

.server-item:last-child {
    border-bottom: none;
}

.server-item:hover {
    background: #3a3a3a;
    transform: translateX(3px);
}

.server-item.selected {
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-left: 4px solid #667eea;
}

.server-item.bot-available {
    border-left: 3px solid #28a745;
}

.server-item.bot-required {
    border-left: 3px solid #dc3545;
    opacity: 0.7;
}

.server-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-info {
    flex: 1;
    min-width: 0;
}

.server-name {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-status {
    font-size: 12px;
    opacity: 0.8;
}

.server-status.bot-available {
    color: #28a745;
}

.server-status.bot-required {
    color: #dc3545;
}

.server-select-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.server-item.selected .server-select-indicator {
    opacity: 1;
}

.server-loading, .no-servers, .server-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #cccccc;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #3a3a3a;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-servers-icon, .error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.no-servers h3, .server-error h3 {
    margin: 10px 0;
    color: #ffffff;
}

.no-servers p, .server-error p {
    margin: 10px 0 20px;
    opacity: 0.8;
}

.refresh-btn, .retry-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.refresh-btn:hover, .retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .server-item {
        padding: 10px 12px;
    }
    
    .server-icon {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
    
    .server-name {
        font-size: 14px;
    }
    
    .server-status {
        font-size: 11px;
    }
}
body:not(.auth-checked) .user-info { display: none !important; }
body.auth-checked:not(.no-auth) .user-info { display: flex !important; }
body.auth-checked.no-auth .user-info { display: none !important; }

/* ===== CLEAN SERVER CARDS SYSTEM ===== */

/* Server Cards Container */
.server-cards-container,
.servers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    padding: 20px !important;
    background: transparent !important;
    border: none !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Main Server Card Styling */
.server-card {
    /* Base Layout */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    
    /* Size & Spacing */
    min-height: 220px !important;
    max-height: 280px !important;
    padding: 24px !important;
    margin: 0 !important;
    
    /* Appearance */
    background: linear-gradient(145deg, #1e1e1e, #252525) !important;
    border: 2px solid #3a3a3a !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    
    /* Interaction */
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.server-card:hover {
    background: linear-gradient(145deg, #2a2a2a, #333) !important;
    border-color: #5865f2 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.15) !important;
}

.server-card.selected {
    background: linear-gradient(145deg, #1e1e2e, #252535) !important;
    border-color: #5865f2 !important;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.25) !important;
}

/* ===== SERVER CARD INTERNAL STRUCTURE ===== */

/* Header Section - First Child */
.server-card > div:first-child,
.server-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    gap: 15px !important;
}

/* Left side of header (icon + title + id) */
.server-card > div:first-child > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* Server Title Row (icon + name) */
.server-card > div:first-child > div:first-child > div:first-child,
.server-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

/* Server Icon */
.server-card > div:first-child > div:first-child > div:first-child > div,
.server-card .server-icon {
    width: 52px !important;
    height: 52px !important;
    background: linear-gradient(135deg, #5865f2, #4752c4) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 1.4rem !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 10px rgba(88, 101, 242, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.server-card .server-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Server ID */
.server-card > div:first-child > div:first-child > div:nth-child(2),
.server-card-id {
    font-size: 0.8rem !important;
    color: #8a8a8a !important;
    font-family: 'Monaco', 'Consolas', monospace !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    max-width: fit-content !important;
}

/* Status Indicator (right side of header) */
.server-card > div:first-child > div:last-child,
.server-status-indicator {
    width: 16px !important;
    height: 16px !important;
    background: #00d26a !important;
    border-radius: 50% !important;
    margin-top: 8px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 10px rgba(0, 210, 106, 0.5) !important;
    border: 2px solid rgba(0, 210, 106, 0.3) !important;
}

/* ===== INFO SECTION (Second Child) ===== */
.server-card > div:nth-child(2),
.server-card-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.server-card > div:nth-child(2) > div,
.server-info-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.server-card > div:nth-child(2) > div:last-child {
    border-bottom: none !important;
}

.server-card > div:nth-child(2) > div > span:first-child,
.server-info-label {
    color: #a0a0a0 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.server-card > div:nth-child(2) > div > span:last-child,
.server-info-value {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-align: right !important;
}

/* ===== BOTS SECTION (Third Child) ===== */
.server-card > div:nth-child(3),
.server-bots-section {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 80px !important;
    max-height: 90px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.server-card > div:nth-child(3) > div:first-child,
.server-bots-title {
    color: #a0a0a0 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.server-card > div:nth-child(3) > div:last-child,
.server-bots-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-height: 60px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 8px !important;
    padding-bottom: 8px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #5865f2 transparent !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Custom scrollbar for active bots list */
.server-bots-list::-webkit-scrollbar {
    width: 4px !important;
}

.server-bots-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 2px !important;
}

.server-bots-list::-webkit-scrollbar-thumb {
    background: #5865f2 !important;
    border-radius: 2px !important;
}

.server-bots-list::-webkit-scrollbar-thumb:hover {
    background: #4752c4 !important;
}

.server-card > div:nth-child(3) > div:last-child > span,
.server-bot-tag {
    background: linear-gradient(135deg, #5865f2, #4752c4) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease !important;
}

.server-bot-tag:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4) !important;
}

/* ===== OWNER BADGE (Last Child) ===== */
.server-card > div:last-child,
.server-owner-badge {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    background: linear-gradient(135deg, #00d26a, #00b359) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 210, 106, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.loading-icon, .loading-text, .loading-text-small {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.loading-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.loading-text {
    height: 14px;
    border-radius: 4px;
    margin-bottom: 4px;
    width: 120px;
}

.loading-text-small {
    height: 12px;
    border-radius: 4px;
    width: 80px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.custom-dropdown:hover {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.custom-dropdown.open .dropdown-selected {
    background: linear-gradient(145deg, #222, #2a2a2a);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.selected-server {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.server-icon-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
}

.server-icon-placeholder img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.selected-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-arrow {
    color: #667eea;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(102, 126, 234, 0.5));
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
    color: #764ba2;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border: 1px solid #667eea;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Modal içindeki dropdown'lar için daha yüksek z-index */
.modal .dropdown-options {
    z-index: 99999;
}

/* Restore modal için özel z-index */
#restoreBackupModal .dropdown-options {
    z-index: 999999 !important;
    position: fixed !important;
}

#restoreBackupModal .custom-dropdown {
    z-index: 99998;
    position: relative;
}

.custom-dropdown.open .dropdown-options {
    display: block;
}

.dropdown-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(42, 42, 42, 0.5);
    position: relative;
    overflow: hidden;
}

.dropdown-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
    z-index: 0;
}

.dropdown-option:hover::before {
    width: 4px;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    transform: translateX(2px);
}

.dropdown-option.selected {
    background: linear-gradient(135deg, #667eea25, #764ba225);
    border-left: 4px solid #667eea;
    box-shadow: inset 0 0 15px rgba(102, 126, 234, 0.1);
}

.dropdown-option .server-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
    z-index: 1;
    position: relative;
}

.dropdown-option:hover .server-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.dropdown-option .server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.dropdown-option .server-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    z-index: 1;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Scrollbar styling for dropdown */
.dropdown-options::-webkit-scrollbar {
    width: 8px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 4px;
}

.dropdown-options::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #667eea, #764ba2);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #7289da, #8a5ba3);
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
}

/* Mobile responsive */
/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    .server-cards-container,
    .servers-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .server-card {
        min-height: 200px !important;
        max-height: 240px !important;
        padding: 20px !important;
    }
    
    .server-card .server-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
    }
    
    .server-card-title {
        font-size: 1.1rem !important;
    }
}

/* ===== UNIVERSAL INLINE STYLE OVERRIDES ===== */

/* Reset all inline styles */
.server-card *[style] {
    background: unset !important;
    border: unset !important;
    color: unset !important;
    margin: unset !important;
    padding: unset !important;
    font-size: unset !important;
    font-weight: unset !important;
    display: unset !important;
    flex: unset !important;
    position: unset !important;
    transform: unset !important;
    box-shadow: unset !important;
}

/* Force DarkReader reset */
.server-card *[data-darkreader-inline-bgcolor],
.server-card *[data-darkreader-inline-color],
.server-card *[data-darkreader-inline-border-top],
.server-card *[data-darkreader-inline-border-right],
.server-card *[data-darkreader-inline-border-bottom],
.server-card *[data-darkreader-inline-border-left],
.server-card *[data-darkreader-inline-boxshadow] {
    all: revert !important;
}

/* Reset CSS custom properties */
.server-card[style*="--darkreader-"] *,
.server-card *[style*="--darkreader-"] {
    --darkreader-inline-bgcolor: unset !important;
    --darkreader-inline-border-top: unset !important;
    --darkreader-inline-border-right: unset !important;
    --darkreader-inline-border-bottom: unset !important;
    --darkreader-inline-border-left: unset !important;
    --darkreader-inline-boxshadow: unset !important;
    --darkreader-inline-color: unset !important;
}

/* ===== DASHBOARD SPECIFIC FIXES ===== */

/* Dashboard Discord Servers List */
#discordServersList {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 20px !important;
}

#discordServersList .server-cards-container,
#discordServersList .servers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Dashboard server cards inherit all main styling */
#discordServersList .server-card {
    /* Inherit all main server-card styles */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 220px !important;
    max-height: 280px !important;
    padding: 24px !important;
    margin: 0 !important;
    background: linear-gradient(145deg, #1e1e1e, #252525) !important;
    border: 2px solid #3a3a3a !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

#discordServersList .server-card:hover {
    background: linear-gradient(145deg, #2a2a2a, #333) !important;
    border-color: #5865f2 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.15) !important;
}

/* Dashboard server card components */
#discordServersList .server-card-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    gap: 15px !important;
}

#discordServersList .server-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #36393f center/cover !important;
    flex-shrink: 0 !important;
    border: 2px solid #3a3a3a !important;
}

#discordServersList .server-info {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

#discordServersList .server-name {
    margin: 0 0 6px 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
}

#discordServersList .server-stats {
    margin: 0 0 4px 0 !important;
    color: #b0b0b0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    opacity: 0.9 !important;
}

#discordServersList .server-messages {
    margin: 0 !important;
    color: #5865f2 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

#discordServersList .server-card-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    gap: 12px !important;
}

#discordServersList .server-status {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
}

#discordServersList .server-status.has-bot {
    background: rgba(88, 101, 242, 0.15) !important;
    color: #5865f2 !important;
    border: 1px solid rgba(88, 101, 242, 0.3) !important;
}

#discordServersList .server-status.no-bot {
    background: rgba(114, 118, 125, 0.15) !important;
    color: #72767d !important;
    border: 1px solid rgba(114, 118, 125, 0.3) !important;
}

#discordServersList .server-action-btn {
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    height: auto !important;
    min-width: auto !important;
    flex-shrink: 0 !important;
}