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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #0f1117;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
}

.container {
    width: 100%;
    max-width: 480px;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #a0a0a0;
    letter-spacing: 0.05em;
}

.card {
    background: #1a1d27;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #2a2d37;
}

.card.valid {
    border-color: #2d6b4a;
}

.card.invalid {
    border-color: #6b2d2d;
}

.card.neutral {
    border-color: #2a2d37;
}

.status {
    text-align: center;
    margin-bottom: 1.5rem;
}

.status h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.valid .status h2 {
    color: #4ade80;
}

.invalid .status h2 {
    color: #f87171;
}

.status-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
}

.valid-icon {
    background: #14532d;
    color: #4ade80;
}

.invalid-icon {
    background: #450a0a;
    color: #f87171;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #12141c;
    border-radius: 8px;
}

.label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.value {
    font-size: 0.95rem;
    font-weight: 500;
}

.mono {
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.error-field .value {
    color: #f87171;
}

.raw-data {
    margin-top: 1rem;
}

.raw-data summary {
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem 0;
}

.raw-data .field {
    margin-top: 0.5rem;
}

.error-msg, .info {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    line-height: 1.5;
}
