* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #00ff41;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
    font-size: 2.5em;
}

h2 {
    margin-bottom: 15px;
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

h3 {
    color: #00ff41;
    margin-bottom: 15px;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #00ff41;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #00ff41;
}

input[type="text"], 
input[type="password"], 
textarea, 
select {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    border-radius: 5px;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #00cc33;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

textarea {
    min-height: 200px;
    font-size: 12px;
    line-height: 1.4;
    resize: vertical;
}

button {
    background: linear-gradient(45deg, #00ff41, #00cc33);
    color: black;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

button:hover {
    background: linear-gradient(45deg, #00cc33, #00ff41);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.sites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.sites-panel {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff41;
    border-radius: 10px;
    padding: 20px;
    min-height: 300px;
}

.site-item {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.site-item:hover {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.site-name {
    font-weight: bold;
    color: #00ff41;
    flex: 1;
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-enabled {
    color: #00ff41;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.status-disabled {
    color: #ff6b6b;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.success {
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid #00ff41;
    color: #00ff41;
}

.error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

.editor-panel {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff41;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.logout-link {
    float: right;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.logout-link:hover {
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.8);
    color: #ff4444;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 5px;
    border: 1px solid #00ff41;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-online {
    background: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.status-offline {
    background: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
}

hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #00ff41;
    opacity: 0.5;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 255, 65, 0.3);
    border-radius: 50%;
    border-top-color: #00ff41;
    animation: spin 1s ease-in-out infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 65, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.8); }
}

/* Responsive design */
@media (max-width: 768px) {
    .sites-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .site-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .site-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    button {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* Dark scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #00ff41;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc33;
}