* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: url('https://moreno.land/images/background.webp') no-repeat center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: rgba(20, 23, 26, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 40px 30px 30px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 350px;
    text-align: center;
}

.login-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.login-title {
    color: #eee;
    text-shadow: black 0.093em 0.093em 0.093em;
    font-size: 22px;
    margin-bottom: 30px;
}

.error-message {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #d0d0d0;
    font-size: 15px;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #00ccff;
    background: rgba(255, 255, 255, 0.08);
}

.form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-input::placeholder {
    color: rgba(208, 208, 208, 0.5);
}

.login-button {
    width: 100%;
    padding: 12px;
    background: #00ccff;
    color: rgba(20, 23, 26, 0.95);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.login-button:hover:not(:disabled) {
    opacity: 0.85;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dashboard {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(20, 23, 26, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
}

.dashboard-title {
    color: #eee;
    font-size: 24px;
}

.user-info {
    color: #d0d0d0;
    font-size: 14px;
}

.logout-btn {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.2s;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(20, 23, 26, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.stat-label {
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
}

.stat-value {
    color: #00ccff;
    font-size: 28px;
    font-weight: bold;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.server-card {
    background: rgba(20, 23, 26, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.2s;
}

.server-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 204, 255, 0.2);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.server-name {
    color: #eee;
    font-size: 16px;
    font-weight: 600;
}

.server-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.server-status.online {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.server-status.offline {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.server-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.start-btn {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.start-btn:hover {
    background: rgba(76, 175, 80, 0.3);
}

.stop-btn {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.stop-btn:hover {
    background: rgba(244, 67, 54, 0.3);
}

.restart-btn {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.restart-btn:hover {
    background: rgba(255, 193, 7, 0.3);
}

.control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
progress {
    -webkit-appearance: none !important;
    appearance: none !important;
    border: none !important;
    height: 6px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    display: block !important;
}
progress::-webkit-progress-bar {
    background: rgba(30, 35, 40, 0.9) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}
progress::-webkit-progress-value {
    background: linear-gradient(90deg, #00ccff, #0099cc) !important;
    border-radius: 3px !important;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.5) !important;
}
progress::-moz-progress-bar {
    background: linear-gradient(90deg, #00ccff, #0099cc) !important;
}
.server-item { cursor: pointer; user-select: none; background: rgba(20, 23, 26, 0.75); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 15px; overflow: hidden; box-sizing: border-box; align-self: start; }
.server-item > div:first-child { background: #262a33; border-radius: 6px 6px 0 0; padding: 8px 0; position: relative; z-index: 1; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; line-height: 1.4; margin-bottom: 0; }
.server-stats-online { background: rgba(0,0,0,0.2); border-radius: 0 0 15px 15px; border: 1px solid rgba(255, 255, 255, 0.08); border-top: none; padding: 6px 8px; margin: -1px 0 0 0; font-size: 15px; font-weight: 500; line-height: 1.5; color: #aaa; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.server-stats-offline { background: rgba(255,0,0,0.1); border: none; border-radius: 0 0 15px 15px; padding: 5px 8px 4px 8px; margin: -1px 0 0 0; font-size: 15px; font-weight: 500; line-height: 1.3; color: #ff6b6b; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.context-menu { display: none; position: fixed; left: 0; top: 0; background: rgba(0, 0, 0, 0.9); color: white; border-radius: 10px; box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.4); z-index: 9999999; padding: 10px; min-width: 220px; width: 220px; }
.context-menu ul, .context-menu li { list-style: none; padding: 0; margin: 0; }
.context-menu li { padding: 8px 12px; cursor: pointer; }
.context-menu li:hover { background-color: rgba(255, 255, 255, 0.1); }
.context-menu-item { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; }
#root { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
