:root {
    --bg: #0b0f17;
    --card: #121a2a;
    --text: #e8eefc;
    --muted: #9aa4b2;
    --accent: #00FF85;
    --ok: #4ade80;
    --bad: #fb7185;
    --border: rgba(255, 255, 255, 0.08);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    margin: 0;
    font-family: system-ui;
    background: radial-gradient(circle at top, #111a2e, var(--bg));
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0px;
}

.main-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px;
    gap: 20px;
}

.logo {
    margin: 20px 0;
}

.card {
    width: 100%;
    max-width: 520px;
    background: rgba(18, 26, 42, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.card.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

h1 {
    margin: 0 0 8px;
}

.row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 14px;
    color: var(--muted);
}

.col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.online {
    background: var(--ok);
}

.offline {
    background: var(--bad);
}

.upload {
    border: 1px dashed var(--border);
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

input,
button {
    width: 100%;
    margin-top: 10px;
}

button {
    padding: 10px;
    border: none;
    background: var(--accent);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

#status {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.upload-box {
    border: 2px dashed var(--border);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    transition: .25s;
}

.upload-box.dragover {
    border-color: var(--accent);
    background: rgba(110, 168, 254, .08);
    transform: scale(1.02);
}

#dropZone {
    cursor: pointer;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

#browseBtn {
    margin-top: 15px;
}

#status {
    margin-top: 18px;
    color: var(--muted);
}

#selectedFile {
    margin-top: 15px;
    color: var(--accent);
    font-size: 14px;
    word-break: break-all;
}

#uploadBtn {
    margin-top: 20px;
}

.upload-box.dragover {
    border-color: var(--accent);
    background: rgba(110, 168, 254, .08);
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);

}

footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}