﻿/* ========== App Public Master (Omnibus App) ========== */

:root {
    --bg: #0B1220;
    --panel: #101a2e;
    --text: #e8eefc;
    --muted: rgba(232,238,252,.72);
    --border: rgba(232,238,252,.10);
    --brand: #125BFF;
    --ok: #22C55E;
    --warn: #F5C249;
    --danger: #ff5a6a;
    --shadow: 0 18px 40px rgba(0,0,0,.35);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(900px 500px at 20% 10%, rgba(18,91,255,.22), transparent 55%), radial-gradient(900px 500px at 90% 30%, rgba(34,197,94,.10), transparent 60%), var(--bg);
}

a {
    color: var(--text);
    text-decoration: none;
}

/* Top bar */
.top {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(6px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(18,91,255,1), rgba(18,91,255,.55));
    box-shadow: 0 10px 24px rgba(18,91,255,.25);
}

.logo span {
    letter-spacing: .2px;
}

.top-links {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--muted);
}

    .top-links a {
        color: var(--muted);
    }

        .top-links a:hover {
            color: var(--text);
        }

/* Layout */
.wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 16px 36px;
}

.card {
    position: relative;
    padding: 26px;
    background: linear-gradient(180deg, rgba(16,26,46,.95), rgba(16,26,46,.80));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

    .card:before {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        top: 14px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, rgba(18,91,255,.65), rgba(34,197,94,.18), transparent);
        opacity: .9;
    }

.hero {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.h1 {
    font-size: 22px;
    margin: 0 0 8px 0;
}

.p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.content {
    margin-top: 14px;
}

.footer {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    background: rgba(255,255,255,.04);
}

/* Alerts */
.alert {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
}

    .alert.ok {
        border-color: rgba(34,197,94,.35);
    }

    .alert.warn {
        border-color: rgba(245,194,73,.35);
    }

    .alert.danger {
        border-color: rgba(255,90,106,.35);
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    line-height: 1;
}

    .btn.primary {
        background: var(--brand);
        color: #fff;
        box-shadow: 0 12px 24px rgba(18,91,255,.24);
        min-width: 140px;
    }

    .btn.ghost {
        background: transparent;
        border-color: var(--border);
        color: var(--muted);
    }

        .btn.ghost:hover {
            color: var(--text);
            border-color: rgba(232,238,252,.18);
        }

/* Form */
.form {
    margin-top: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 6px 0;
}

.input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(232,238,252,.14);
    background: rgba(255,255,255,.04);
    color: var(--text);
    outline: none;
}

    .input:focus {
        border-color: rgba(18,91,255,.55);
        box-shadow: 0 0 0 4px rgba(18,91,255,.12);
    }

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

.help {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 780px) {
    .wrap {
        max-width: 560px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
