/**
 * style.css - Unified theme for itsavibe.ai
 *
 * Synthwave-inspired palette: cyan, coral, orange on dark background.
 * Clean, modern glassmorphism with Inter font.
 */

/* ── Fluid root font size ─────────────────────────── */
html {
    font-size: clamp(0.875rem, 0.75rem + 0.39vw, 1.1875rem);
}

/* ── Base ──────────────────────────────────────────── */
body {
    background: #0a0a0f;
    background-image:
        linear-gradient(rgba(0, 200, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 212, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse at 50% 100%, rgba(232, 88, 122, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 200, 212, 0.04) 0%, transparent 50%);
    background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
    color: #e8e4ef;
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    line-height: 1.6;
}

/* ── Typography ────────────────────────────────────── */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 200, 212, 0.3);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    color: #e8587a;
    font-weight: 600;
    text-align: center;
}

h4 {
    text-align: center;
}

p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
    color: #9a93a8;
    line-height: 1.8;
    text-align: center;
}

a {
    color: #00c8d4;
    transition: color 0.3s ease;
}

a:hover {
    color: #5de8f0;
}

.highlight {
    color: #00c8d4;
    text-shadow: 0 0 8px rgba(0, 200, 212, 0.3);
}

/* ── Page content wrapper ──────────────────────────── */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ── Site logo ─────────────────────────────────────── */
.site-logo {
    max-width: 200px;
    margin: 30px auto 20px;
    display: block;
    filter: drop-shadow(0 0 16px rgba(0, 200, 212, 0.15));
}

/* ── Glass card — primary content container ────────── */
.content-section,
.section-container {
    background: rgba(15, 12, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px auto;
    width: 85%;
    max-width: 1200px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Force center-align on all child elements and center blocks */
.content-section *,
.section-container *,
.section * {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* sunset gradient top stripe */
.content-section::before,
.section-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    opacity: 0.7;
}

.content-section:hover,
.section-container:hover {
    border-color: rgba(0, 200, 212, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 200, 212, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* ── Long-string word-wrap (URLs, code) ────────────── */
.content-section a,
.section-container a,
.content-section code,
.section-container code {
    overflow-wrap: break-word;
    word-break: break-word;
}

.content-section h2,
.section-container h2 {
    color: #00c8d4;
    text-align: center;
    border-bottom: 1px solid rgba(0, 200, 212, 0.15);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* ── Inline section blocks (used on landing) ───────── */
.section {
    padding: 30px 20px;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.section h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* ── Buttons ───────────────────────────────────────── */
.back-button,
.contact-button {
    background: linear-gradient(135deg, rgba(232, 88, 122, 0.15), rgba(0, 200, 212, 0.15));
    color: #00c8d4;
    padding: 10px 24px;
    border: 1px solid rgba(0, 200, 212, 0.25);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    width: fit-content;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    margin: 10px auto;
    letter-spacing: 0.5px;
}

.back-button:hover,
.contact-button:hover {
    background: linear-gradient(135deg, rgba(232, 88, 122, 0.25), rgba(0, 200, 212, 0.25));
    border-color: #00c8d4;
    box-shadow: 0 0 20px rgba(0, 200, 212, 0.15);
    transform: translateY(-2px);
    color: #5de8f0;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
    margin-top: 60px;
    padding: 20px;
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    border-top: 1px solid rgba(0, 200, 212, 0.08);
}

/* ── Team members (about page) ─────────────────────── */
.team-member {
    background: rgba(15, 12, 25, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 16px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    opacity: 0.5;
}

.team-member:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 200, 212, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.member-name {
    color: #e8587a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.member-role {
    color: #00c8d4;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.member-bio {
    color: #9a93a8;
    font-size: 0.9rem;
    padding: 0 10px;
    line-height: 1.8;
}

/* ── Badge cards (standards page) ────────────────────── */
.badge-card {
    background: rgba(15, 12, 25, 0.5);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ── Social links (landing page) ───────────────────── */
.social-link-card {
    background: rgba(15, 12, 25, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 200, 212, 0.12);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    opacity: 0.5;
}

.social-link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 200, 212, 0.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.social-link {
    display: inline-block;
    background: linear-gradient(90deg, #e8587a, #00c8d4);
    color: #000 !important;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 200, 212, 0.3);
}

.social-media-section {
    margin-bottom: 50px;
}

.social-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-icon {
    margin-bottom: 15px;
}

.social-description {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── Tool cards (tooling page) ─────────────────────── */
.tool-card {
    background: rgba(15, 12, 25, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    opacity: 0.5;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 200, 212, 0.2);
}

.tool-name {
    color: #e8587a;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tool-description {
    color: #9a93a8;
    font-size: 0.9rem;
}

.tool-link {
    display: inline-block;
    margin-top: 10px;
    color: #00c8d4;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tool-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 200, 212, 0.3);
}

/* ── Lists ─────────────────────────────────────────── */
ul, li {
    text-align: center;
    list-style-position: inside;
    line-height: 2;
    color: #9a93a8;
}

/* ── Legacy logo class ─────────────────────────────── */
.logo {
    width: 200px;
    margin-top: 20px;
}

/* ── Markdown/code boxes ───────────────────────────── */
.markdown-box {
    background: rgba(15, 12, 25, 0.7);
    padding: 16px;
    border-radius: 8px;
    display: inline-block;
    text-align: left;
    font-family: monospace;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
    color: #c8c0d8;
    max-width: 80%;
    border: 1px solid rgba(0, 200, 212, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.download-link {
    color: #00c8d4;
    text-decoration: none;
    font-weight: bold;
}

.download-link:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 200, 212, 0.3);
}

/* ── Standards page: badge grid ──────────────────────── */
.badge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.badge-item {
    background: rgba(15, 12, 25, 0.5);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 220px;
}

.badge-item img {
    max-height: 28px;
    margin-bottom: 8px;
}

.badge-item p {
    font-size: 0.85rem;
    margin: 5px 0 0;
    text-align: center;
}

.code-block {
    background: rgba(15, 12, 25, 0.7);
    border: 1px solid rgba(0, 200, 212, 0.12);
    border-radius: 8px;
    padding: 15px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #c0c0d0;
    white-space: pre-wrap;
    word-break: break-all;
    text-align: center;
    margin: 15px 0;
    overflow-x: auto;
}

.attestation-card {
    background: rgba(15, 12, 25, 0.5);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 12px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.attestation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    opacity: 0.7;
}

.attestation-card h4 {
    color: #00c8d4;
    font-size: 1rem;
    margin: 0 0 8px;
    text-align: center;
}

.attestation-card p {
    font-size: 0.9rem;
    margin: 0 auto;
    max-width: none;
    text-align: center;
}

/* ── Registry page ───────────────────────────────────── */
.registry-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 85%;
    max-width: 1200px;
    margin: 20px auto;
    box-sizing: border-box;
}

.registry-controls input,
.registry-controls select {
    background: rgba(15, 12, 25, 0.7);
    border: 1px solid rgba(0, 200, 212, 0.25);
    border-radius: 8px;
    color: #b0b0c0;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease;
}

.registry-controls input:focus,
.registry-controls select:focus {
    outline: none;
    border-color: #00c8d4;
    box-shadow: 0 0 12px rgba(0, 200, 212, 0.15);
}

.registry-controls input {
    flex: 1;
    min-width: 200px;
}

.registry-controls select option {
    background: #0c0a14;
}

#registry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 85%;
    max-width: 1200px;
    margin: 20px auto;
    box-sizing: border-box;
}

.registry-card {
    background: rgba(15, 12, 25, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    width: 340px;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.registry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    opacity: 0.7;
}

.registry-card:hover {
    border-color: rgba(0, 200, 212, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 200, 212, 0.04);
    transform: translateY(-4px);
}

.registry-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.registry-name {
    color: #00c8d4;
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
}

.registry-verified {
    background: rgba(0, 200, 212, 0.15);
    color: #00c8d4;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 200, 212, 0.25);
}

.registry-coming-soon {
    background: rgba(232, 88, 122, 0.15);
    color: #e8587a;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(232, 88, 122, 0.25);
}

.registry-desc {
    font-size: 0.9rem;
    color: #9a93a8;
    line-height: 1.7;
    margin: 8px 0;
    text-align: center;
}

.registry-badge {
    margin: 12px 0;
    text-align: center;
}

.registry-badge img {
    max-height: 22px;
}

.registry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.registry-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.registry-tool {
    background: rgba(0, 200, 212, 0.08);
    color: #e8587a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 200, 212, 0.1);
}

.registry-attestation {
    background: rgba(0, 200, 212, 0.06);
    color: #b0b0c0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 200, 212, 0.08);
}

.registry-links {
    margin-top: 12px;
    text-align: center;
}

.registry-github {
    display: inline-block;
    color: #00c8d4;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.registry-github:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 200, 212, 0.25);
}

.registry-empty {
    text-align: center;
    width: 100%;
    color: #777;
    font-size: 0.9rem;
}

/* ── Submit form ─────────────────────────────────────── */
.submit-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

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

.form-group label {
    display: block;
    color: #00c8d4;
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group label .required {
    color: #ff6b6b;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(15, 12, 25, 0.7);
    border: 1px solid rgba(0, 200, 212, 0.25);
    border-radius: 8px;
    color: #b0b0c0;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00c8d4;
    box-shadow: 0 0 12px rgba(0, 200, 212, 0.15);
}

.form-group select option {
    background: #0c0a14;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b0b0c0;
    font-size: 0.85rem;
    cursor: pointer;
}

.checkbox-group input,
.radio-group input {
    accent-color: #00c8d4;
}

.char-count {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

.submit-btn {
    background: linear-gradient(135deg, rgba(232, 88, 122, 0.15), rgba(0, 200, 212, 0.15));
    color: #00c8d4;
    padding: 12px 30px;
    border: 1px solid rgba(0, 200, 212, 0.25);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgba(232, 88, 122, 0.25), rgba(0, 200, 212, 0.25));
    border-color: #00c8d4;
    box-shadow: 0 0 20px rgba(0, 200, 212, 0.15);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.submit-feedback {
    text-align: center;
    font-size: 0.9rem;
    margin: 15px 0;
    min-height: 1.5em;
}

.submit-success {
    color: #4caf50;
}

.submit-error {
    color: #ff6b6b;
}

/* ── Attestation page ──────────────────────────────── */
.attestation-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid;
    background: rgba(15, 12, 25, 0.5);
}

.hash-display {
    font-family: monospace;
    font-size: 0.85rem;
    color: #c8c0d8;
    cursor: default;
}

.copy-btn {
    background: rgba(0, 200, 212, 0.1);
    color: #00c8d4;
    border: 1px solid rgba(0, 200, 212, 0.25);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(0, 200, 212, 0.2);
    border-color: #00c8d4;
}

/* ── Shared: Spinner ───────────────────────────────── */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 200, 212, 0.2);
    border-top-color: #00c8d4;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

/* ── Shared: Buttons ──────────────────────────────── */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: rgba(0, 200, 212, 0.1);
    color: #00c8d4;
    border-color: rgba(0, 200, 212, 0.3);
}

.btn-primary:hover {
    background: rgba(0, 200, 212, 0.2);
    border-color: #00c8d4;
}

.btn-danger {
    background: rgba(232, 88, 122, 0.1);
    color: #e8587a;
    border-color: rgba(232, 88, 122, 0.3);
}

.btn-danger:hover {
    background: rgba(232, 88, 122, 0.2);
    border-color: #e8587a;
}

.btn-accept {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.3);
}

.btn-accept:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
}

.btn-reject {
    background: rgba(232, 88, 122, 0.1);
    color: #e8587a;
    border-color: rgba(232, 88, 122, 0.3);
}

.btn-reject:hover {
    background: rgba(232, 88, 122, 0.2);
    border-color: #e8587a;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.75rem;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ── Shared: Status Badges ────────────────────────── */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid;
}

.badge-pending {
    background: rgba(212, 114, 60, 0.15);
    color: #d4723c;
    border-color: rgba(212, 114, 60, 0.3);
}

.badge-accepted {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.3);
}

.badge-rejected {
    background: rgba(232, 88, 122, 0.15);
    color: #e8587a;
    border-color: rgba(232, 88, 122, 0.3);
}

/* ── Shared: Event Type Badge ─────────────────────── */
.event-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: monospace;
    background: rgba(0, 200, 212, 0.08);
    color: #00c8d4;
    border: 1px solid rgba(0, 200, 212, 0.15);
}

/* ── Shared: Stat Cards ───────────────────────────── */
.stats-dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 24px auto;
}

.stat-card {
    background: rgba(15, 12, 25, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 212, 0.1);
    border-radius: 10px;
    padding: 16px 24px;
    min-width: 120px;
    flex: 1 1 120px;
    max-width: 180px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    opacity: 0.7;
}

.stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00c8d4;
    margin: 0;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #706a7e;
    margin: 4px 0 0;
    max-width: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.stat-accepted .stat-number { color: #4caf50; }
.stat-card.stat-pending .stat-number { color: #d4723c; }
.stat-card.stat-rejected .stat-number { color: #e8587a; }

/* ── Shared: Modal ────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.visible {
    display: flex;
}

.modal-content {
    background: #0f0c19;
    border: 1px solid rgba(0, 200, 212, 0.2);
    border-radius: 12px;
    padding: 24px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    color: #00c8d4;
    margin: 0 0 16px;
    font-size: 1.1rem;
}

.modal-content label {
    display: block;
    color: #9a93a8;
    font-size: 0.85rem;
    margin: 12px 0 4px;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
    width: 100%;
    background: rgba(15, 12, 25, 0.7);
    border: 1px solid rgba(0, 200, 212, 0.25);
    border-radius: 6px;
    color: #e8e4ef;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.85rem;
    box-sizing: border-box;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #00c8d4;
}

.modal-content select option {
    background: #0c0a14;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ── Standard taxonomy badges ───────────────────── */
.standard-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.standard-badge-vibes {
    background: rgba(0, 200, 212, 0.15);
    color: #00c8d4;
    border: 1px solid rgba(0, 200, 212, 0.3);
}
.standard-badge-verify {
    background: rgba(232, 88, 122, 0.15);
    color: #e8587a;
    border: 1px solid rgba(232, 88, 122, 0.3);
}
.standard-badge-evolve {
    background: rgba(212, 114, 60, 0.15);
    color: #d4723c;
    border: 1px solid rgba(212, 114, 60, 0.3);
}
.standard-badge-prism {
    background: rgba(155, 109, 215, 0.15);
    color: #9b6dd7;
    border: 1px solid rgba(155, 109, 215, 0.3);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .content-section,
    .section-container {
        width: 95%;
        max-width: 1200px;
        padding: 18px;
    }

    .section {
        width: 95%;
        max-width: 1200px;
        padding: 20px 15px;
    }

    .site-logo {
        max-width: 160px;
    }

    #registry-grid {
        width: 95%;
    }

    .registry-controls {
        width: 95%;
    }

    .submit-form {
        padding: 0 15px;
    }

    .stats-dashboard {
        gap: 10px;
    }

    .stat-card {
        min-width: 80px;
        padding: 12px 16px;
    }

    .stat-card .stat-number {
        font-size: 1.4rem;
    }
}
