* {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    color: #e2e8f0;
    background: radial-gradient(
        ellipse at top, #102c50, #070e1c 70%
    );
}
.login-box {
    width: 400px;
    max-width: 92%;
    padding: 35px;
    background: #0c1728;
    border: 1px solid #174a78;
    border-radius: 16px;
    box-shadow: 0 0 40px #0088ff22;
    text-align: center;
}
.logo {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
}
.logo span {
    color: #00b7ff;
    text-shadow: 0 0 18px #0099ff88;
}
.subtitle {
    font-size: 12px;
    letter-spacing: 5px;
    color: #6495bc;
    margin-bottom: 35px;
}
h2 {
    font-size: 20px;
    margin-bottom: 25px;
}
input, button {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 15px;
}
input {
    background: #08111f;
    border: 1px solid #25415f;
    color: #ffffff;
    outline: none;
}
input:focus {
    border-color: #00b7ff;
    box-shadow: 0 0 10px #0099ff33;
}
button {
    background: linear-gradient(135deg, #0066cc, #0099ee);
    border: 1px solid #159fff;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
button:hover {
    background: #0088ee;
    box-shadow: 0 0 20px #0088ff55;
}
.error {
    padding: 12px;
    margin-bottom: 15px;
    color: #ff8b8b;
    background: #381923;
    border-radius: 8px;
}

.panel-box {
    width: 1200px;
    max-width: 96%;
    margin: 25px auto;
    padding: 15px;
    text-align: center;
}
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.dashboard-header h2 {
    margin: 15px 0;
}
.refresh {
    color: #00b7ff;
    text-decoration: none;
    font-size: 13px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 15px 0 20px;
}
.stats > div {
    background: #102038;
    border: 1px solid #174a78;
    border-radius: 10px;
    padding: 12px 4px;
    font-size: 12px;
    color: #91a8c1;
}
.stats strong {
    display: block;
    font-size: 26px;
    margin-top: 6px;
}
.online { color: #36d399; }
.offline { color: #f87171; }
.warning { color: #fbbf24; }
.server-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}
.server-card {
    background: #0c1728;
    border: 1px solid #174a78;
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 0 15px #0088ff0d;
}
.server-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
}
.server-title span {
    font-size: 11px;
    font-weight: bold;
}
.server-title span::before {
    content: "\25CF";
    margin-right: 5px;
}
.server-address {
    color: #8db6d9;
    font-size: 13px;
    margin-top: 10px;
}
.server-details {
    color: #708ba8;
    font-size: 12px;
    margin: 8px 0 14px;
}
.server-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.server-actions button {
    padding: 10px 3px;
    margin: 0;
    font-size: 11px;
}
button:disabled {
    background: #14243a;
    border-color: #263d57;
    color: #70849b;
    cursor: not-allowed;
    box-shadow: none;
}
@media (max-width: 600px) {
    .panel-box { padding: 5px; }
    .server-list { grid-template-columns: 1fr; }
    .dashboard-header h2 { font-size: 16px; }
}

.update-info {
    font-size: 12px;
    color: #36d399;
    text-align: right;
    margin: 5px 0 12px;
}
