:root {
    --primary: #7B2CBF;
    --primary-dark: #5A189A;
    --secondary: #9D4EDD;
    --background: #10002B;
    --surface: #240046;
    --text: #E0AAFF;
    --text-light: #C77DFF;
    --success: #72FF98;
    --error: #FF4D6D;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    margin: 0;
    padding: 0;
    color: var(--text);
    min-height: 100vh;
}

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

.auth-form {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.auth-form input, .auth-form textarea {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background-color: rgba(123, 44, 191, 0.1);
    color: var(--text);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form input:focus, .auth-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.auth-form textarea {
    resize: none;
    height: 120px;
}

.auth-form button {
    background-color: var(--primary);
    color: var(--text);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.auth-form button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
}

.welcome {
    text-align: center;
    margin-bottom: 50px;
}

.welcome h1 {
    font-size: 3em;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.health-status {
    text-align: center;
    margin: 40px 0;
}

.status-text {
    font-size: 32px;
    color: var(--text-light);
}

.status-ok {
    color: var(--success);
    font-weight: bold;
    font-size: 32px;
    text-shadow: 0 0 10px rgba(114, 255, 152, 0.5);
}

.status-fail {
    color: var(--error);
    font-weight: bold;
    font-size: 32px;
    text-shadow: 0 0 10px rgba(255, 77, 109, 0.5);
}

.recheck-btn {
    background-color: var(--secondary);
    color: var(--text);
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    margin-left: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.recheck-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.auth-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.server-stats {
    margin-top: 50px;
    padding: 30px;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.server-stats h3 {
    color: var(--text-light);
    font-size: 24px;
    margin-bottom: 20px;
}

.stats-graph {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    position: relative;
}

.graph-line {
    stroke: var(--secondary);
    stroke-width: 3;
    fill: none;
}

.graph-area {
    fill: rgba(157, 78, 221, 0.1);
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.metric-card {
    background: rgba(123, 44, 191, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.metric-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
}

.metric-label {
    color: var(--text);
    margin-top: 5px;
}