/* ============================================
   TM2K Forms — Design System
   Team Management 2000, Inc.
   ============================================ */

/* --- Progress Bar --- */
.progress-bar-container {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: #E8EEF4;
    border-radius: 8px;
    height: 28px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #DEE3EA;
    display: flex;
    align-items: center;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #C41E3A, #E8556D);
    border-radius: 8px;
    transition: width 0.4s ease;
    min-width: 0;
}

.progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #1B2A4A;
    pointer-events: none;
}

.progress-bar-container {
    position: relative;
}

/* --- CSS Variables / Design Tokens --- */
:root {
    /* Brand Colors */
    --tm-red: #C41E3A;
    --tm-red-dark: #9B1830;
    --tm-red-light: #E8435A;
    --tm-navy: #1B2A4A;
    --tm-navy-light: #2C3E6B;
    --tm-blue: #3B5998;
    --tm-blue-light: #4A6FB5;

    /* Neutrals */
    --bg-primary: #F0F2F5;
    --bg-card: #FFFFFF;
    --bg-section: #FAFBFC;
    --bg-staff: #FFF8F0;
    --border-color: #E1E5EB;
    --border-focus: var(--tm-blue);
    --text-primary: #1A1D23;
    --text-secondary: #5A6270;
    --text-hint: #8A919C;
    --text-on-dark: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(196, 30, 58, 0.15);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* --- Top Bar --- */
#top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, var(--tm-navy) 0%, var(--tm-navy-light) 100%);
    border-bottom: 3px solid var(--tm-red);
    box-shadow: var(--shadow-lg);
}

.top-bar-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.brand-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-on-dark);
    background: var(--tm-red);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    letter-spacing: -0.5px;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.4);
    white-space: nowrap;
}

.brand-logo span {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
}

.brand-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-on-dark);
    line-height: 1.2;
}

.brand-text p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 0.3px;
}

.top-bar-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--tm-red) 0%, var(--tm-red-dark) 100%);
    color: var(--text-on-dark);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--tm-red-light) 0%, var(--tm-red) 100%);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

/* Standalone button styles (not in top bar) */
.bottom-actions .btn-ghost {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.bottom-actions .btn-ghost:hover {
    color: var(--tm-red);
    border-color: var(--tm-red);
    background: rgba(196, 30, 58, 0.05);
}

.bottom-actions .btn-secondary {
    background: var(--bg-card);
    color: var(--tm-navy);
    border: 1px solid var(--border-color);
}

.bottom-actions .btn-secondary:hover {
    border-color: var(--tm-blue);
    color: var(--tm-blue);
    box-shadow: var(--shadow-md);
}

.bottom-actions .btn-primary {
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35);
}

/* --- Form Wrapper --- */
#form-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

/* --- Form Sections --- */
.form-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
    animation: slideUp 0.4s ease-out both;
}

.form-section:hover {
    box-shadow: var(--shadow-md);
}

.form-section:nth-child(2) {
    animation-delay: 0.05s;
}

.form-section:nth-child(3) {
    animation-delay: 0.1s;
}

.form-section:nth-child(4) {
    animation-delay: 0.15s;
}

.form-section:nth-child(5) {
    animation-delay: 0.2s;
}

.form-section:nth-child(6) {
    animation-delay: 0.25s;
}

.form-section:nth-child(7) {
    animation-delay: 0.3s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.staff-section {
    background: var(--bg-staff);
    border-color: #F0D9C0;
    position: relative;
}

.staff-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E8935A, #D4763D);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.section-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.section-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--tm-navy);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* --- Form Layout --- */
.form-row {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

/* Column widths */
.col-2 {
    flex: 0 0 calc(20% - var(--space-md));
    min-width: 100px;
}

.col-3 {
    flex: 0 0 calc(30% - var(--space-md));
    min-width: 140px;
}

.col-4 {
    flex: 0 0 calc(40% - var(--space-md));
    min-width: 180px;
}

.col-5 {
    flex: 0 0 calc(50% - var(--space-md));
    min-width: 200px;
}

.col-6 {
    flex: 0 0 calc(60% - var(--space-md));
    min-width: 240px;
}

.col-8 {
    flex: 0 0 calc(80% - var(--space-md));
    min-width: 300px;
}

.col-full {
    flex: 1 1 100%;
}

/* --- Labels --- */
label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.2px;
}

.required {
    color: var(--tm-red);
    font-weight: 700;
}

.hint {
    font-weight: 400;
    color: var(--text-hint);
    font-style: italic;
}

/* --- Inputs --- */
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-card);
    transition: all var(--transition-fast);
    outline: none;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #C0C6CF;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--tm-blue);
    box-shadow: 0 0 0 3px rgba(59, 89, 152, 0.12);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-hint);
    font-weight: 400;
}

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

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6270' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

/* --- Radio + Checkbox Styles --- */
.checkbox-row {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    padding-top: 4px;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: 4px;
}

.radio-label,
.check-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-card);
    user-select: none;
}

.radio-label:hover,
.check-label:hover {
    border-color: var(--tm-blue);
    background: rgba(59, 89, 152, 0.04);
}

.radio-label input,
.check-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--tm-red);
    cursor: pointer;
}

.radio-label:has(input:checked),
.check-label:has(input:checked) {
    border-color: var(--tm-red);
    background: rgba(196, 30, 58, 0.06);
    color: var(--tm-red-dark);
    box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.15);
}

/* --- Status Banner --- */
.status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.status-banner.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.status-banner.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.status-banner.hidden {
    display: none;
}

.status-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 4px 8px;
}

.status-close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Bottom Actions --- */
.bottom-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
}

/* --- Drafts Section --- */
.drafts-section {
    background: var(--bg-section);
}

.drafts-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.draft-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.draft-item:hover {
    border-color: var(--tm-blue);
    box-shadow: var(--shadow-sm);
}

.draft-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.draft-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.draft-date {
    font-size: 12px;
    color: var(--text-hint);
}

.draft-actions {
    display: flex;
    gap: var(--space-sm);
}

.draft-actions button {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.draft-actions .load-btn {
    color: var(--tm-blue);
    border-color: var(--tm-blue);
}

.draft-actions .load-btn:hover {
    background: var(--tm-blue);
    color: white;
}

.draft-actions .delete-btn {
    color: var(--tm-red);
    border-color: transparent;
}

.draft-actions .delete-btn:hover {
    background: rgba(196, 30, 58, 0.08);
}

/* --- Footer --- */
#footer {
    background: var(--tm-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-2xl) var(--space-lg);
    margin-top: var(--space-xl);
}

.footer-offices {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.office strong {
    display: block;
    color: var(--text-on-dark);
    font-size: 14px;
    margin-bottom: var(--space-xs);
}

.office span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
}

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- PDF Template (Hidden) --- */
.pdf-template {
    position: fixed;
    left: 0;
    top: 0;
    width: 8.5in;
    background: white;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

.pdf-template.pdf-visible {
    opacity: 1;
    z-index: 10000;
    overflow: auto;
    max-height: 100vh;
}

.pdf-template * {
    font-family: 'Times New Roman', Times, serif;
    color: #000;
}

.pdf-page {
    width: 680px;
    min-height: auto;
    max-height: 11in;
    padding: 16px 24px;
    background: white;
}

.pdf-header {
    text-align: center;
    margin-bottom: 4px;
}

.pdf-header .pdf-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #C41E3A;
    letter-spacing: 0.5px;
}

.pdf-header .pdf-tagline {
    font-size: 10px;
    font-style: italic;
    color: #333;
    margin-top: 2px;
}

.pdf-offices {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    margin: 3px 0 2px 0;
    line-height: 1.3;
    color: #333;
}

.pdf-offices div {
    text-align: center;
    flex: 1;
}

.pdf-title {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    margin: 4px 0 2px 0;
}

.pdf-license {
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 4px;
}

.pdf-section-title {
    font-size: 10px;
    font-weight: bold;
    text-decoration: underline;
    margin: 6px 0 3px 0;
    color: #C41E3A;
}

.pdf-row {
    display: flex;
    align-items: flex-end;
    margin-bottom: 2px;
    font-size: 10px;
    gap: 6px;
    flex-wrap: wrap;
}

.pdf-label {
    font-weight: bold;
    font-size: 10px;
    white-space: nowrap;
}

.pdf-value {
    border-bottom: 1px solid #000;
    min-width: 100px;
    padding: 0 3px 0 3px;
    font-size: 10px;
    flex: 1;
}

.pdf-value-short {
    border-bottom: 1px solid #000;
    min-width: 30px;
    max-width: 50px;
    padding: 0 3px 0 3px;
    font-size: 10px;
}

.pdf-value-fixed {
    border-bottom: 1px solid #000;
    width: 160px;
    padding: 0 3px 0 3px;
    font-size: 10px;
}

.pdf-checkbox-row {
    display: flex;
    gap: 10px;
    font-size: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.pdf-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.pdf-box {
    width: 10px;
    height: 10px;
    border: 1px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
}

.pdf-textarea {
    border: 1px solid #000;
    min-height: 32px;
    padding: 2px 4px;
    font-size: 10px;
    margin: 2px 0;
    width: 100%;
    white-space: pre-wrap;
    word-break: break-word;
}

.pdf-divider {
    border-top: 2px double #000;
    margin: 6px 0 4px 0;
}

.pdf-staff-note {
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: #C41E3A;
    margin: 3px 0;
}

.pdf-sig-row {
    display: flex;
    align-items: flex-end;
    margin: 10px 0 4px 0;
    font-size: 10px;
}

.pdf-sig-line {
    border-bottom: 1px solid #000;
    flex: 1;
    min-height: 18px;
    padding: 0 4px 1px 4px;
}

.pdf-highlight {
    background-color: #FFFF00;
    padding: 0 2px;
}

.pdf-gray-bg {
    background-color: #E0E0E0;
    padding: 2px 4px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .top-bar-actions {
        width: 100%;
        justify-content: stretch;
    }

    .top-bar-actions .btn {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
    }

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

    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-8 {
        flex: 1 1 100%;
        min-width: 0;
    }

    .form-section {
        padding: var(--space-lg);
    }

    .footer-offices {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .bottom-actions {
        flex-direction: column;
    }

    .bottom-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .checkbox-row,
    .checkbox-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .brand-text h1 {
        font-size: 15px;
    }

    .brand-logo {
        font-size: 22px;
        padding: 4px 10px;
    }

    .section-header {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}

/* --- Loading Overlay --- */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 42, 74, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: var(--space-lg);
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--tm-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    color: var(--text-on-dark);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

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

/* --- Success Animation --- */
.success-check {
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.check-path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.5s ease-out 0.2s forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* --- Intake PDF Styles --- */
.intake-pdf {
    font-family: 'Inter', Arial, sans-serif;
}

.pdf-page-intake {
    width: 680px;
    padding: 20px 28px;
    background: white;
    font-size: 9px;
    line-height: 1.4;
}

.pdf-page-intake .pdf-row {
    display: flex;
    align-items: center;
    margin: 2px 0;
    font-size: 9px;
    flex-wrap: wrap;
    gap: 2px;
}

.pdf-page-intake .pdf-label {
    font-weight: 600;
    font-size: 9px;
    white-space: nowrap;
    margin-right: 3px;
}

.pdf-page-intake .pdf-value {
    flex: 1;
    border-bottom: 1px solid #999;
    font-size: 9px;
    padding: 1px 4px;
    min-width: 60px;
}

.pdf-page-intake .pdf-value-fixed {
    border-bottom: 1px solid #999;
    font-size: 9px;
    padding: 1px 4px;
    width: 100px;
}

.pdf-page-intake .pdf-value-short {
    border-bottom: 1px solid #999;
    font-size: 9px;
    padding: 1px 4px;
    width: 40px;
}

.pdf-page-intake .pdf-textarea {
    border: 1px solid #999;
    padding: 3px 5px;
    min-height: 24px;
    font-size: 9px;
    white-space: pre-wrap;
    margin: 1px 0 3px 0;
    line-height: 1.3;
}

.pdf-page-intake .pdf-box {
    display: inline-block;
    width: 11px;
    height: 11px;
    border: 1px solid #333;
    text-align: center;
    line-height: 11px;
    font-size: 8px;
    margin: 0 3px;
    vertical-align: middle;
}

.pdf-page-intake .pdf-sig-row {
    display: flex;
    align-items: flex-end;
    font-size: 9px;
}

.pdf-page-intake .pdf-sig-line {
    flex: 1;
    border-bottom: 1px solid #333;
    padding: 1px 4px;
    min-width: 100px;
    font-size: 9px;
}

.pdf-page-intake .pdf-offices {
    display: flex;
    justify-content: space-between;
    text-align: center;
}