/* assets/css/public/public.css */
/* Copyright © 2026 The Solo Software Group */

/*
 * Shared styles for all public-facing pages.
 * Loaded by templates/public/layouts/public.blade.php.
 *
 * Design tokens (same as admin):
 *   --navy: #1B2D4F  |  --gold: #C09A45
 *   --error: #B84040 |  --success: #3A8E6E
 *   --smoke: #EEF1F6 |  --fog: #F5F7FA
 *   --text-primary: #1A2740
 *   --text-secondary: #5E6F87
 *   --text-muted: #9BA8BA
 */

/* ── Base reset ──────────────────────────────────────────────────────── */

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

body.tssg-public {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background: #F5F7FA;
    color: #1A2740;
    min-height: 100vh;
}

/* ── Result page layout (centered card) ──────────────────────────────── */
/* Used by: verify-result, proposal-accepted, proposal-rejected,
   proposal-error, and future confirmation/error pages. */

body.tssg-public-result {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ── Result card ─────────────────────────────────────────────────────── */

.tssg-result-card {
    background: #fff;
    border: 1.5px solid #EEF1F6;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(27, 45, 79, 0.08);
    max-width: 420px;
    width: 100%;
    padding: 48px 36px;
    text-align: center;
}

.tssg-result-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.tssg-result-icon--success {
    background: #D6E4D0;
    color: #2D6B3F;
}

.tssg-result-icon--error {
    background: #FAEAEA;
    color: #B84040;
}

.tssg-result-icon--neutral {
    background: #EEF1F6;
    color: #5E6F87;
}

.tssg-result-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1A2740;
}

.tssg-result-message {
    font-size: 14px;
    line-height: 1.6;
    color: #5E6F87;
    margin-bottom: 24px;
}

.tssg-result-footer {
    font-size: 11px;
    color: #9BA8BA;
    border-top: 1px solid #EEF1F6;
    padding-top: 16px;
}
