/*
 * Agent Index! Styles
 * A loving tribute to 1990s web directories
 * (No trademarks harmed in the making of this stylesheet)
 */

:root {
    /* Our own purple palette - clearly distinct, still nostalgic */
    --purple-dark: #5B21B6;
    --purple-main: #7C3AED;
    --purple-light: #8B5CF6;
    --purple-pale: #EDE9FE;

    /* Retro accent colors - these are just 90s web vibes, not brand-specific */
    --yellow: #FBBF24;
    --red: #EF4444;
    --green: #22C55E;
    --blue-link: #2563EB;
    --blue-visited: #7C3AED;

    /* Backgrounds */
    --bg-cream: #FFFBEB;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F5F4;
    --border-gray: #D4D4D4;

    /* Text */
    --text-dark: #1C1917;
    --text-gray: #57534E;
}

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

body {
    font-family: 'Trebuchet MS', 'Lucida Grande', Arial, sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: var(--blue-link);
    text-decoration: underline;
}

a:visited {
    color: var(--blue-visited);
}

a:hover {
    color: var(--red);
}

/* Top marquee banner */
.top-banner {
    background: linear-gradient(135deg, var(--purple-main) 0%, var(--purple-dark) 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
    font-weight: bold;
}

.top-banner marquee {
    /* Yes, we're using marquee. It's for the aesthetic. Sue us. (Please don't.) */
}

/* Header */
.header {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-gray) 100%);
    border-bottom: 4px solid var(--purple-main);
    padding: 15px 20px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    text-align: center;
    margin-bottom: 15px;
}

.logo {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 0 var(--border-gray);
}

.logo-yara {
    color: var(--purple-main);
    letter-spacing: 2px;
    font-style: italic;
    text-shadow: 3px 3px 0 var(--purple-dark),
                 -1px -1px 0 #fff,
                 1px -1px 0 #fff,
                 -1px 1px 0 #fff;
}

.logo-bang {
    color: var(--teal);
    font-style: normal;
    display: inline-block;
    transform: rotate(12deg);
    margin-left: 2px;
    text-shadow: 2px 2px 0 #006666;
}

.logo-agent {
    color: var(--text-dark);
}

.logo-index {
    color: var(--purple-main);
    font-style: italic;
}

/* Search box */
.search-box {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.search-box input {
    width: 400px;
    max-width: 60%;
    padding: 8px 12px;
    font-size: 14px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--purple-main);
}

/* Retro button style - generic beveled look from the era */
.retro-btn {
    background: linear-gradient(180deg, #F5F5F5 0%, #D4D4D4 100%);
    border: 2px outset #E5E5E5;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 4px;
}

.retro-btn:hover {
    background: linear-gradient(180deg, #E5E5E5 0%, #C4C4C4 100%);
}

.retro-btn:active {
    border-style: inset;
}

/* Nav links */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid var(--border-gray);
    margin-top: 15px;
}

.nav-links a {
    color: var(--purple-main);
    font-weight: bold;
    text-decoration: none;
    font-size: 13px;
}

.nav-links a:hover {
    text-decoration: underline;
    color: var(--red);
}

/* Main layout */
.main-content {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 20px;
}

/* Sidebar */
.sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sidebar-section {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    margin-bottom: 15px;
    padding: 12px;
}

.sidebar-title {
    font-size: 14px;
    color: var(--purple-main);
    border-bottom: 2px solid var(--purple-main);
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.folder-icon {
    font-size: 16px;
}

/* Directory tree - classic 90s web pattern */
.directory-tree {
    list-style: none;
}

.tree-item {
    padding: 4px 0;
}

.tree-item a {
    color: var(--blue-link);
    text-decoration: none;
    font-size: 13px;
}

.tree-item a:hover {
    text-decoration: underline;
}

.tree-item a.active {
    color: var(--purple-main);
    font-weight: bold;
}

.tree-toggle {
    cursor: pointer;
    user-select: none;
    font-size: 10px;
}

.tree-children {
    list-style: none;
    margin-left: 18px;
    display: none;
}

.tree-item.expanded .tree-children {
    display: block;
}

.tree-item.expanded .tree-toggle {
    transform: rotate(90deg);
    display: inline-block;
}

.count {
    color: var(--text-gray);
    font-size: 11px;
}

/* Badges - every 90s site had these */
.new-badge {
    background: var(--yellow);
    color: var(--text-dark);
    font-size: 9px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Stats box with hit counter aesthetic */
.stats-box {
    background: var(--bg-gray);
}

.hit-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.counter-label {
    font-size: 11px;
    color: var(--text-gray);
}

.counter-digits {
    display: flex;
    gap: 1px;
}

.digit {
    background: #1C1917;
    color: #22C55E;
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 5px;
    border: 1px inset #333;
}

.last-updated {
    font-size: 10px;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 8px;
}

/* Quick links */
.quick-links {
    list-style: none;
}

.quick-links li {
    padding: 3px 0;
    font-size: 12px;
}

/* Retro notice - wink to the audience */
.retro-notice {
    background: var(--purple-pale);
    font-size: 11px;
    color: var(--text-gray);
}

/* Main content area */
.content {
    flex: 1;
    min-width: 0;
}

.content-section {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
    margin-bottom: 20px;
    padding: 15px;
}

/* Section headers with retro flair */
.section-header-retro {
    background: linear-gradient(180deg, var(--purple-main) 0%, var(--purple-dark) 100%);
    color: white;
    padding: 10px 15px;
    margin: -15px -15px 15px -15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header-retro h2 {
    font-size: 18px;
    margin: 0;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 12px;
    margin-top: 5px;
}

.starburst {
    color: var(--yellow);
    font-size: 20px;
}

.cool-badge {
    background: var(--yellow);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Featured agent */
.featured-section {
    border: 3px solid var(--purple-main);
}

.featured-agent {
    display: flex;
    gap: 20px;
}

.featured-left {
    text-align: center;
}

.agent-icon-large {
    font-size: 64px;
    background: var(--purple-pale);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--purple-light);
}

.badges {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
}

.badge-new {
    background: var(--yellow);
    color: var(--text-dark);
}

.badge-verified {
    background: var(--green);
    color: white;
}

.badge-reference {
    background: #6366F1;
    color: white;
}

.badge-adcp {
    background: #8B5CF6;
    color: white;
}

/* Protocol badges for multi-protocol agents */
.protocol-badges {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.protocol-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--bg-light);
    color: var(--text-gray);
    font-family: 'Courier Prime', monospace;
}

/* AdCP section headers */
.adcp-section {
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--purple-main);
    margin: 0 0 5px 0;
    border-bottom: 2px solid var(--purple-light);
    padding-bottom: 5px;
}

.section-description {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0 0 15px 0;
}

.featured-right h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.featured-right h3 a {
    color: var(--purple-main);
    text-decoration: none;
}

.featured-right h3 a:hover {
    text-decoration: underline;
}

.featured-provider {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.featured-provider a {
    color: var(--purple-main);
}

.featured-description {
    margin-bottom: 15px;
    line-height: 1.6;
}

.skills-box {
    background: var(--bg-gray);
    padding: 10px;
    border: 1px solid var(--border-gray);
    margin-bottom: 15px;
}

.skill-label {
    font-weight: bold;
    margin-right: 10px;
}

.skills-box code {
    background: var(--purple-pale);
    color: var(--purple-dark);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    margin-right: 5px;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    background: var(--purple-main);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.feature-tag {
    color: var(--text-gray);
    font-size: 12px;
}

/* What's new list */
.whats-new-list {
    list-style: none;
}

.whats-new-list li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-gray);
    font-size: 13px;
}

.whats-new-list li:last-child {
    border-bottom: none;
}

.date {
    color: var(--text-gray);
    font-size: 11px;
    margin-right: 10px;
}

/* Protocol explainer box */
.protocol-explainer {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4e8 100%);
    border: 2px solid var(--teal);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 0 rgba(0, 128, 128, 0.2);
}

.explainer-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.explainer-content h3 {
    margin: 0 0 10px 0;
    color: var(--purple-main);
    font-size: 18px;
}

.explainer-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
}

.explainer-content p:last-of-type {
    margin-bottom: 15px;
}

.explainer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.retro-btn.small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Agents list (retro table style) */
.agents-list {
    border: 1px solid var(--border-gray);
}

.agent-row {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-bottom: 1px solid var(--border-gray);
    gap: 15px;
}

.agent-row:last-child {
    border-bottom: none;
}

.agent-row:nth-child(even) {
    background: var(--bg-gray);
}

.agent-row:hover {
    background: var(--purple-pale);
}

.agent-row-icon {
    font-size: 28px;
    background: var(--bg-white);
    padding: 8px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
}

.agent-row-content {
    flex: 1;
}

.agent-row-content h4 {
    margin-bottom: 3px;
}

.agent-row-content h4 a {
    color: var(--purple-main);
    text-decoration: none;
}

.agent-row-content h4 a:hover {
    text-decoration: underline;
}

.agent-row-provider {
    font-size: 11px;
    color: var(--text-gray);
}

.agent-row-description {
    font-size: 12px;
    color: var(--text-dark);
    margin: 5px 0;
}

.agent-row-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.agent-row-skills code {
    background: var(--bg-gray);
    padding: 1px 5px;
    font-size: 10px;
    border-radius: 2px;
    font-family: 'Courier Prime', monospace;
}

.agent-row-meta {
    text-align: right;
    font-size: 11px;
}

.agent-row-category {
    color: var(--purple-main);
    display: block;
    margin-bottom: 5px;
}

.agent-row-status {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.operational { background: var(--green); }
.status-dot.unknown { background: var(--text-gray); }
.status-dot.degraded { background: #F59E0B; }
.status-dot.outage { background: #EF4444; }
.status-dot.auth-required { background: #8B5CF6; }

/* Response time and last checked */
.agent-row-response-time {
    font-family: 'Courier Prime', monospace;
    font-size: 10px;
    color: var(--text-gray);
    text-align: right;
}

.agent-row-last-checked {
    font-size: 10px;
    color: var(--text-gray);
    text-align: right;
}

/* About box */
.about-box {
    background: var(--bg-gray);
}

.about-content-retro p {
    margin-bottom: 12px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.info-table td {
    padding: 8px;
    border-bottom: 1px dotted var(--border-gray);
    font-size: 13px;
}

.info-table td:first-child {
    width: 30px;
    font-size: 18px;
}

.learn-more {
    margin-top: 15px;
    font-weight: bold;
}

/* Submit box with starburst */
.submit-box {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--purple-pale) 0%, #fff 100%);
}

.starburst-container {
    position: relative;
}

.starburst-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--yellow);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0.3;
    z-index: 0;
}

.submit-content {
    position: relative;
    z-index: 1;
}

.submit-box h2 {
    color: var(--purple-main);
    margin-bottom: 10px;
}

.submit-box .section-header-retro h2 {
    color: white;
}

.submit-box p {
    margin-bottom: 15px;
}

.big-btn {
    font-size: 18px;
    padding: 12px 30px;
    background: linear-gradient(180deg, var(--purple-light) 0%, var(--purple-main) 100%);
    color: white;
    border-color: var(--purple-dark);
    text-decoration: none;
    display: inline-block;
}

.big-btn:hover {
    background: linear-gradient(180deg, var(--purple-main) 0%, var(--purple-dark) 100%);
    color: white;
}

.small-text {
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--purple-main) 0%, var(--purple-dark) 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 30px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo .logo-index {
    color: var(--yellow);
    font-style: italic;
}

.footer-logo .logo-yara {
    color: var(--yellow);
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.footer-logo .logo-bang {
    color: var(--teal);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.footer a {
    color: var(--yellow);
}

.footer p {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-nostalgic {
    font-style: italic;
    opacity: 0.9;
    margin: 20px 0;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: white;
    margin: 0 5px;
}

.copyright {
    font-size: 11px;
    opacity: 0.7;
}

/* Visitor counter easter egg */
.visitor-counter {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.visitor-count {
    font-family: 'Courier Prime', monospace;
    background: #000;
    color: #22C55E;
    padding: 3px 10px;
    border: 2px inset #333;
}

/* Responsive */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .featured-agent {
        flex-direction: column;
    }

    .agent-row {
        flex-direction: column;
    }

    .agent-row-meta {
        text-align: left;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 32px;
    }

    .search-box input {
        width: 100%;
        max-width: none;
    }

    .nav-links {
        gap: 15px;
    }
}

.tagline {
    font-size: 16px;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 5px;
}

/* Protocol Tabs */
.protocol-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 15px 0 5px 0;
    border-bottom: 3px solid var(--purple-main);
}

.protocol-tab {
    background: var(--bg-gray);
    border: 2px solid var(--border-gray);
    border-bottom: none;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    position: relative;
    top: 3px;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s;
}

.protocol-tab:hover {
    background: var(--purple-pale);
    color: var(--purple-main);
}

.protocol-tab.active {
    background: var(--purple-main);
    color: white;
    border-color: var(--purple-main);
}

.protocol-tab .tab-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.protocol-tab .tab-badge.a2a {
    background: var(--green);
    color: white;
}

.protocol-tab .tab-badge.mcp {
    background: #3B82F6;
    color: white;
}

.protocol-tab .tab-badge.adcp {
    background: #F59E0B;
    color: white;
}

/* Protocol content sections */
.protocol-content {
    display: none;
}

.protocol-content.active {
    display: block;
}

/* Coming Soon Badge */
.badge-coming-soon {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

/* Protocol type badges for listings */
.badge-mcp {
    background: #3B82F6;
    color: white;
}

.badge-adcp {
    background: #F59E0B;
    color: white;
}

.badge-a2a {
    background: var(--green);
    color: white;
}

.badge-stars {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    font-weight: 600;
}

/* Protocol description box */
.protocol-info {
    background: var(--purple-pale);
    border-left: 4px solid var(--purple-main);
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 13px;
}

.protocol-info a {
    color: var(--purple-main);
    font-weight: bold;
}

/* Status indicators for listings */
.status-dot.coming-soon {
    background: #F59E0B;
    animation: blink 1.5s infinite;
}

/* Member/Server row variations */
.agent-row.member-row .agent-row-icon {
    font-size: 24px;
    padding: 10px;
    min-width: 50px;
    text-align: center;
}

/* Category headers within listings */
.category-header {
    background: var(--bg-gray);
    padding: 8px 12px;
    font-weight: bold;
    font-size: 13px;
    color: var(--purple-main);
    border-bottom: 2px solid var(--purple-light);
}

/* ============================================
   SUBMIT FORM STYLES
   ============================================ */
.submit-form-container {
    background: white;
    border: 3px solid var(--purple-main);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 4px 4px 0 var(--purple-light);
}

.submit-intro {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.submit-intro code {
    background: var(--bg-gray);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.agent-submit-form {
    background: var(--bg-gray);
    padding: 20px;
    border-radius: 6px;
    border: 2px solid var(--border-gray);
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--purple-main);
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    font-size: 14px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
}

.input-group input:focus {
    border-color: var(--purple-main);
    outline: none;
}

.form-hint {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 8px;
}

.form-hint code {
    background: white;
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--purple-main);
}

/* Validation Results */
.validation-results {
    margin-top: 20px;
}

.validation-results.hidden {
    display: none;
}

.validation-loading {
    text-align: center;
    padding: 20px;
    color: var(--purple-main);
}

.validation-loading.hidden {
    display: none;
}

.loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
    font-size: 24px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.validation-error {
    background: #FEF2F2;
    border: 2px solid #EF4444;
    border-radius: 6px;
    padding: 20px;
}

.validation-error.hidden {
    display: none;
}

.validation-error h4 {
    color: #DC2626;
    margin-bottom: 10px;
}

.validation-error p {
    color: #991B1B;
    margin-bottom: 15px;
}

.error-help {
    background: white;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
}

.error-help ul {
    margin: 10px 0 0 20px;
}

.error-help li {
    margin-bottom: 5px;
}

.error-help code {
    background: #FEE2E2;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 11px;
}

.validation-success {
    background: #F0FDF4;
    border: 2px solid #22C55E;
    border-radius: 6px;
    padding: 20px;
}

.validation-success.hidden {
    display: none;
}

.validation-success h4 {
    color: #16A34A;
    margin-bottom: 15px;
}

/* Agent Preview */
.agent-preview {
    background: white;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.preview-icon {
    font-size: 32px;
    background: var(--purple-pale);
    padding: 10px;
    border-radius: 6px;
}

.preview-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--purple-main);
    margin: 0;
}

.preview-provider {
    font-size: 13px;
    color: var(--text-gray);
}

.preview-description {
    font-size: 13px;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.5;
}

.preview-skills {
    margin-bottom: 12px;
}

.preview-skills-label {
    font-weight: bold;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.preview-skills code {
    display: inline-block;
    background: var(--purple-pale);
    color: var(--purple-main);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 6px;
    margin-bottom: 4px;
}

.preview-url {
    font-size: 12px;
    color: var(--text-gray);
}

.preview-url a {
    color: var(--purple-main);
    word-break: break-all;
}

/* Submit Actions */
.submit-actions {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #BBF7D0;
}

.submit-actions p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* Alternatives Section */
.submit-alternatives {
    margin-top: 25px;
    font-size: 13px;
    color: var(--text-gray);
}

.submit-divider {
    border: none;
    border-top: 2px dashed var(--border-gray);
    margin: 20px 0;
}

.submit-alternatives ul {
    margin: 10px 0 0 20px;
}

.submit-alternatives li {
    margin-bottom: 8px;
}

.submit-alternatives a {
    color: var(--purple-main);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }

    .input-group input {
        width: 100%;
    }

    .preview-header {
        flex-direction: column;
        text-align: center;
    }
}
