/* Protection and Anti-Dump Styles */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Animated Glowing Text Effects */
@keyframes textGlow {
    0% {
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.5),
                     0 0 10px rgba(0, 255, 255, 0.3),
                     0 0 15px rgba(0, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.8),
                     0 0 20px rgba(0, 255, 255, 0.5),
                     0 0 30px rgba(0, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.5),
                     0 0 10px rgba(0, 255, 255, 0.3),
                     0 0 15px rgba(0, 255, 255, 0.2);
    }
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.3),
                     0 0 10px rgba(0, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 8px rgba(0, 255, 255, 0.6),
                     0 0 15px rgba(0, 255, 255, 0.4);
    }
    100% {
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.3),
                     0 0 10px rgba(0, 255, 255, 0.2);
    }
}

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 5px #00ffff,
                     0 0 10px #00ffff,
                     0 0 15px #00ffff,
                     0 0 20px #00ffff;
    }
    50% {
        text-shadow: 0 0 10px #00ffff,
                     0 0 20px #00ffff,
                     0 0 30px #00ffff,
                     0 0 40px #00ffff;
    }
    100% {
        text-shadow: 0 0 5px #00ffff,
                     0 0 10px #00ffff,
                     0 0 15px #00ffff,
                     0 0 20px #00ffff;
    }
}

/* Allow text selection only in specific areas */
input, textarea, .code-content, .file-content {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Disable text highlighting */
::selection {
    background: transparent;
    color: inherit;
}

::-moz-selection {
    background: transparent;
    color: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0f0f0f;
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.05);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.header-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.header-left h1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    animation: textGlow 3s ease-in-out infinite;
}

.header-left .discord-link {
    font-size: 12px;
    color: #8b9dc3;
    margin: 0;
    font-family: 'Courier New', monospace;
}

.header-stats {
    display: flex;
    gap: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #2a2a2a;
    border-radius: 6px;
    color: #8b9dc3;
    font-size: 12px;
    border: 1px solid #333;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.1);
}

.stat-card i {
    font-size: 14px;
}

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

.header-controls i {
    color: #8b9dc3;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 16px;
}

.header-controls i:hover {
    color: #ffffff;
}

/* Server Info */
.server-info {
    padding: 15px 30px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.server-status {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b9dc3;
    font-size: 14px;
    animation: pulseGlow 4s ease-in-out infinite;
}

.status-item i {
    color: #667eea;
    font-size: 16px;
}

.server-directory h3 {
    color: #8b9dc3;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseGlow 4s ease-in-out infinite;
}

.directory-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.directory-selector input {
    flex: 1;
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.directory-selector input::placeholder {
    color: #8b9dc3;
}

.directory-selector button {
    padding: 12px 20px;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    white-space: nowrap;
    animation: neonGlow 2s ease-in-out infinite;
}

.directory-selector button:hover {
    background: #5a6fd8;
}

/* Main Application Area */
.app-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Resource Explorer */
.resource-explorer {
    width: 350px;
    background: #1a1a1a;
    border-right: 1px solid #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-width: 320px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.08);
}

.resource-explorer h3 {
    color: #8b9dc3;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    animation: pulseGlow 4s ease-in-out infinite;
}

.resource-search {
    margin-bottom: 20px;
}

.resource-search input {
    width: 100%;
    padding: 10px 14px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.resource-search input::placeholder {
    color: #8b9dc3;
    font-style: italic;
}

.resource-search input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #8b9dc3;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.resource-item:hover {
    background: #2a2a2a;
    color: #ffffff;
}

.resource-item.file-item {
    padding: 8px 12px;
    margin-bottom: 6px;
    border-left: 3px solid transparent;
}

.resource-item.file-item:hover {
    background: #667eea;
    color: #ffffff;
    border-left-color: #667eea;
}

.resource-item i {
    color: #667eea;
    font-size: 14px;
    min-width: 16px;
}

.resource-item.file-item i {
    color: #8b9dc3;
    font-size: 13px;
}

.resource-item.file-item:hover i {
    color: #ffffff;
}

.resource-filters {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

/* File Viewer */
.file-viewer {
    margin-top: 15px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-viewer h3 {
    color: #8b9dc3;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.file-info span {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.close-file-btn {
    background: none;
    border: none;
    color: #8b9dc3;
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.close-file-btn:hover {
    color: #ffffff;
}

.file-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    min-height: 200px;
}

.file-content pre {
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.3;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.filter-btn {
    padding: 6px 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #8b9dc3;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
}

.filter-btn:hover {
    background: #3a3a3a;
    color: #ffffff;
}

.filter-btn.active {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
}

/* Content Area */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    overflow-x: auto;
    padding: 0 20px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: none;
    border: none;
    color: #8b9dc3;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #ffffff;
    background: #2a2a2a;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: #2a2a2a;
}

.tab-btn i {
    font-size: 16px;
}

/* Actions Panel */
.actions-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.search-container {
    flex: 1;
    max-width: 300px;
}

.search-container input {
    width: 100%;
    padding: 10px 15px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

.search-container input::placeholder {
    color: #8b9dc3;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #8b9dc3;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    animation: pulseGlow 3s ease-in-out infinite;
}

.action-btn:hover {
    background: #3a3a3a;
    color: #ffffff;
}

.action-btn.active {
    background: #667eea;
    color: #ffffff;
    border-color: #667eea;
}

.action-btn i {
    font-size: 14px;
}

/* Main Content Area */
.main-content-area {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Tab Content */
.tab-content {
    display: none;
    flex: 1;
    overflow: auto;
    padding: 20px;
}

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

/* Results Table */
.results-table {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.08);
}

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

.results-table th {
    background: #2a2a2a;
    padding: 15px;
    text-align: left;
    color: #8b9dc3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseGlow 5s ease-in-out infinite;
}

.results-table td {
    padding: 15px;
    border-top: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
}

.results-table tr:hover {
    background: #2a2a2a;
}

/* Items Table */
.items-table {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.08);
}

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

.items-table th {
    background: #2a2a2a;
    padding: 15px;
    text-align: left;
    color: #8b9dc3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseGlow 5s ease-in-out infinite;
}

.items-table td {
    padding: 15px;
    border-top: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
}

.items-table tr:hover {
    background: #2a2a2a;
}

/* Spammer Container */
.spammer-container {
    display: flex;
    gap: 30px;
    height: 100%;
}

.spammer-left {
    flex: 1;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.08);
}

.spammer-right {
    flex: 1;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.08);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

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

.form-options {
    display: flex;
    gap: 20px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b9dc3;
    font-size: 14px;
    cursor: pointer;
}

.form-options input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Manual Webhook Input */
.manual-webhook-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.manual-webhook-input input {
    flex: 1;
    padding: 10px 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.manual-webhook-input input::placeholder {
    color: #8b9dc3;
}

.manual-webhook-input button {
    padding: 10px 15px;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.manual-webhook-input button:hover {
    background: #5a6fd8;
}

.manual-webhooks-list {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px;
    max-height: 150px;
    overflow-y: auto;
    margin-top: 10px;
}

.manual-webhook-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #3a3a3a;
    transition: background 0.3s ease;
}

.manual-webhook-item:hover {
    background: #4a4a4a;
}

.manual-webhook-item .webhook-url {
    flex: 1;
    font-size: 12px;
    word-break: break-all;
    color: #8b9dc3;
    font-family: 'Courier New', monospace;
}

.manual-webhook-item .remove-btn {
    padding: 4px 8px;
    background: #e74c3c;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.manual-webhook-item .remove-btn:hover {
    background: #c0392b;
}

/* Webhook Selection */
.webhook-selection {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

/* Consolidated Webhook Management */
.webhook-management-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.webhook-input-section {
    margin-bottom: 15px;
}

.webhook-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.webhooks-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
}

.webhook-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #333;
    transition: background-color 0.2s;
}

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

.webhook-item:hover {
    background: #333;
}

.webhook-item.selected {
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
}

.webhook-url {
    flex: 1;
    color: #ffffff;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    margin-right: 10px;
}

.webhook-item .remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 10px;
    transition: background-color 0.2s;
}

.webhook-item .remove-btn:hover {
    background: #c0392b;
}

.webhook-item .select-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 10px;
    margin-right: 5px;
    transition: background-color 0.2s;
}

.webhook-item .select-btn:hover {
    background: #5a6fd8;
}

.webhook-item .select-btn.selected {
    background: #28a745;
}

.webhook-item .select-btn.selected:hover {
    background: #218838;
}

.webhook-list {
    margin-bottom: 15px;
}

.webhook-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.webhook-item:hover {
    background: #3a3a3a;
}

.webhook-item.selected {
    background: #667eea;
    color: #ffffff;
}

.webhook-item input[type="checkbox"] {
    margin: 0;
}

.webhook-item .webhook-url {
    flex: 1;
    font-size: 12px;
    word-break: break-all;
    color: #8b9dc3;
    font-family: 'Courier New', monospace;
}

.webhook-item.selected .webhook-url {
    color: #ffffff;
}

.webhook-controls {
    display: flex;
    gap: 10px;
}

.select-all-btn,
.clear-selection-btn {
    padding: 6px 12px;
    background: #667eea;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.select-all-btn:hover,
.clear-selection-btn:hover {
    background: #5a6fd8;
}

.clear-selection-btn {
    background: #6c757d;
}

.clear-selection-btn:hover {
    background: #5a6268;
}

/* Preview Section */
.preview-section h3 {
    color: #8b9dc3;
    margin-bottom: 15px;
    font-size: 16px;
}

.message-preview {
    display: flex;
    gap: 15px;
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

.message-content {
    flex: 1;
}

.message-username {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 5px;
}

.message-text {
    color: #ffffff;
    margin-bottom: 10px;
}

.message-embed {
    border-left: 4px solid #667eea;
    padding-left: 10px;
    margin-top: 10px;
}

.embed-title {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
}

.embed-description {
    color: #8b9dc3;
    font-size: 14px;
}

/* Spammer Actions */
.spammer-actions {
    margin-top: auto;
}

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

.send-btn,
.clear-btn,
.start-spam-btn,
.stop-spam-btn,
.delete-webhook-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.send-btn {
    background: var(--primary-color);
    color: #ffffff;
    animation: neonGlow 2s ease-in-out infinite;
}

.send-btn:hover {
    background: var(--primary-hover);
}

.clear-btn {
    background: #6c757d;
    color: #ffffff;
}

.clear-btn:hover {
    background: #5a6268;
}

.start-spam-btn {
    background: #28a745;
    color: #ffffff;
}

.start-spam-btn:hover {
    background: #218838;
}

.stop-spam-btn {
    background: #dc3545;
    color: #ffffff;
}

.stop-spam-btn:hover {
    background: #c82333;
}

.stop-spam-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.delete-webhook-btn {
    background: #dc3545;
    color: #ffffff;
}

.delete-webhook-btn:hover {
    background: #c82333;
}

/* Webhooks Table */
.webhooks-table {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    position: relative;
}

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

.webhooks-table th {
    background: #2a2a2a;
    padding: 15px;
    text-align: left;
    color: #8b9dc3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.webhooks-table td {
    padding: 15px;
    border-top: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
}

.webhooks-table tr:hover {
    background: #2a2a2a;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #8b9dc3;
    text-align: center;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #667eea;
}

.empty-state p {
    font-size: 16px;
}



/* Saved Triggers Container */
.saved-triggers-container {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    height: 100%;
}

.saved-triggers-container h3 {
    color: #8b9dc3;
    margin-bottom: 20px;
    font-size: 18px;
}

/* Credits Container */
.credits-container {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    height: 100%;
}

.credits-container h3 {
    color: #8b9dc3;
    margin-bottom: 20px;
    font-size: 18px;
}

.credits-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ffffff;
}

/* Disabled Tab Styles */
.disabled-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8b9dc3;
    text-align: center;
}

.disabled-tab i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #dc3545;
}

.disabled-tab h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.disabled-tab p {
    font-size: 14px;
    opacity: 0.7;
}

/* Credits Container */
.credits-container {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    height: 100%;
}

.credits-container h3 {
    color: #8b9dc3;
    margin-bottom: 20px;
    font-size: 18px;
}

.credits-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ffffff;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .spammer-container {
        flex-direction: column;
    }
    
    .resource-explorer {
        width: 320px;
    }
    
    .resource-file {
        margin-left: 15px;
        padding: 6px 10px;
    }
    
    .resource-folder .folder-content {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    
    .app-main {
        flex-direction: column;
    }
    
    .resource-explorer {
        width: 100%;
        height: auto;
        min-height: 350px;
        padding: 15px;
    }
    
    .resource-tree {
        max-height: 350px;
    }
    
    .actions-panel {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        justify-content: center;
    }
} 

/* Webhooks Container */
.webhooks-container {
    display: flex;
    gap: 30px;
    height: 100%;
}

.webhooks-left {
    flex: 1;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.webhooks-right {
    flex: 1;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Coordinates Container */
.coordinates-container {
    display: flex;
    gap: 30px;
    height: 100%;
}

.coordinates-left {
    flex: 2;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.coordinates-right {
    flex: 1;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
}

.coordinates-table {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.coordinates-table-wrapper {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 400px);
}

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

.coordinates-table th {
    background: #2a2a2a;
    padding: 15px;
    text-align: left;
    color: #8b9dc3;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coordinates-table td {
    padding: 15px;
    border-top: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
}

.coordinates-table tr:hover {
    background: #2a2a2a;
}

.coordinate-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.coordinate-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b9dc3;
    font-size: 14px;
    cursor: pointer;
}

.coordinate-options input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.coordinate-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.coordinate-filters input {
    padding: 10px 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

.coordinate-filters input::placeholder {
    color: #8b9dc3;
}

.coordinate-filters select {
    padding: 10px 12px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.coordinate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.spammer-settings {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.setting-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.setting-row label {
    color: #8b9dc3;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.setting-row input,
.setting-row textarea {
    padding: 10px 12px;
    background: #3a3a3a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}

.setting-row textarea {
    resize: vertical;
    min-height: 80px;
}

.setting-options {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.setting-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b9dc3;
    font-size: 14px;
    cursor: pointer;
}

.setting-options input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.spammer-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.send-webhook-btn,
.start-spam-btn,
.stop-spam-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.send-webhook-btn {
    background: #667eea;
    color: #ffffff;
}

.send-webhook-btn:hover {
    background: #5a6fd8;
}

.start-spam-btn {
    background: #28a745;
    color: #ffffff;
}

.start-spam-btn:hover {
    background: #218838;
}

.stop-spam-btn {
    background: #dc3545;
    color: #ffffff;
}

.stop-spam-btn:hover {
    background: #c82333;
}

.stop-spam-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
} 

.selected-webhooks-list {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.selected-webhook-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #667eea;
    color: #ffffff;
    transition: background 0.3s ease;
}

.selected-webhook-item:hover {
    background: #5a6fd8;
}

.selected-webhook-item .webhook-url {
    flex: 1;
    font-size: 12px;
    word-break: break-all;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.selected-webhook-item .remove-btn {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.selected-webhook-item .remove-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Webhook table improvements */
.webhooks-table table th:first-child {
    width: 50px;
    text-align: center;
}

.webhooks-table table td:first-child {
    text-align: center;
}

.webhook-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
} 

.selected-webhooks-display {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.selected-webhook-display-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #667eea;
    color: #ffffff;
    transition: background 0.3s ease;
}

.selected-webhook-display-item:hover {
    background: #5a6fd8;
}

.selected-webhook-display-item .webhook-url {
    flex: 1;
    font-size: 12px;
    word-break: break-all;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.selected-webhook-display-item .remove-btn {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.selected-webhook-display-item .remove-btn:hover {
    background: rgba(255, 255, 255, 0.3);
} 

/* Resource Explorer Enhanced Styles */
.resource-folder {
    margin: 1px 0;
    user-select: none;
}

.resource-folder .folder-header {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    font-size: 14px;
    min-height: 28px;
    line-height: 1.4;
}

.resource-folder .folder-header:hover {
    background-color: rgba(139, 157, 195, 0.1);
}

.resource-folder .folder-header .folder-icon {
    margin-right: 10px;
    font-size: 14px;
    transition: transform 0.2s ease;
    color: #8b9dc3;
    width: 16px;
    text-align: center;
}

.resource-folder .folder-header .fa-folder {
    margin-right: 10px;
    color: #f39c12;
    font-size: 16px;
}

.resource-folder .folder-header span:first-of-type {
    flex: 1;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.resource-folder .folder-header span:last-of-type {
    font-size: 12px;
    color: #8b9dc3;
    margin-left: 10px;
}

.resource-folder .folder-content {
    margin-left: 20px;
    border-left: 1px solid rgba(139, 157, 195, 0.2);
    padding-left: 10px;
    margin-top: 2px;
}

.resource-file {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 2px 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    margin-left: 20px;
    font-size: 14px;
    min-height: 24px;
    position: relative;
    line-height: 1.4;
}

.resource-file:hover {
    background-color: rgba(139, 157, 195, 0.1);
}

.resource-file i {
    margin-right: 10px;
    color: #667eea;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.resource-file span:first-of-type {
    flex: 1;
    color: #ffffff;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resource-file span:last-of-type {
    font-size: 12px;
    color: #8b9dc3;
    margin-left: 10px;
    white-space: nowrap;
}

.resource-file .view-file-btn {
    margin-left: 8px;
    padding: 2px 6px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-file:hover .view-file-btn {
    opacity: 1;
}

.resource-file .view-file-btn:hover {
    background: #5a6fd8;
}

/* File type specific colors */
.resource-file .fa-code {
    color: #e74c3c;
}

.resource-file .fa-js-square {
    color: #f39c12;
}

.resource-file .fa-file-code {
    color: #27ae60;
}

.resource-file .fa-html5 {
    color: #e67e22;
}

.resource-file .fa-css3-alt {
    color: #3498db;
}

.resource-file .fa-image {
    color: #9b59b6;
}

.resource-file .fa-cog {
    color: #95a5a6;
}

.resource-file .fa-php {
    color: #8e44ad;
}

.resource-file .fa-python {
    color: #2ecc71;
}

.resource-file .fa-file {
    color: #7f8c8d;
}

/* Enhanced resource tree container */
.resource-tree {
    max-height: 500px;
    overflow-y: auto;
    padding: 5px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

/* Empty state for resource explorer */
.resource-tree:empty::after {
    content: "Select a server directory to explore";
    display: block;
    text-align: center;
    color: #8b9dc3;
    font-style: italic;
    padding: 20px;
}

/* Animation for folder expansion */
.resource-folder .folder-content {
    animation: slideDown 0.2s ease-out;
}

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

/* Responsive adjustments for resource explorer */
@media (max-width: 1200px) {
    .resource-explorer {
        min-width: 250px;
    }
    
    .resource-file {
        margin-left: 15px;
        padding: 3px 6px;
    }
    
    .resource-folder .folder-content {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .resource-explorer {
        min-width: 200px;
    }
    
    .resource-file {
        margin-left: 10px;
        padding: 2px 4px;
        font-size: 12px;
    }
    
    .resource-folder .folder-content {
        margin-left: 10px;
    }
    
    .resource-folder .folder-header {
        padding: 4px 6px;
        font-size: 12px;
    }
} 

/* File Viewer Modal */
.file-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.file-viewer-window {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    max-height: 700px;
    background: #1a1a1a;
    border: 2px solid #667eea;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.file-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #2a2a2a;
    border-bottom: 1px solid #333;
    border-radius: 10px 10px 0 0;
}

.file-viewer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.file-viewer-title i {
    color: #667eea;
    font-size: 18px;
}

.file-viewer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    flex: 1;
    max-width: 400px;
}

.file-viewer-search input {
    flex: 1;
    padding: 8px 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.2s ease;
}

.file-viewer-search input:focus {
    outline: none;
    border-color: #667eea;
}

.file-viewer-search input::placeholder {
    color: #8b9dc3;
}

.search-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-controls button {
    background: #2a2a2a;
    border: 1px solid #333;
    color: #8b9dc3;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
}

.search-controls button:hover:not(:disabled) {
    background: #333;
    color: #ffffff;
    border-color: #667eea;
}

.search-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.search-count {
    font-size: 12px;
    color: #8b9dc3;
    margin-left: 8px;
    min-width: 60px;
    text-align: center;
}

.search-count.has-matches {
    color: #27ae60;
}

.search-count.no-matches {
    color: #e74c3c;
}

.file-viewer-close {
    background: none;
    border: none;
    color: #8b9dc3;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.file-viewer-close:hover {
    background: rgba(139, 157, 195, 0.1);
    color: #ffffff;
}

.file-viewer-content {
    flex: 1;
    overflow: auto;
    padding: 20px;
    background: #0f0f0f;
}

.file-viewer-content pre {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.file-viewer-content code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
}

/* Syntax highlighting for common file types */
.file-viewer-content .xml-tag {
    color: #e74c3c;
}

.file-viewer-content .xml-attr {
    color: #f39c12;
}

.file-viewer-content .xml-value {
    color: #27ae60;
}

.file-viewer-content .xml-comment {
    color: #7f8c8d;
    font-style: italic;
}

.file-viewer-content .lua-keyword {
    color: #e74c3c;
}

.file-viewer-content .lua-string {
    color: #27ae60;
}

.file-viewer-content .lua-number {
    color: #f39c12;
}

.file-viewer-content .lua-comment {
    color: #7f8c8d;
    font-style: italic;
}

.file-viewer-content .js-keyword {
    color: #e74c3c;
}

.file-viewer-content .js-string {
    color: #27ae60;
}

.file-viewer-content .js-number {
    color: #f39c12;
}

.file-viewer-content .js-comment {
    color: #7f8c8d;
    font-style: italic;
}

.file-viewer-content .php-keyword {
    color: #e74c3c;
}

.file-viewer-content .php-string {
    color: #27ae60;
}

.file-viewer-content .php-number {
    color: #f39c12;
}

.file-viewer-content .php-comment {
    color: #7f8c8d;
    font-style: italic;
}

.file-viewer-content .php-variable {
    color: #9b59b6;
}

.file-viewer-content .py-keyword {
    color: #e74c3c;
}

.file-viewer-content .py-string {
    color: #27ae60;
}

.file-viewer-content .py-number {
    color: #f39c12;
}

.file-viewer-content .py-comment {
    color: #7f8c8d;
    font-style: italic;
}

.file-viewer-content .css-property {
    color: #3498db;
}

.file-viewer-content .css-string {
    color: #27ae60;
}

.file-viewer-content .css-number {
    color: #f39c12;
}

.file-viewer-content .css-comment {
    color: #7f8c8d;
    font-style: italic;
}

/* Search highlighting */
.file-viewer-content .search-match {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
    padding: 1px 2px;
}

.file-viewer-content .search-current {
    background: rgba(102, 126, 234, 0.6);
    border: 1px solid #667eea;
    border-radius: 2px;
    padding: 1px 2px;
    box-shadow: 0 0 4px rgba(102, 126, 234, 0.4);
}

/* Scrollbar styling for file viewer */
.file-viewer-content::-webkit-scrollbar {
    width: 8px;
}

.file-viewer-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.file-viewer-content::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.file-viewer-content::-webkit-scrollbar-thumb:hover {
    background: #444;
} 

/* Editor Tab Styles */
.editor-container {
    background: #1a1a1a;
    border-radius: 12px;
    border: 2px solid #667eea;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.editor-top-section {
    display: flex;
    gap: 25px;
    align-items: flex-end;
}

.editor-inputs {
    display: flex;
    gap: 20px;
    flex: 1;
}

.editor-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.editor-input-group label {
    color: #8b9dc3;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.editor-input-group input {
    padding: 12px 16px;
    background: #2a2a2a;
    border: 2px solid #667eea;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.editor-input-group input:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

.editor-input-group input::placeholder {
    color: #8b9dc3;
    opacity: 0.7;
}

.editor-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
}

.editor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editor-btn.primary-btn {
    background: linear-gradient(135deg, #e91e63, #ff6b35);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.editor-btn.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.editor-btn.secondary-btn {
    background: #ffffff;
    color: #667eea;
    border: 2px solid #667eea;
}

.editor-btn.secondary-btn:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
}

.editor-bottom-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.editor-textarea-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.editor-textarea-container textarea {
    flex: 1;
    padding: 20px;
    background: #2a2a2a;
    border: 2px solid #667eea;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.5;
    resize: none;
    transition: all 0.3s ease;
    min-height: 300px;
}

.editor-textarea-container textarea:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

.editor-textarea-container textarea::placeholder {
    color: #8b9dc3;
    opacity: 0.7;
}

/* Responsive design for editor */
@media (max-width: 1200px) {
    .editor-top-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .editor-inputs {
        flex-direction: column;
    }
    
    .editor-buttons {
        flex-direction: row;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .editor-container {
        padding: 15px;
        gap: 20px;
    }
    
    .editor-buttons {
        flex-direction: column;
    }
    
    .editor-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
} 

.webhook-actions {
    display: flex;
    gap: 5px;
    align-items: center;
}

.delete-webhook-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 10px;
    transition: background-color 0.2s;
}

.delete-webhook-btn:hover {
    background: #c82333;
}

.delete-webhook-btn i {
    font-size: 10px;
}

/* Settings Modal */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.settings-panel {
    background: #2a2a2a;
    border-radius: 12px;
    border: 1px solid #667eea;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 10001;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.settings-header h3 {
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-close {
    background: none;
    border: none;
    color: #8b9dc3;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.settings-close:hover {
    background: #333;
    color: #ffffff;
}

.settings-content {
    padding: 20px;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section h4 {
    color: #ffffff;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.theme-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.theme-option.active {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.theme-option span {
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.theme-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #333;
}

/* Theme Colors */
.default-theme {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.purple-theme {
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
}

.green-theme {
    background: linear-gradient(45deg, #10b981, #059669);
}

.orange-theme {
    background: linear-gradient(45deg, #f59e0b, #d97706);
}

.red-theme {
    background: linear-gradient(45deg, #ef4444, #dc2626);
}

.cyan-theme {
    background: linear-gradient(45deg, #06b6d4, #0891b2);
}

.setting-item {
    margin-bottom: 15px;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
}

.setting-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

/* Theme CSS Variables */
:root {
    --primary-color: #667eea;
    --primary-hover: #5a6fd8;
    --secondary-color: #764ba2;
    --accent-color: #8b9dc3;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #06b6d4;
}

/* Theme Classes */
.theme-purple {
    --primary-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary-color: #a855f7;
}

.theme-green {
    --primary-color: #10b981;
    --primary-hover: #059669;
    --secondary-color: #059669;
}

.theme-orange {
    --primary-color: #f59e0b;
    --primary-hover: #d97706;
    --secondary-color: #d97706;
}

.theme-red {
    --primary-color: #ef4444;
    --primary-hover: #dc2626;
    --secondary-color: #dc2626;
}

.theme-cyan {
    --primary-color: #06b6d4;
    --primary-hover: #0891b2;
    --secondary-color: #0891b2;
} 