@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
    --bg: #0a0a0f;
    --surface: #13131a;
    --surface2: #1c1c26;
    --border: #2a2a38;
    --accent: #6c63ff;
    --accent-soft: rgba(108, 99, 255, 0.12);
    --green: #22c55e;
    --green-soft: rgba(34, 197, 94, 0.1);
    --text: #e8e8f0;
    --text-muted: #6b6b80;
    --text-dim: #3a3a50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

.header {
    padding: 28px 40px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.header h1 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text);
}

.header-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--green-soft);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--green);
    font-weight: 500;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px;
}

.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    background: var(--surface);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
    width: fit-content;
}

.tab {
    padding: 8px 20px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.tab:hover {
    color: var(--text);
}

.tab.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 12px rgba(108, 99, 255, 0.3);
}

.count {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: 'DM Mono', monospace;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 12px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.card.sent {
    opacity: 0.45;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.status {
    background: var(--green-soft);
    color: var(--green);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.date {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'DM Mono', monospace;
}

.card h2 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.2px;
}

.card .description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ref {
    font-size: 11px;
    color: var(--text-dim);
    font-family: 'DM Mono', monospace;
}

.card-footer a {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.15s;
}

.card-footer a:hover {
    opacity: 0.7;
}

.sent-form {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.sent-form input {
    flex: 1;
    padding: 9px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.15s;
}

.sent-form input::placeholder {
    color: var(--text-dim);
}

.sent-form input:focus {
    border-color: var(--accent);
}

.sent-form button {
    padding: 9px 18px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
}

.sent-form button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.sent-label {
    font-size: 12px;
    color: var(--green);
    margin-top: 4px;
    font-weight: 500;
}

.card-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

.empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-size: 14px;
}
/* LOGIN */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.login-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
}

.login-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.login-header h1 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.login-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.15s;
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.form-group input:focus {
    border-color: var(--accent);
}

.login-btn {
    width: 100%;
    padding: 11px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: opacity 0.15s;
    margin-top: 4px;
}

.login-btn:hover {
    opacity: 0.85;
}

