/* ============================================
   General Styles
   ============================================ */

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

html, body {
    min-height: 100%;
    background: #0a0a0f;
    color: #fff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0f;
    min-height: 100vh;
}

/* Auth pages - fondo oscuro sin gradiente ni colores extraños */
body.auth-page {
    background: #0a0a0f !important;
    background-image: none !important;
}

/* Landing page - fondo oscuro */
body.landing-page {
    background: #0a0a0f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth transitions */
input, textarea, button, select {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

input:disabled, button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #2196F3;
    color: white;
}

.btn-secondary:hover {
    background: #1976D2;
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-success {
    background: #4CAF50;
    color: white;
}

.btn-warning {
    background: #ff9800;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #4CAF50;
    font-size: 24px;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.sidebar-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #4CAF50;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.2rem;
    color: #666;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Auth Pages */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: #0a0a0f !important;
    background-image: none !important;
}

.auth-card {
    background: #111118;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.6);
}

.auth-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

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

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.08);
}

.auth-footer {
    text-align: center;
}

.auth-footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

/* Dashboard */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
}

.sidebar {
    width: 250px;
    background: #333;
    color: white;
    padding: 2rem 0;
}

.sidebar-header {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-header h2 {
    color: #4CAF50;
}

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

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #4CAF50;
}

.main-content {
    flex: 1;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #333;
}

.content-section {
    display: none;
}

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

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.server-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.server-card h3 {
    color: #333;
    margin: 0;
    font-size: 1.25rem;
}

.server-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 1rem;
    background: #666;
    color: white;
    min-width: 80px;
    text-align: center;
}

.status-online {
    background: #4CAF50;
    color: white;
}

.status-offline {
    background: #f44336;
    color: white;
}

.status-starting {
    background: #ff9800;
    color: white;
}

.status-stopping {
    background: #ff5722;
    color: white;
}

.server-info {
    color: #666;
    font-size: 14px;
}

.create-server-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

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

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

.form-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.form-info-box h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-info-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.form-info-box li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.form-info-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    max-height: 90vh;
    overflow: hidden;
}

.server-modal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.server-modal .modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e1e5e9;
}

.server-modal .modal-body {
    flex: 1;
    overflow: hidden;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

/* Server Tabs */
.server-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e1e5e9;
    margin: 0 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: #e9ecef;
    color: #333;
}

.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background: white;
}

/* Tab Content */
.tab-content {
    flex: 1;
    overflow: hidden;
}

.tab-pane {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding: 2rem;
}

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

/* Server Status */
.server-status {
    margin-top: 2rem;
}

.server-status h3 {
    margin-bottom: 1rem;
    color: #333;
}

#serverStatusInfo {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

/* File Manager in Modal */
.server-modal .file-manager {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    height: 100%;
}

.server-modal .file-toolbar {
    background: #f8f9fa;
    margin-bottom: 1rem;
    border-radius: 8px;
    padding: 1rem;
}

.server-modal .file-explorer {
    height: calc(100vh - 400px);
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
}

.server-modal .file-table-container {
    height: 100%;
    overflow: auto;
}

.server-modal .file-content {
    padding: 1rem;
    background: white;
    height: 100%;
}

.server-controls {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

/* File Manager Styles */
.file-manager {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.file-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.header-left h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.header-left p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.server-select {
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    min-width: 200px;
}

.file-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.toolbar-left {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.toolbar-right {
    display: flex;
    align-items: center;
}

.current-path {
    font-family: 'Courier New', monospace;
    background: #e9ecef;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Button colors */
.btn-purple {
    background: #6f42c1;
    color: white;
}

.btn-purple:hover {
    background: #5a32a3;
}

.btn-pink {
    background: #e83e8c;
    color: white;
}

.btn-pink:hover {
    background: #d91a72;
}

.btn-green {
    background: #28a745;
    color: white;
}

.btn-green:hover {
    background: #218838;
}

.btn-red {
    background: #dc3545;
    color: white;
}

.btn-red:hover {
    background: #c82333;
}

.btn-orange {
    background: #fd7e14;
    color: white;
}

.btn-orange:hover {
    background: #e8590c;
}

.file-explorer {
    min-height: 500px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
}

.file-table-container {
    width: 100%;
    overflow-x: auto;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.file-table th {
    background: #f8f9fa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e1e5e9;
    font-size: 14px;
}

.checkbox-col {
    width: 40px;
}

.name-col {
    width: auto;
}

.size-col {
    width: 100px;
}

.modified-col {
    width: 180px;
}

.actions-col {
    width: 100px;
}

.file-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e1e5e9;
    vertical-align: middle;
}

.file-table tbody tr:hover {
    background: #f8f9fa;
}

.file-table tbody tr.selected {
    background: #e3f2fd;
}

.file-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.folder-icon {
    color: #ffc107;
}

.file-icon-text {
    color: #6c757d;
}

.file-name {
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.file-name:hover {
    color: #007bff;
    text-decoration: underline;
}

.file-size {
    font-size: 13px;
    color: #6c757d;
}

.file-modified {
    font-size: 13px;
    color: #6c757d;
}

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

.action-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #e9ecef;
    color: #333;
}

.action-btn.edit:hover {
    background: #007bff;
    color: white;
}

.action-btn.delete:hover {
    background: #dc3545;
    color: white;
}

.file-content {
    padding: 1rem;
    background: white;
}

.file-editor {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

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

.editor-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.editor-header .breadcrumb {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

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

.editor-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.editor-actions .btn-save {
    background: #4CAF50;
    color: white;
}

.editor-actions .btn-save:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.editor-actions .btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.editor-actions .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
}

.file-textarea {
    flex: 1;
    width: 100%;
    padding: 20px;
    border: none;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 14px;
    background: #222222;
    color: #e0e0e0;
    resize: none;
    outline: none;
    line-height: 1.6;
}

.file-textarea:focus {
    background: #252525;
}

.file-textarea::selection {
    background: rgba(76, 175, 80, 0.3);
}

/* File Manager Container */
.file-manager-container {
    position: relative;
    min-height: 500px;
}

/* Fullscreen File Editor */
.file-editor-fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1a1a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.file-textarea-fullscreen {
    flex: 1;
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 0 0 12px 12px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 14px;
    background: #0d0d12;
    color: #e0e0e0;
    resize: none;
    outline: none;
    line-height: 1.6;
}

.file-textarea-fullscreen:focus {
    background: #0f0f15;
}

.file-textarea-fullscreen::selection {
    background: rgba(76, 175, 80, 0.3);
}

/* Modern Editor Header (Magnanode Style) */
.editor-header-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 0 0;
}

.btn-back-editor {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back-editor:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn-back-with-text {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.btn-back-with-text:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.btn-back-with-text svg {
    stroke-width: 2.5;
}

/* Resource Usage Section */
.resource-usage-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-item {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.resource-item:last-child {
    margin-bottom: 0;
}

.resource-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    color: #FFD54F;
    transition: all 0.3s ease;
}

.resource-item:nth-child(2) .resource-item-icon {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.05));
    color: #64B5F6;
}

.resource-item:nth-child(3) .resource-item-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    color: #81C784;
}

.resource-item-content {
    flex: 1;
    min-width: 0;
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

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

.resource-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Consolas', monospace;
}

.resource-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.resource-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.resource-progress.warning {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.resource-progress.danger {
    background: linear-gradient(90deg, #f44336, #d32f2f);
}

.editor-title-section {
    flex: 1;
    text-align: center;
}

.editor-title-section h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.editor-title-section .breadcrumb {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 4px;
}

.btn-save-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save-modern:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-save-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.file-welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: #666;
}

.file-welcome h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* Server address styles */
.server-address {
    font-family: 'Courier New', monospace;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.btn-small {
    padding: 4px 8px;
    font-size: 12px;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.server-card-header {
    cursor: pointer;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }

    .features {
        padding: 40px 0;
    }

    .features h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat h3 {
        font-size: 2.5rem;
    }

    /* Dashboard Mobile */
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 1rem;
    }

    .sidebar-logo {
        max-width: 150px;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-menu li {
        margin: 0;
    }

    .sidebar-menu a {
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    .main-content {
        padding: 1rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .create-server-form {
        padding: 1.5rem;
    }

    .form-info-box {
        padding: 1rem;
    }

    .servers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .server-card {
        padding: 1.5rem;
    }

    .file-explorer {
        grid-template-columns: 1fr;
    }

    .file-tree {
        border-right: none;
        border-bottom: 1px solid #e1e5e9;
        max-height: 200px;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .server-tabs {
        flex-wrap: wrap;
        margin: 0 1rem;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .tab-pane {
        padding: 1rem;
    }

    .server-controls {
        flex-wrap: wrap;
        justify-content: center;
    }

    .server-console {
        height: 200px;
    }

    .console-input-container {
        flex-direction: column;
    }

    .auth-logo {
        max-width: 150px;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

/* Server Console Styles */
.server-console-container {
    margin-top: 2rem;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
}

.server-console-container h3 {
    color: #fff;
    padding: 1rem;
    margin: 0;
    background: #2d2d2d;
    border-bottom: 1px solid #3d3d3d;
}

.console-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #2d2d2d;
    border-bottom: 1px solid #3d3d3d;
}

.console-toolbar .btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.server-console {
    background: #1e1e1e;
    color: #e5e5e5;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.console-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.console-line {
    padding: 0.125rem 0;
    word-break: break-all;
}

.server-console::-webkit-scrollbar {
    width: 8px;
}

.server-console::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.server-console::-webkit-scrollbar-thumb {
    background: #4d4d4d;
    border-radius: 4px;
}

.server-console::-webkit-scrollbar-thumb:hover {
    background: #5d5d5d;
}

/* Console Input Styles */
.console-input-container {
    display: flex;
    padding: 0.75rem 1rem;
    background: #252526;
    border-top: 1px solid #3e3e42;
    gap: 0.5rem;
}

.console-input {
    flex: 1;
    background: #1e1e1e;
    border: 1px solid #3e3e42;
    border-radius: 4px;
    color: #d4d4d4;
    padding: 0.5rem 0.75rem;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
}

.console-input:focus {
    outline: none;
    border-color: #007acc;
}

/* ============================================
   LANDING PAGE MODERN STYLES
   ============================================ */

.landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #fff;
}

body.menu-open {
    overflow: hidden;
}

.landing-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Modern - Resistente a Dark Reader */
.landing-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background-color: rgba(10, 10, 15, 0.95) !important;
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #2a2a3a !important;
}

.landing-header * {
    background-color: transparent !important;
}

.landing-header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-header .logo {
    display: flex;
    align-items: center;
}

.landing-header .logo-img {
    height: 40px;
    width: auto;
}

.landing-header .nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.landing-header .nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.landing-header .nav-menu a:hover {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.landing-header .btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.landing-header .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.landing-header .nav-menu .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
}

.landing-header .nav-menu .btn .nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Modern */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0f 0%, #12121a 50%, #0a0a0f 100%);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(118, 75, 162, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(120, 119, 198, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: bgPulse 8s ease-in-out infinite;
}

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

/* Grid Pattern Overlay */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(76, 175, 80, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 80, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(76, 175, 80, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 20%; top: 80%; animation-delay: 1s; }
.hero-particles span:nth-child(3) { left: 30%; top: 40%; animation-delay: 2s; }
.hero-particles span:nth-child(4) { left: 40%; top: 60%; animation-delay: 3s; }
.hero-particles span:nth-child(5) { left: 50%; top: 10%; animation-delay: 4s; }
.hero-particles span:nth-child(6) { left: 60%; top: 70%; animation-delay: 5s; }
.hero-particles span:nth-child(7) { left: 70%; top: 30%; animation-delay: 6s; }
.hero-particles span:nth-child(8) { left: 80%; top: 90%; animation-delay: 7s; }
.hero-particles span:nth-child(9) { left: 90%; top: 50%; animation-delay: 8s; }
.hero-particles span:nth-child(10) { left: 15%; top: 60%; animation-delay: 9s; }
.hero-particles span:nth-child(11) { left: 25%; top: 15%; animation-delay: 10s; }
.hero-particles span:nth-child(12) { left: 35%; top: 85%; animation-delay: 11s; }
.hero-particles span:nth-child(13) { left: 45%; top: 35%; animation-delay: 12s; }
.hero-particles span:nth-child(14) { left: 55%; top: 75%; animation-delay: 13s; }
.hero-particles span:nth-child(15) { left: 85%; top: 25%; animation-delay: 14s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1); 
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-30px) translateX(10px) scale(1.2); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-15px) translateX(-10px) scale(0.8); 
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-40px) translateX(5px) scale(1.1); 
        opacity: 0.8;
    }
}

.hero-modern .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge-wrapper {
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.5);
}

.badge-icon {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.badge-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 2px solid rgba(76, 175, 80, 0.5);
    animation: badgePulse 2s ease-out infinite;
    pointer-events: none;
}

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

.hero-content-modern h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-content-modern h1 .gradient-text {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 50%, #CDDC39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-content-modern h1 .highlight {
    color: #fff;
    text-shadow: 0 0 40px rgba(76, 175, 80, 0.3);
    display: block;
}

.hero-content-modern h1 .typing-text {
    display: inline-block;
    position: relative;
    color: #fff;
}

.hero-content-modern h1 .typing-text::after {
    content: '|';
    animation: typingCursor 1s infinite;
    color: #4CAF50;
    margin-left: 4px;
}

@keyframes typingCursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 540px;
    font-weight: 400;
}

.hero-description strong {
    color: #4CAF50;
    font-weight: 600;
}

.hero-description em {
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-cta .btn,
.hero-cta .btn.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.3px;
    padding: 18px 32px !important;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta .btn:hover::before {
    opacity: 1;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 50%, #3d8b40 100%);
    color: #fff;
    box-shadow: 
        0 4px 15px rgba(76, 175, 80, 0.4),
        0 8px 30px rgba(76, 175, 80, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.5),
        0 12px 40px rgba(76, 175, 80, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.hero-cta .btn-secondary {
    background: linear-gradient(135deg, #2196F3 0%, #1e88e5 50%, #1976D2 100%);
    color: #fff;
    box-shadow: 
        0 4px 15px rgba(33, 150, 243, 0.4),
        0 8px 30px rgba(33, 150, 243, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.hero-cta .btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(33, 150, 243, 0.5),
        0 12px 40px rgba(33, 150, 243, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { 
        box-shadow: 
            0 4px 15px rgba(76, 175, 80, 0.4),
            0 8px 30px rgba(76, 175, 80, 0.2),
            0 0 40px rgba(76, 175, 80, 0.1);
    }
    50% { 
        box-shadow: 
            0 6px 20px rgba(76, 175, 80, 0.5),
            0 12px 40px rgba(76, 175, 80, 0.3),
            0 0 60px rgba(76, 175, 80, 0.2);
    }
}

.btn-icon, .btn-icon-left {
    width: 22px;
    height: 22px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.btn-icon {
    margin-left: 4px;
}

.btn-icon-left {
    margin-right: 4px;
}

.hero-cta .btn:hover .btn-icon {
    transform: translateX(4px) scale(1.1);
}

.hero-cta .btn:hover .btn-icon-left {
    transform: scale(1.15);
}

/* Hero Feature Chips */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.feature-chip:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.feature-chip svg {
    width: 14px;
    height: 14px;
    color: #4CAF50;
}

/* Old stats styles (keeping for compatibility) */
.hero-stats {
    display: flex;
    gap: 48px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #4CAF50;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual - Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    width: 100%;
    max-width: 500px;
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:last-child { background: #28c840; }

.mockup-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: auto;
}

.mockup-content {
    display: grid;
    grid-template-columns: 60px 1fr;
    min-height: 300px;
}

.mockup-sidebar {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-sidebar-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.mockup-sidebar-item.active {
    background: #4CAF50;
}

.mockup-main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-card {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-header p {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Modern */
.features-modern {
    padding: 120px 0;
    background: #0f0f16;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card-modern:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-4px);
}

.feature-icon-modern {
    width: 48px;
    height: 48px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #4CAF50;
}

.feature-icon-modern svg {
    width: 24px;
    height: 24px;
}

.feature-card-modern h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-card-modern p {
    font-size: 15px;
    line-height: 1.6;
    color: #b0b0b0;
}

/* How it Works */
.how-it-works {
    padding: 120px 0;
    background: #0a0a0f;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    font-weight: 800;
    color: #1a3a1a;
    line-height: 1;
    z-index: 0;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #4CAF50;
    position: relative;
    z-index: 1;
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 15px;
    color: #b0b0b0;
    position: relative;
    z-index: 1;
}

/* Panel Preview */
.panel-preview {
    padding: 120px 0;
    background: #0f0f16;
}

.panel-showcase {
    max-width: 900px;
    margin: 0 auto;
}

/* Panel Tabs placeholder - modern styles at end of file */

.panel-window {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 400px;
}

.panel-sidebar-preview {
    background: rgba(0, 0, 0, 0.3);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-logo-small {
    width: 40px;
    height: 40px;
    background: #4CAF50;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.panel-nav-item {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.panel-nav-item.active {
    background: #4CAF50;
    color: #fff;
}

/* Tab content visibility */
.panel-content-preview.tab-content {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.panel-content-preview.tab-content.active {
    display: flex;
}

/* Panel header with title */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

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

.btn-preview {
    padding: 8px 16px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 6px;
    color: #4CAF50;
    font-size: 13px;
    font-weight: 500;
    cursor: default;
}

.btn-preview.small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Server card preview styles */
.server-card-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.server-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.server-status-indicator.online {
    background: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.server-status-indicator.offline {
    background: #f44336;
}

.server-info {
    flex: 1;
}

.server-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.server-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

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

.action-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.server-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.stat-box {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Console preview styles */
.console-preview {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 16px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    min-height: 280px;
}

.console-line {
    margin-bottom: 4px;
}

.console-time {
    color: rgba(255, 255, 255, 0.4);
}

.console-info {
    color: #4CAF50;
}

.console-warn {
    color: #FFC107;
}

.console-chat {
    color: #2196F3;
}

.console-text {
    color: rgba(255, 255, 255, 0.9);
}

.console-input-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-prompt {
    color: #4CAF50;
    font-weight: bold;
}

.console-cursor {
    color: #4CAF50;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* File manager preview styles */
.file-manager-preview {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.file-breadcrumb {
    padding: 12px 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.file-list-preview {
    padding: 8px 0;
}

.file-item {
    display: grid;
    grid-template-columns: 24px 1fr 80px 40px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

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

.file-icon-folder,
.file-icon-file,
.file-icon-code {
    font-size: 16px;
    text-align: center;
}

.file-name {
    color: rgba(255, 255, 255, 0.9);
}

.file-size {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-align: right;
}

.file-actions {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-content p {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 32px;
}

.btn-white {
    background: #fff;
    color: #4CAF50;
    font-weight: 600;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer Modern */
.footer-modern {
    background: #0a0a0f;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #808080;
    font-size: 14px;
}

/* Responsive Landing Page */
@media (max-width: 1024px) {
    .hero-modern .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content-modern h1 {
        font-size: 42px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-header .nav-container {
        position: relative;
        z-index: 10001;
    }

    .landing-header .logo {
        z-index: 10002;
    }

    .landing-header .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 12px 16px;
        gap: 8px;
        z-index: 10003; /* above backdrop */
        margin: 0;
        list-style: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .landing-header .nav-menu.active {
        display: flex;
    }

    .landing-header .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .landing-header .nav-menu a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.18s ease;
        width: auto; /* keep desktop sizing */
    }

    .landing-header .nav-menu a:hover {
        background: rgba(76, 175, 80, 0.1);
        transform: translateY(-1px);
    }

    .landing-header .nav-menu .btn {
        width: auto;
        justify-content: center;
        padding: 8px 12px !important;
        font-size: 14px;
        border-radius: 8px;
        box-shadow: none;
    }

    .landing-header .nav-menu .btn-outline {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .landing-header .nav-menu .btn-outline:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .landing-header .nav-menu .btn-primary {
        background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
        border: none;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.18);
    }

    .landing-header .nav-menu .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    }

    /* hide mobile toggle: using inline buttons instead */
    .landing-header .mobile-menu-toggle {
        display: none !important;
    }

    /* subtle enter animation for menu */
    .landing-header .nav-menu {
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .landing-header .nav-menu.active {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }

    /* Inline hero CTA buttons (desktop & mobile) */
    .hero-cta-inline {
        margin-top: 20px;
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .hero-inline-btn {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        padding: 10px 18px;
        border-radius: 12px;
        font-weight: 600;
        text-decoration: none;
    }

    .hero-inline-btn .nav-icon {
        width: 18px;
        height: 18px;
    }

    /* Backdrop to hide hero when mobile nav is open */
    .mobile-menu-backdrop {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10,10,15,0.85);
        z-index: 10001;
        backdrop-filter: blur(6px);
    }

    .mobile-menu-backdrop.active {
        display: block;
    }

    /* Hero Responsive */
    .hero-modern .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }

    .hero-visual {
        order: 2;
    }

    .hero-content-modern {
        order: 1;
        text-align: center;
    }

    .hero-content-modern h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    /* Mobile: enlarge the hero badge text and spacing to improve readability */
    .hero-badge {
        font-size: 16px !important;
        padding: 10px 18px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.18) 0%, rgba(76, 175, 80, 0.08) 100%) !important;
        border: 1px solid rgba(76,175,80,0.18) !important;
        color: #dfffe0 !important;
    }

    .hero-badge .badge-icon {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .hero-badge-wrapper {
        margin-bottom: 14px !important;
    }

    .hero-content-modern h1 {
        font-size: 34px !important;
        line-height: 1.15 !important;
        margin-top: 6px !important;
    }

    .mockup-container {
        max-width: 100%;
    }

    .mockup-content {
        min-height: 250px;
    }

    .features-grid-modern,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .panel-window {
        grid-template-columns: 60px 1fr;
    }

    .panel-sidebar-preview {
        padding: 16px 8px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        text-align: center;
        margin: 0 auto;
    }

    .footer-logo {
        margin: 0 auto 16px;
    }

    .footer-links {
        text-align: center;
    }

    .panel-content-preview {
        padding: 16px;
    }

    .panel-cards {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    /* Padding sections */
    .features-modern,
    .how-it-works,
    .panel-preview {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .landing-page .container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

/* ============================================
   DASHBOARD MODERN STYLES
   ============================================ */

.dashboard-modern {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #fff;
    margin: 0;
    min-height: 100vh;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar */
.dashboard-sidebar {
    background: #111118;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    width: 280px;
    z-index: 100;
}

.sidebar-brand {
    padding: 24px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.sidebar-logo {
    max-width: 160px;
    height: auto;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #808080;
    margin-bottom: 8px;
    padding-left: 12px;
}

.nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-items li {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.nav-link.active {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.nav-link-danger {
    color: #e57373;
}

.nav-link-danger:hover {
    background: rgba(244, 67, 54, 0.1);
    color: #ff5252;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

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

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.user-role {
    font-size: 12px;
    color: #a0a0a0;
}

/* Main Content */
.dashboard-main {
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 17, 24, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.page-subtitle {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-ghost {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn-ghost svg {
    width: 16px;
    height: 16px;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 32px;
}

.dashboard-section {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}

.dashboard-section.active {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

/* Server Cards */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 40px;
    padding: 0 8px;
}

.server-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.server-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

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

.status-online {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status-offline {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.status-starting {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.status-stopping {
    background: rgba(255, 87, 34, 0.2);
    color: #ff5722;
}

.server-info {
    font-size: 14px;
    color: #c0c0c0;
}

.server-info p {
    margin: 0 0 8px 0;
}

.server-address {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
}

.server-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* Server Card Modern */
.server-card-modern {
    background: linear-gradient(145deg, rgba(25, 25, 35, 0.95), rgba(18, 18, 28, 0.98));
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.server-card-modern:hover {
    transform: translateY(-6px);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.server-card-header-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.server-icon-modern {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: linear-gradient(145deg, rgba(40, 40, 50, 0.9), rgba(30, 30, 40, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.server-card-modern:hover .server-icon-modern {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.server-icon-modern.java {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.server-icon-modern.bedrock {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.server-header-info {
    flex: 1;
}

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

.server-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-status-badge.status-online {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.server-status-badge.status-offline {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.server-status-badge.status-starting {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.server-card-body {
    padding: 16px 20px;
}

.server-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.server-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.server-stats .stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-stats .stat-value {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.server-address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.server-address-box code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-icon-danger {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.btn-icon-danger:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
}

.server-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Form Card */
.form-card {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    z-index: 1;
}

.form-card-wide {
    max-width: none !important;
    width: 100% !important;
}

.form-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.form-header p {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
}

/* Modern Form */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #d0d0d0;
}

.form-field input,
.form-field select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: rgba(76, 175, 80, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.form-field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-field input:disabled,
.form-field select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.field-hint {
    font-size: 12px;
    color: #808080;
}

.readonly-field {
    background: rgba(255, 255, 255, 0.03) !important;
    cursor: not-allowed;
}

.form-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.form-info-panel {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(46, 125, 50, 0.1) 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 12px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    margin: 0 0 8px 0;
}

.info-content ul {
    margin: 0;
    padding-left: 16px;
    font-size: 13px;
    color: #c0c0c0;
}

.info-content li {
    margin-bottom: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* Modern Modal */
.modern-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 40px;
    overflow-y: auto;
}

.modern-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-container {
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    background: #111118;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-tabs {
    display: flex;
    gap: 8px;
    padding: 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.modal-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #808080;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}

.modal-tab svg {
    width: 18px;
    height: 18px;
}

.modal-tab:hover {
    color: #d0d0d0;
}

.modal-tab.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.modal-tab-content {
    display: none;
}

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

/* Control Panel */
.control-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.btn-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.btn-action svg {
    width: 20px;
    height: 20px;
}

/* Clean Success Button */
.btn-success.btn-action {
    background: #22c55e;
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-success.btn-action:hover {
    background: #16a34a;
}

/* Clean Danger Button */
.btn-danger.btn-action {
    background: #ef4444;
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger.btn-action:hover {
    background: #dc2626;
}

/* Clean Warning Button */
.btn-warning.btn-action {
    background: #f59e0b;
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-warning.btn-action:hover {
    background: #d97706;
}

.status-panel {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    padding: 24px;
}

.status-panel h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
}

.status-info {
    font-size: 14px;
    color: #c0c0c0;
}

/* File Manager Modern */
.file-manager-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.file-toolbar-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

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

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-sm svg {
    width: 14px;
    height: 14px;
}

.breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-back:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.breadcrumb-path {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-root {
    color: #ffc107;
    font-weight: 600;
}

.breadcrumb-root:hover {
    color: #ffd54f;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 6px;
}

.breadcrumb-part {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.breadcrumb-part:hover {
    color: #4CAF50;
}

.breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

.file-browser {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-height: 300px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 64px 24px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.empty-state p {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0 0 24px 0;
}

/* Dashboard Responsive */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 240px;
    }
    
    .dashboard-main {
        margin-left: 240px;
        width: calc(100% - 240px);
        align-items: stretch;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        max-width: 95%;
        max-height: 90vh;
    }
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dashboard-main {
        margin-left: 0;
        width: 100%;
        align-items: stretch;
    }
    
    .main-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding: 16px;
    }
    
    .content-area {
        padding: 16px;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 20px;
    }
    
    .server-actions-bar {
        flex-wrap: wrap;
    }
    
    .file-toolbar-modern {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .toolbar-actions {
        flex-wrap: wrap;
    }
    
    .modal-tabs {
        overflow-x: auto;
        padding: 0 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* ==========================================
   DASHBOARD MODERN - FORZAR MODO OSCURO
   ========================================== */

/* Fondo oscuro forzado para todas las secciones del dashboard */
.dashboard-modern .tab-pane,
.dashboard-modern .tab-content {
    background: transparent !important;
}

/* Paneles con fondo oscuro */
.dashboard-modern .console-panel,
.dashboard-modern .file-manager,
.dashboard-modern .server-info,
.dashboard-modern .status-panel {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Tablas de archivos oscuras */
.dashboard-modern .file-table-container,
.dashboard-modern .file-content {
    background: #0a0a0f !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dashboard-modern .file-table th {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.dashboard-modern .file-table td {
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Botones del toolbar */
.dashboard-modern .file-toolbar .btn-ghost {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Estado del servidor */
.dashboard-modern #serverStatusInfo {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dashboard-modern #serverStatusInfo p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 8px 0;
}

.dashboard-modern #serverStatusInfo strong {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Server status badges en modo oscuro */
.dashboard-modern .server-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-modern .server-status.status-online {
    background: rgba(76, 175, 80, 0.15) !important;
    color: #4CAF50 !important;
}

.dashboard-modern .server-status.status-offline {
    background: rgba(244, 67, 54, 0.15) !important;
    color: #f44336 !important;
}

.dashboard-modern .server-status.status-starting {
    background: rgba(255, 152, 0, 0.15) !important;
    color: #FF9800 !important;
}

/* Server Controls */
.server-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.dashboard-modern .server-controls .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dashboard-modern .server-controls .btn svg {
    width: 18px;
    height: 18px;
}

.dashboard-modern .server-controls .btn-success {
    background: #4CAF50;
    color: #fff;
}

.dashboard-modern .server-controls .btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.dashboard-modern .server-controls .btn-danger {
    background: #f44336;
    color: #fff;
}

.dashboard-modern .server-controls .btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.dashboard-modern .server-controls .btn-warning {
    background: #FF9800;
    color: #fff;
}

.dashboard-modern .server-controls .btn-warning:hover {
    background: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* Status Panel */
.status-panel {
    background: rgba(76, 175, 80, 0.05) !important;
    border: 1px solid rgba(76, 175, 80, 0.2) !important;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.status-panel h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.status-panel p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.status-panel strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Console Panel */
.console-panel {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    padding: 24px;
}

.console-panel h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.server-console {
    background: #0a0a0f !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    padding: 16px;
    height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
}

.console-content {
    color: rgba(255, 255, 255, 0.7);
}

.console-line {
    margin-bottom: 4px;
}

.console-info {
    color: #ffffff !important;
}

.console-error {
    color: #f44336 !important;
}

.console-warning {
    color: #FF9800 !important;
}

/* Console Input */
.console-input-container {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.console-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    color: #fff !important;
    font-size: 14px;
}

.console-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* File Manager - Improved */
.file-manager {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.file-manager h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.file-toolbar {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 16px;
}

.file-explorer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.file-table-container {
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.file-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.file-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.file-table th {
    padding: 12px;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.file-table td {
    padding: 12px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Server Info Panel */
.server-info {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    padding: 24px;
}

.server-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.server-info p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.server-info strong {
    color: rgba(255, 255, 255, 0.9);
}

.server-address {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* ============================================
   SERVER PANEL STYLES - Dashboard Based
   ============================================ */

.stats-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 28px;
    min-width: 160px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-card .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.stat-card .stat-icon svg {
    width: 20px;
    height: 20px;
}

.status-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(76, 175, 80, 0.03));
    border-color: rgba(76, 175, 80, 0.25);
}

.status-card .stat-icon {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.status-card:hover {
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.1);
}

.type-card {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.08), rgba(33, 150, 243, 0.03));
    border-color: rgba(33, 150, 243, 0.25);
}

.type-card .stat-icon {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
}

.type-card:hover {
    border-color: rgba(33, 150, 243, 0.5);
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.1);
}

.version-card {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08), rgba(255, 152, 0, 0.03));
    border-color: rgba(255, 152, 0, 0.25);
}

.version-card .stat-icon {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
}

.version-card:hover {
    border-color: rgba(255, 152, 0, 0.5);
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.1);
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-card .stat-value {
    font-size: 18px;
    font-weight: 700;
}

.status-card .stat-value {
    color: #4ade80;
}

.type-card .stat-value {
    color: #64b5f6;
}

.version-card .stat-value {
    color: #ffb74d;
}

/* Server Actions Bar */
.server-actions-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-action svg {
    width: 18px;
    height: 18px;
}

/* Status Panel Card */
.status-panel-card {
    margin-top: 20px;
}

.status-info {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.status-info p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.status-info p:last-child {
    border-bottom: none;
}

.status-info strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Console Card */
.console-card {
    margin-top: 20px;
}

.console-toolbar-modern {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.console-output {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    height: 250px;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.console-line {
    padding: 2px 0;
    word-break: break-all;
}

.console-line.info {
    color: #ffffff;
}

.console-line.success {
    color: #ffffff;
}

.console-line.error {
    color: #ffb3b3;
}

.console-line.warning {
    color: #ffe0b3;
}

.console-line.console-command {
    color: #b0b0b0;
    font-weight: 500;
    opacity: 0.8;
}

.console-line.console-error {
    color: #ffb3b3;
    font-weight: 500;
}

.console-output::-webkit-scrollbar {
    width: 8px;
}

.console-output::-webkit-scrollbar-track {
    background: #1a1a2e;
}

.console-output::-webkit-scrollbar-thumb {
    background: #3a3a4e;
    border-radius: 4px;
}

.console-output::-webkit-scrollbar-thumb:hover {
    background: #4a4a5e;
}

.console-input-container {
    display: flex;
    gap: 12px;
}

.console-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.console-input:focus {
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.console-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Prevent browser autocomplete dropdown */
.console-input::-webkit-contacts-auto-fill-button,
.console-input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.console-input:-webkit-autofill,
.console-input:-webkit-autofill:hover,
.console-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Server Details Grid */
.server-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.server-details-grid .detail-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
}

.server-details-grid .detail-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.server-details-grid .detail-value {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.connection-info {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.connection-info h4 {
    margin: 0 0 12px 0;
    color: #4CAF50;
    font-size: 14px;
}

.connection-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
}

/* File List Styles */
.file-list {
    display: flex;
    flex-direction: column;
}

.file-empty {
    text-align: center;
    padding: 48px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.file-item {
    display: grid;
    grid-template-columns: 40px 1fr 140px 80px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    cursor: pointer;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

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

.file-checkbox-col {
    display: flex;
    align-items: center;
}

.file-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #4CAF50;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.file-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.folder-icon {
    color: #ffc107;
}

.file-icon-text {
    color: #6c757d;
}

.archive-icon {
    color: #17a2b8;
}

.file-name {
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    flex-shrink: 0;
}

.file-badge.editable {
    background: #28a745;
    color: white;
}

.file-badge.archive {
    background: #17a2b8;
    color: white;
}

.file-badge.folder {
    background: #ffc107;
    color: #000;
}

.file-badge.binary {
    background: #6c757d;
    color: white;
}

.file-badge:not(.editable):not(.archive):not(.folder):not(.binary) {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.folder-highlight {
    background: rgba(255, 193, 7, 0.05) !important;
    border-left: 3px solid #ffc107;
}

.folder-highlight:hover {
    background: rgba(255, 193, 7, 0.1) !important;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.file-size {
    width: 60px;
    text-align: right;
}

.file-modified {
    width: 80px;
}

.file-actions-col {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.file-actions-col .action-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.file-actions-col .action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.file-actions-col .action-btn.edit:hover {
    color: #4CAF50;
}

.file-actions-col .action-btn.delete:hover {
    color: #f44336;
}

.file-actions-col .action-btn.extract:hover {
    color: #17a2b8;
}

.file-actions-col .action-btn svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Tab pane for server panel - full width */
.content-area {
    width: 100%;
    max-width: none;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-area .tab-pane {
    padding: 0;
    width: 100%;
    max-width: none;
    flex: 1;
}

.content-area .tab-content {
    width: 100%;
    max-width: none;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Server panel specific - force full width */
#controlTab,
#filesTab,
#infoTab {
    width: 100%;
    max-width: none;
}

#controlTab .form-card,
#filesTab .form-card,
#infoTab .form-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* Stats row full width */
.stats-row {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .server-actions-bar {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .server-details-grid {
        grid-template-columns: 1fr;
    }
    
    .console-input-container {
        flex-direction: column;
    }
    
    .file-item {
        grid-template-columns: 40px 1fr 60px;
    }
    
    .file-meta .file-modified {
        display: none;
    }
    
    /* Server panel responsive */
    #controlTab .form-card,
    #filesTab .form-card,
    #infoTab .form-card {
        width: 100% !important;
        max-width: none !important;
    }
}

/* ============================================
   MAGNANODE-STYLE FILE MANAGER
   ============================================ */

.file-manager-magnanode {
    background: #0d0d12;
    border-radius: 8px;
    overflow-x: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-width: 600px;
}

/* Ensure proper sizing for file manager in container */
.file-manager-container {
    overflow-x: auto;
}

/* Header with columns */
.file-manager-header {
    display: grid;
    grid-template-columns: 40px 2fr 100px 160px 140px;
    align-items: center;
    padding: 12px 20px;
    background: #16161e;
    border-bottom: 1px solid #252532;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b6b7b;
}

.file-manager-header .col-checkbox {
    display: flex;
    align-items: center;
}

.file-manager-header .col-name {
    padding-left: 8px;
}

.file-manager-header .col-size,
.file-manager-header .col-modified {
    text-align: left;
    color: #9ca3af;
}

.file-manager-header .col-actions {
    text-align: left;
    color: #9ca3af;
}

/* File list container */
.file-list-magnanode {
    display: flex;
    flex-direction: column;
}

/* File row styling */
.file-row-magnanode {
    display: grid;
    grid-template-columns: 40px 2fr 100px 160px 140px;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #1a1a23;
    transition: all 0.15s ease;
    cursor: pointer;
    background: #0d0d12;
}

.file-row-magnanode:hover {
    background: #15151c;
}

.file-row-magnanode:last-child {
    border-bottom: none;
}

/* Parent directory row */
.file-row-magnanode.parent-dir {
    background: #0f0f14;
}

.file-row-magnanode.parent-dir:hover {
    background: #16161e;
}

/* Checkbox column */
.file-row-magnanode .file-checkbox-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-row-magnanode .file-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #6366f1;
}

/* File info with icon */
.file-row-magnanode .file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.file-row-magnanode .file-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.file-row-magnanode .file-icon svg {
    width: 20px;
    height: 20px;
}

/* File name styling */
.file-row-magnanode .file-name {
    font-size: 14px;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.file-row-magnanode .file-name:hover {
    color: #fff;
}

/* Meta columns */
.file-row-magnanode .file-meta {
    font-size: 13px;
    color: #71717a;
}

.file-row-magnanode .file-size {
    font-size: 13px;
    color: #a1a1aa;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 80px;
    text-align: left;
}

.file-row-magnanode .file-modified {
    font-size: 13px;
    color: #a1a1aa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 140px;
    text-align: left;
}

/* Actions column */
.file-row-magnanode .file-actions-col {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.file-row-magnanode .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #27272e;
    border-radius: 6px;
    color: #71717a;
    cursor: pointer;
    transition: all 0.15s ease;
}

.file-row-magnanode .action-btn:hover {
    background: #1f1f28;
    border-color: #3f3f4f;
    color: #a1a1aa;
}

.file-row-magnanode .action-btn svg {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Dropdown menu styles */
.file-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #1f1f28;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    padding: 6px 0;
    min-width: 160px;
    z-index: 10000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    margin-top: 4px;
    max-height: none;
    overflow: visible;
}

.file-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: #e4e4e7;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.file-dropdown-menu .dropdown-item:hover {
    background: #2a2a3a;
}

.file-dropdown-menu .dropdown-item.delete-item:hover {
    background: rgba(244, 67, 54, 0.15);
}

.file-dropdown-menu .dropdown-icon {
    display: flex;
    align-items: center;
    color: #71717a;
}

.file-dropdown-menu .dropdown-icon svg {
    width: 14px;
    height: 14px;
}

/* More options button */
.file-actions-col .file-menu-container {
    position: relative;
}

/* Toolbar styling */
.file-toolbar-magnanode {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #16161e;
    border-bottom: 1px solid #252532;
}

.file-toolbar-magnanode .toolbar-title {
    font-size: 16px;
    font-weight: 600;
    color: #e4e4e7;
}

.file-toolbar-magnanode .toolbar-subtitle {
    font-size: 12px;
    color: #6b6b7b;
    margin-top: 2px;
}

.file-toolbar-magnanode .toolbar-actions {
    display: flex;
    gap: 8px;
}

/* Breadcrumb styling */
.breadcrumb-magnanode {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: #0f0f14;
    border-bottom: 1px solid #1a1a23;
    font-size: 13px;
    color: #71717a;
}

.breadcrumb-magnanode .breadcrumb-item {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.breadcrumb-magnanode .breadcrumb-item:hover {
    background: #1a1a23;
    color: #e4e4e7;
}

.breadcrumb-magnanode .breadcrumb-item.current {
    color: #e4e4e7;
    font-weight: 500;
}

.breadcrumb-magnanode .breadcrumb-separator {
    color: #4b4b57;
    margin: 0 4px;
}

/* Responsive styles for Magnanode file manager */
@media (max-width: 900px) {
    .file-manager-header {
        grid-template-columns: 40px 2fr 80px 100px 100px;
    }
    
    .file-row-magnanode {
        grid-template-columns: 40px 2fr 80px 100px 100px;
    }
    
    .file-row-magnanode .file-modified {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .file-manager-header {
        grid-template-columns: 40px 2fr 80px 0 100px;
    }
    
    .file-row-magnanode {
        grid-template-columns: 40px 2fr 80px 0 100px;
    }
    
    .file-manager-header .col-modified,
    .file-row-magnanode .file-modified {
        display: none;
    }
}

/* Empty state */
.file-empty-magnanode {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6b6b7b;
}

.file-empty-magnanode svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* ==========================================
   Terminal Console - LemHost Style
   ========================================== */
.console-terminal {
    background: #0d0d0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(20, 20, 25, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.console-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
}

.console-title svg {
    opacity: 0.6;
}

.console-actions {
    display: flex;
    gap: 6px;
}

.console-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.console-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

.console-output.terminal {
    background: #0a0a0c;
    min-height: 500px;
    max-height: 700px;
    overflow-y: auto;
    padding: 12px 16px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #c0c0c0;
}

.console-output.terminal::-webkit-scrollbar {
    width: 6px;
}

.console-output.terminal::-webkit-scrollbar-track {
    background: transparent;
}

.console-output.terminal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* Estilos de consola - 100% agnósticos */
.log-line {
    margin-bottom: 2px;
    word-break: break-all;
    white-space: pre-wrap;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
}

.log-time {
    color: #6b7280;
    opacity: 0.7;
    margin-right: 8px;
}

.log-label {
    color: #4CAF50;
    font-weight: 600;
    margin-right: 8px;
}

.log-label.error {
    color: #ef4444;
}

.log-msg {
    color: #e5e5e5; /* Color por defecto si el servidor no envía códigos ANSI */
}

/* Los colores ANSI se aplican automáticamente vía ansi-to-html con estilos inline */
/* NO definir colores hardcodeados - cada servidor define sus propios colores */

.console-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(20, 20, 25, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.console-prompt {
    color: #4ade80;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    user-select: none;
}

.console-input-area .console-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e0e0e0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 13px;
    padding: 4px 0 4px 12px;
}

.console-input-area .console-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.console-send-btn {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4ade80;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.console-send-btn:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.5);
}

/* ==========================================
   Server Action Buttons - LemHost Style
   ========================================== */
.server-actions-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: rgba(30, 30, 35, 0.9);
    color: rgba(255, 255, 255, 0.8);
}

.btn-action svg {
    width: 16px;
    height: 16px;
}

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

.btn-action.action-start:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.btn-action.action-stop {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.btn-action.action-stop:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-action.action-restart {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.btn-action.action-restart:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.4);
}

.btn-action.action-kill {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
    color: #dc2626;
}

.btn-action.action-kill:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
}

.btn-action:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================
   Modern Server Tabs
   ========================================== */
.panel-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 24px;
    padding: 6px;
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.panel-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.panel-tab svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: all 0.25s ease;
}

.panel-tab:hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
}

.panel-tab:hover svg {
    opacity: 0.9;
}

.panel-tab.active {
    background: rgba(76, 175, 80, 0.12);
    color: #4ade80;
    box-shadow: 0 0 16px rgba(76, 175, 80, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}

.panel-tab.active svg {
    opacity: 1;
    color: #4ade80;
}

.panel-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4ade80, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.panel-tab.active::after {
    width: 60%;
}

/* Server Info Panels */
.server-info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.info-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.info-panel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.info-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-panel:nth-child(1) .info-panel-icon {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.15), rgba(103, 58, 183, 0.05));
    color: #9575CD;
}

.info-panel:nth-child(2) .info-panel-icon {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.05));
    color: #FFB74D;
}

.info-panel-content {
    flex: 1;
    min-width: 0;
}

.info-panel-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-panel-value {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.info-panel-copy {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.info-panel-copy:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-panel-copy:active {
    transform: scale(0.95);
}

/* Fourth resource item - Status */
.resource-item:nth-child(4) .resource-item-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(156, 39, 176, 0.05));
    color: #BA68C8;
}

/* Status colors */
.resource-value.status-online {
    color: #4CAF50 !important;
    font-weight: 600;
}

.resource-value.status-offline {
    color: #F44336 !important;
    font-weight: 600;
}

.resource-value.status-starting {
    color: #FF9800 !important;
    font-weight: 600;
}

.resource-value.status-stopping {
    color: #FF5722 !important;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE MÓVIL COMPLETO
   Cubre: index, login, register, verify-email,
          dashboard, server
   Breakpoints: 768px, 480px, 360px
   ============================================ */

/* ---- Sidebar hamburger button ---- */
.sidebar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-right: 12px;
}
.sidebar-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #e5e5e5;
    border-radius: 2px;
    transition: all 0.2s;
}

/* Overlay oscuro cuando el sidebar está abierto */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active {
    display: block;
}

/* ============================================
   BREAKPOINT 768px — Tablets y móviles grandes
   ============================================ */
@media (max-width: 768px) {

    /* --- Sidebar: ocultar y convertir en drawer --- */
    .dashboard-sidebar {
        position: fixed !important;
        top: 0;
        left: -280px;
        width: 260px !important;
        height: 100vh !important;
        min-height: 100vh !important;
        z-index: 999;
        border-right: 1px solid rgba(255,255,255,0.1) !important;
        border-bottom: none !important;
        border-radius: 0 !important;
        overflow-y: auto;
        transition: left 0.25s ease;
        flex-direction: column !important;
    }
    .dashboard-sidebar.sidebar-open {
        left: 0;
    }

    /* Mostrar botón hamburguesa */
    .sidebar-toggle {
        display: flex;
    }

    /* Main: ocupar todo el ancho */
    .dashboard-main {
        margin-left: 0 !important;
        width: 100% !important;
    }

    /* Header: botón hamburguesa + título en misma fila */
    .main-header {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 16px;
    }
    .header-left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        flex: 1;
        min-width: 0;
    }
    .page-title {
        font-size: 18px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .page-subtitle {
        width: 100%;
        font-size: 12px !important;
        margin-top: 2px;
    }
    .header-actions {
        width: 100%;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    .header-actions .btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
        font-size: 13px;
        padding: 8px 12px;
    }

    /* Content area padding reducido */
    .content-area {
        padding: 14px !important;
    }

    /* Grids de stats y servidores */
    .stats-row,
    .servers-grid,
    .form-grid,
    .resources-overview {
        grid-template-columns: 1fr !important;
    }

    /* Tarjetas de servidor */
    .server-card {
        padding: 16px !important;
    }

    /* --- Panel tabs (server.html) --- */
    .panel-tabs {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 4px;
        padding: 0 14px 6px;
        scrollbar-width: none;
    }
    .panel-tabs::-webkit-scrollbar { display: none; }
    .panel-tab {
        flex-shrink: 0;
        font-size: 13px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    /* --- Consola --- */
    .console-input-area {
        flex-wrap: wrap;
        gap: 8px;
    }
    .console-input-area input {
        flex: 1 1 100%;
        width: 100%;
    }
    .console-input-area button {
        width: 100%;
        justify-content: center;
    }
    .server-console {
        height: 220px !important;
    }

    /* --- Acciones del servidor --- */
    .server-actions-bar {
        flex-direction: column;
        gap: 8px;
    }
    .btn-action {
        width: 100%;
        justify-content: center;
    }

    /* --- File manager --- */
    .file-manager-magnanode {
        min-width: 0 !important;
        overflow-x: auto;
    }
    .file-manager-header,
    .file-row-magnanode {
        grid-template-columns: 36px 1fr 90px !important;
    }
    .file-manager-header .col-modified,
    .file-row-magnanode .file-modified,
    .file-manager-header .col-size,
    .file-row-magnanode .file-size {
        display: none;
    }
    .file-toolbar-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .toolbar-actions {
        flex-wrap: wrap;
        gap: 6px;
    }
    .toolbar-actions .btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* --- Modales: pantalla completa en móvil --- */
    .modal-container {
        max-width: 100% !important;
        max-height: 100dvh !important;
        height: 100dvh;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    .modal-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .modal-tabs::-webkit-scrollbar { display: none; }
    .modal-body {
        overflow-y: auto;
        max-height: calc(100dvh - 120px);
    }

    /* --- Server details grid --- */
    .server-details-grid {
        grid-template-columns: 1fr !important;
    }

    /* --- Resource cards --- */
    .resource-card {
        padding: 14px !important;
    }

    /* --- Forms --- */
    .form-card {
        padding: 16px !important;
    }
    .form-group label {
        font-size: 13px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px !important;
    }

    /* --- Auth pages (login/register/verify) --- */
    .auth-container {
        padding: 20px 16px;
        min-height: 100dvh;
    }
    .auth-card {
        padding: 28px 20px !important;
        border-radius: 16px;
        max-width: 100%;
    }
    .auth-logo {
        max-width: 150px !important;
        height: auto !important;
    }
    .auth-header h1 {
        font-size: 24px !important;
    }
    .auth-header p {
        font-size: 14px !important;
    }
    .form-group {
        margin-bottom: 1rem !important;
    }
    .form-group input,
    .form-group select {
        font-size: 16px !important;
        padding: 14px !important;
    }
    .auth-form .btn {
        font-size: 16px !important;
        padding: 16px !important;
    }
    .auth-footer {
        font-size: 14px !important;
    }

    /* --- Landing index --- */
    .landing-header .nav-container {
        padding: 0 16px;
    }
    .hero-content-modern h1 {
        font-size: 30px !important;
    }
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    /* --- Footer landing --- */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
}

/* ============================================
   BREAKPOINT 480px — Móviles medianos
   ============================================ */
@media (max-width: 480px) {

    /* Tipografía general */
    body { font-size: 14px; }

    /* Landing */
    .hero-content-modern h1 {
        font-size: 26px !important;
        line-height: 1.25;
    }
    .hero-description {
        font-size: 14px !important;
    }
    .hero-badge {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }
    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
    }
    .hero-stats {
        gap: 16px;
    }
    .hero-stat-number {
        font-size: 28px !important;
    }
    .features-grid-modern {
        grid-template-columns: 1fr !important;
    }
    .feature-card-modern {
        padding: 20px 16px;
    }
    .cta-content h2 {
        font-size: 22px !important;
    }

    /* Dashboard */
    .page-title {
        font-size: 16px !important;
    }
    .content-area {
        padding: 10px !important;
    }
    .main-header {
        padding: 12px 12px;
    }
    .resource-stat-value {
        font-size: 20px !important;
    }
    .panel-tab {
        font-size: 12px !important;
        padding: 7px 10px !important;
    }
    .panel-tab svg {
        width: 14px;
        height: 14px;
    }

    /* Consola más pequeña */
    .server-console {
        height: 180px !important;
    }
    .log-line {
        font-size: 11px !important;
    }

    /* Auth */
    .auth-card {
        padding: 22px 14px !important;
    }
    .auth-header h2 {
        font-size: 20px !important;
    }
    .form-group {
        margin-bottom: 14px;
    }
    .btn-auth {
        font-size: 14px !important;
        padding: 11px !important;
    }

    /* Server actions compactos */
    .btn-action span {
        display: none; /* solo ícono en móviles pequeños */
    }
    .btn-action {
        padding: 10px;
        min-width: 44px;
        width: auto !important;
        justify-content: center;
    }
    .server-actions-bar {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ============================================
   BREAKPOINT 360px — Móviles pequeños
   ============================================ */
@media (max-width: 360px) {
    .hero-content-modern h1 {
        font-size: 22px !important;
    }
    .auth-card {
        padding: 18px 12px !important;
        border-radius: 12px;
    }
    .panel-tabs {
        padding: 0 8px 6px;
    }
    .content-area {
        padding: 8px !important;
    }
    .sidebar-toggle {
        width: 34px;
        height: 34px;
    }
}

/* ============================================
   DANGER ZONE - Rediseño
   ============================================ */
.danger-zone {
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(239, 68, 68, 0.03);
}

.danger-zone-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.06);
}

.danger-zone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    flex-shrink: 0;
}

.danger-zone-title {
    font-size: 15px;
    font-weight: 600;
    color: #ef4444;
    margin: 0 0 2px;
}

.danger-zone-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.danger-zone-body {
    padding: 6px 0;
}

.danger-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
}

.danger-action-row + .danger-action-row {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.danger-action-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.danger-action-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
}

.danger-action-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}

.btn-danger-outline {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.5);
    background: transparent;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
}

@media (max-width: 480px) {
    .danger-action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .btn-danger-outline {
        width: 100%;
        text-align: center;
    }
}


/* ============================================
   FOOTER MODERN STYLES
   ============================================ */

.footer-modern {
    background: #0a0a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-modern {
        padding: 40px 20px 20px;
    }
}
