/* FSH Design Culture Workshop Stylesheet */
:root {
    --primary-color: #242932;       /* FSH Deep Charcoal */
    --primary-dark: #171b21;        /* Onyx Slate */
    --brand-accent: #3a4454;        /* FSH Slate Accent */
    --brand-accent-hover: #262c37;  /* Graphite Hover */
    --brand-gray: #9A9B9C;          /* FSH Design Slate Gray */
    --brand-gray-dark: #5a6475;     /* Deep Steel Gray */
    --brand-gray-light: #edf1f6;    /* Platinum Light */
    --brand-gradient-primary: linear-gradient(135deg, #242a34 0%, #3a4454 48%, #525e73 100%);
    --brand-gradient-hover: linear-gradient(135deg, #1b2028 0%, #2d3644 48%, #434e61 100%);
    --brand-gradient-hero: linear-gradient(135deg, #1a1f26 0%, #28313d 35%, #3a4555 70%, #526075 100%);
    --brand-gradient-card: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
    --brand-gradient-tag: linear-gradient(135deg, #2b323e 0%, #4a5568 100%);
    --accent-red: #e11d48;
    --accent-teal: #0d9488;
    --bg-light: #f3f5f8;
    --card-bg: #ffffff;
    --border-color: #dce2ea;
    --text-main: #1f2530;
    --text-muted: #5f6b7c;
}

body {
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f1f4f8 45%, #e4e8f0 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Brand Navbar */
.fp-navbar {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafc 100%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(33, 38, 46, 0.06);
    padding: 0.75rem 1.5rem;
}

.fp-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.fp-brand-logo {
    height: 38px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: inline-block;
}

.fp-brand-tag {
    background: var(--brand-gradient-tag);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(43, 50, 62, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fp-navbar .nav-link {
    color: #2c333f !important;
    font-weight: 500;
    transition: color 0.15s ease;
}

.fp-navbar .nav-link:hover {
    color: var(--brand-gray-dark) !important;
}

/* Hero & Header Banners */
.fp-hero-banner {
    background: var(--brand-gradient-hero);
    color: #ffffff;
    padding: 2.2rem 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 14px 28px -5px rgba(26, 31, 38, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.fp-hero-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(162, 175, 196, 0.24) 0%, rgba(162, 175, 196, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Cards & Sections */
.fp-card {
    background: var(--brand-gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    box-shadow: 0 4px 12px rgba(33, 38, 46, 0.06), 0 1px 3px rgba(33, 38, 46, 0.04);
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-card:hover {
    box-shadow: 0 10px 22px rgba(33, 38, 46, 0.1);
}

.fp-card-header {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-top-left-radius: 0.85rem;
    border-top-right-radius: 0.85rem;
}

.fp-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.fp-section-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Callout Quote Boxes */
.fp-quote-box {
    background: linear-gradient(135deg, #f8fafd 0%, #edf1f7 100%);
    border-left: 4px solid #414c5e;
    padding: 1.1rem 1.35rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.55;
    border-top: 1px solid #dce2ea;
    border-right: 1px solid #dce2ea;
    border-bottom: 1px solid #dce2ea;
    box-shadow: 0 2px 6px rgba(36, 42, 52, 0.04);
}

.fp-quote-box.blue {
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f9ed 100%);
    border-left-color: #16a34a;
    color: #166534;
}

.fp-quote-box.slate {
    background: linear-gradient(135deg, #f8fafc 0%, #edf1f6 100%);
    border-left-color: var(--brand-gray-dark);
    color: #334155;
}

/* Auto-expanding Form Fields */
.expandable-textarea {
    resize: none;
    overflow-y: hidden;
    min-height: 80px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.expandable-textarea:focus {
    border-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.2);
    outline: none;
}

.expandable-textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.form-label-bold {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.form-label-prompt {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Question Badges */
.q-badge {
    background: linear-gradient(135deg, #242a34 0%, #465265 100%);
    color: #ffffff;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(36, 42, 52, 0.25);
}

/* Value Cards */
.value-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid var(--border-color);
    border-top: 4px solid #3a4555;
    border-radius: 0.6rem;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 4px 10px rgba(36, 42, 52, 0.05);
}

.negation-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid #5a6475;
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(36, 42, 52, 0.05);
}

/* Custom Buttons */
.btn-fp-primary {
    background: var(--brand-gradient-primary);
    border: 1px solid #434d5f;
    color: #ffffff;
    font-weight: 600;
    padding: 0.58rem 1.45rem;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(36, 42, 52, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-fp-primary:hover {
    background: var(--brand-gradient-hover);
    border-color: #323b49;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(27, 32, 40, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-fp-outline {
    border: 1px solid #c9d1dc;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
    color: #272d37;
    font-weight: 600;
    padding: 0.58rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.btn-fp-outline:hover {
    background: linear-gradient(180deg, #edf1f6 0%, #e0e5ed 100%);
    color: #1a1f26;
    border-color: #a8b3c3;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Workshop Nav Tabs */
.fp-nav-pills .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fp-nav-pills .nav-link.active {
    background: var(--brand-gradient-primary);
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(36, 42, 52, 0.22);
}

/* Brand Badges & Dark Elements */
.badge.bg-dark {
    background: linear-gradient(135deg, #242a34 0%, #465265 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 5px rgba(36, 42, 52, 0.18);
}

.modal-header.bg-dark {
    background: var(--brand-gradient-hero) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

footer {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%) !important;
    border-top: 1px solid var(--border-color) !important;
}

/* Print Stylesheet */
@media print {
    body {
        background-color: #ffffff !important;
        font-size: 11pt;
    }

    .no-print, .fp-navbar, footer, .btn, .nav-tabs, .fp-actions {
        display: none !important;
    }

    .container, .container-fluid {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .fp-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
        margin-bottom: 1.5rem;
    }

    .fp-quote-box {
        border-left: 3px solid #666 !important;
        background-color: #f9f9f9 !important;
        color: #333 !important;
    }

    .print-break-after {
        page-break-after: always;
    }
}
