/* ===============================================
   CERTIFICATE MANAGEMENT STYLES - PROFESSIONAL DESIGN
   Admin Panel - Employee Certificates Section
   =============================================== */

/* Certificate Type Selector */
.certificate-type-selector {
    margin-bottom: 24px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab:hover {
    border-color: var(--primary-gradient-start);
    background: rgba(0, 217, 184, 0.1);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border-color: var(--primary-gradient-start);
    color: white;
}

/* Certificates Table */
.certificates-table-container {
    overflow-x: auto;
    margin-bottom: 24px;
}

.certificates-cards {
    display: none;
}

/* Certificate Cards (Mobile) */
.certificate-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    border-color: var(--primary-gradient-start);
    box-shadow: 0 4px 12px rgba(0, 217, 184, 0.1);
}

.certificate-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.certificate-card-header h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.certificate-card-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.certificate-card-body {
    margin-bottom: 16px;
}

.certificate-card-body .card-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-card-body .card-row:last-child {
    border-bottom: none;
}

/* ── Certificate Preview Modal ─────────────────────────────────────────────── */

.certificate-print-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.certificate-print-modal.show {
    display: flex;
}

.cert-preview-dialog {
    width: 100%;
    max-width: 1050px;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header bar */
.cert-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #1a202c;
    border-bottom: 3px solid #00D9B8;
    flex-shrink: 0;
}

.cert-preview-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.cert-preview-title i {
    color: #00D9B8;
    font-size: 1.1rem;
}

.cert-preview-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.cert-preview-close:hover {
    background: rgba(252, 92, 101, 0.8);
}

/* Print hint banner */
.cert-preview-hint {
    background: rgba(0, 217, 184, 0.08);
    border-bottom: 1px solid rgba(0, 217, 184, 0.2);
    padding: 10px 24px;
    font-size: 0.82rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cert-preview-hint i {
    color: #00D9B8;
    flex-shrink: 0;
}

/* Scrollable certificate area */
.cert-preview-body {
    padding: 24px;
    background: #f0f2f5;
    overflow-y: auto;
    max-height: calc(100vh - 220px);
}

/* Footer bar */
.cert-preview-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
    flex-wrap: wrap;
}

@media screen {
    /* Preview wrapper */
    #certificatePreviewContent {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 10px 0;
    }

    /* Hide print container on screen */
    .print-only,
    #certificatePrintContainer {
        display: none !important;
    }

    /* ── KEY FIX: remove the fixed aspect-ratio on screen.
       aspect-ratio forces a short fixed height; when certificate body
       content is taller the sections overlap each other. ── */
    .certificate-template {
        aspect-ratio: unset !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: 960px !important;
    }

    /* Let border and content grow with the template */
    .certificate-border {
        height: auto !important;
    }

    .certificate-content {
        height: auto !important;
    }

    /* Body sizes to its content on screen; no longer needs flex:1 */
    .certificate-body {
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
        padding: 10px 30px 20px !important;
    }

    /* Footer uses normal top margin instead of margin-top:auto */
    .certificate-footer {
        margin-top: 24px !important;
    }
}

/* ===============================================
   PROFESSIONAL CERTIFICATE TEMPLATE - LANDSCAPE
   =============================================== */

/* Certificate Template Container */
.certificate-template {
    background: white;
    width: 100%;
    max-width: 960px;
    /* aspect-ratio only applied in @media print — see print block below */
    margin: 0 auto;
    padding: 36px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    position: relative;
    page-break-inside: avoid;
    box-sizing: border-box;
}

@media screen and (min-width: 1400px) {
    .certificate-template {
        max-width: 1200px;
    }
}

/* Certificate Border with Decorative Elements */
.certificate-border {
    border: 12px double #00D9B8;
    padding: 30px 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(245,255,253,1) 50%, rgba(255,255,255,1) 100%);
    height: 100%;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 217, 184, 0.05);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Decorative Corner Ornaments */
.certificate-border::before,
.certificate-border::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #00D9B8;
    z-index: 1;
}

.certificate-border::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.certificate-border::after {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

.certificate-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Certificate Header */
.certificate-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px double #00D9B8;
    position: relative;
}

.certificate-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 217, 184, 0.25));
}

.certificate-header .company-name {
    font-size: 42px;
    margin: 8px 0;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.certificate-header .gradient-text {
    background: linear-gradient(135deg, #00D9B8, #00CED1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.certificate-subtitle {
    font-size: 22px;
    margin: 8px 0 0 0;
    color: #00D9B8;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Certificate Body */
.certificate-body {
    text-align: center;
    padding: 15px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0; /* Allow flexbox to shrink */
}

.certificate-text {
    font-size: 16px;
    margin: 12px 0;
    color: #555;
    font-style: italic;
    letter-spacing: 0.5px;
}

.recipient-name {
    font-size: 36px;
    margin: 18px 0;
    color: #1a1a1a;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #00D9B8;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.certificate-message {
    font-size: 15px;
    line-height: 1.8;
    margin: 18px auto;
    max-width: 90%;
    color: #333;
}

.certificate-message strong {
    color: #00D9B8;
    font-weight: 600;
}

.certificate-skills {
    margin: 18px auto;
    padding: 15px 20px;
    background: rgba(0, 217, 184, 0.05);
    border-left: 4px solid #00D9B8;
    border-radius: 4px;
    text-align: left;
    max-width: 90%;
}

.certificate-skills p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.6;
}

.certificate-performance {
    font-size: 16px;
    margin: 18px auto;
    padding: 12px 20px;
    background: rgba(0, 217, 184, 0.1);
    border-radius: 6px;
    max-width: 90%;
}

.certificate-notes {
    font-size: 14px;
    margin: 15px auto;
    padding: 12px 18px;
    max-width: 85%;
    color: #666;
    font-style: italic;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

.certificate-wish {
    font-size: 14px;
    margin: 18px auto 0;
    color: #555;
    max-width: 85%;
    line-height: 1.7;
}

/* Certificate Footer */
.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 20px;
    border-top: 3px double #00D9B8;
    gap: 20px;
}

.certificate-date {
    flex: 0 0 auto;
    text-align: left;
    min-width: 200px;
}

.certificate-date p {
    margin: 4px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.certificate-date p strong {
    color: #333;
    font-size: 14px;
}

/* Stamp and Signature Container */
.certificate-stamp-signature {
    display: flex;
    gap: 80px;
    align-items: flex-end;
    flex: 1;
    justify-content: flex-end;
}

.certificate-stamp {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certificate-stamp img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.certificate-stamp p {
    margin: 3px 0;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.certificate-signature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certificate-signature-image {
    width: 150px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}

.signature-line {
    width: 180px;
    height: 2px;
    background: #333;
    margin: 8px auto 8px;
}

.certificate-signature p {
    margin: 3px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.certificate-signature p:first-of-type {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

/* Certificate Type Variants */
.appreciation-template .certificate-border {
    border-color: #00D9B8;
}

.internship-template .certificate-border {
    border-color: #00CED1;
}

.experience-template .certificate-border {
    border-color: #00B8A9;
}

/* ===============================================
   CERT VERIFICATION — ADMIN TAB STYLES
   =============================================== */

/* Stats row */
.cv-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 768px) { .cv-stats-row { grid-template-columns: repeat(2, 1fr); } }

.cv-stat-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow 0.2s;
}
.cv-stat-card:hover { box-shadow: 0 4px 16px rgba(0,217,184,0.12); }

.cv-stat-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(0,217,184,0.12);
    color: #00D9B8;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.cv-stat-body { display: flex; flex-direction: column; }
.cv-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}
.cv-stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

/* Filter row */
.cv-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cv-filter-btn {
    padding: 8px 16px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
}
.cv-filter-btn:hover  { border-color: #00D9B8; background: rgba(0,217,184,0.08); }
.cv-filter-btn.active { background: linear-gradient(135deg, #00D9B8, #00CED1); border-color: #00D9B8; color: #fff; }

/* Section title */
.cv-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cv-section-badge {
    background: rgba(0,217,184,0.15);
    color: #00D9B8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Table */
.cv-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.cv-table-loading { text-align: center; padding: 32px 20px; color: var(--text-secondary); }

.cv-cert-id {
    font-family: monospace;
    font-size: 0.82rem;
    background: rgba(0,217,184,0.08);
    color: #00D9B8;
    padding: 2px 7px;
    border-radius: 4px;
}

.cv-row-revoked { opacity: 0.6; }
.cv-row-revoked td { text-decoration: line-through; text-decoration-color: rgba(252,92,101,0.5); }
.cv-row-revoked .cv-cert-id,
.cv-row-revoked .badge,
.cv-row-revoked .cv-badge { text-decoration: none; }

/* Status badges */
.cv-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.cv-badge-active  { background: rgba(72,187,120,0.15); color: #38a169; }
.cv-badge-revoked { background: rgba(252,92,101,0.12); color: #e05260; }

/* Verification count badge */
.cv-count-badge {
    display: inline-block;
    background: rgba(0,217,184,0.12);
    color: #00D9B8;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
}

/* Action buttons */
.cv-actions { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; }

/* Mobile cards */
.cv-mobile-cards { display: none; }
@media (max-width: 768px) {
    .cv-table-wrap   { display: none; }
    .cv-mobile-cards { display: block; }
}

.cv-mobile-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}
.cv-mobile-card:hover { border-color: rgba(0,217,184,0.3); }

.cv-mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.cv-mobile-card-top strong { color: var(--text-primary); display: block; margin-bottom: 2px; }
.cv-mobile-card-top p { color: var(--text-secondary); font-size: 0.82rem; margin: 0; }

.cv-mobile-card-rows { margin-bottom: 12px; }
.cv-mobile-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.85rem;
}
.cv-mobile-row span  { color: var(--text-secondary); }
.cv-mobile-row strong { color: var(--text-primary); }

.cv-mobile-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-mobile-card-actions .btn { font-size: 0.78rem; padding: 6px 12px; }

/* ─── Template helper classes (replaces inline style= in JS templates) ──────── */

.cert-brand-prime {
    background: linear-gradient(135deg, #00D9B8, #00CED1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cert-company-desc   { font-size: 14px; margin: 5px 0; color: #666; }
.cert-date-label     { font-size: 15px; margin: 0 0 4px; color: #444; }
.cert-issue-date     { font-size: 16px; color: #00D9B8; font-weight: bold; margin: 4px 0; }
.cert-id-row         { font-size: 13px; margin-top: 10px; color: #666; }
.cert-id-code {
    background: rgba(0, 217, 184, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    color: #00D9B8;
    font-weight: bold;
    font-family: monospace;
}
.cert-duration       { color: #00D9B8; font-size: 17px; display: block; margin-top: 8px; }
.cert-to-whom        { font-size: 18px; font-weight: bold; color: #333; }
.cert-justify        { text-align: justify; line-height: 1.9; }
.cert-performance-value { color: #00D9B8; font-size: 19px; font-weight: bold; }
.cert-stamp-label    { font-size: 12px; color: #666; margin: 5px 0; font-weight: 600; }
.cert-signatory-label { font-size: 14px; margin: 5px 0; font-weight: bold; color: #333; }
.cert-mgmt-label     { font-size: 12px; color: #666; margin: 3px 0; }

.certificate-performance {
    font-size: 17px;
    margin: 18px auto;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(0, 217, 184, 0.1), rgba(0, 206, 209, 0.1));
    border-left: 4px solid #00D9B8;
    border-radius: 8px;
    max-width: 90%;
}

/* Table notice / empty state */
.cert-table-notice { text-align: center; padding: 40px 20px; }
.cert-table-notice.cert-error { color: #e53e3e; }
.cert-empty {
    text-align: center;
    padding: 40px;
    opacity: 0.45;
}
.cert-empty i { font-size: 48px; display: block; margin-bottom: 12px; }

/* ===============================================
   PRINT STYLES - OPTIMIZED FOR A4 LANDSCAPE PDF
   =============================================== */

@media print {
    @page {
        size: A4 landscape;
        margin: 0;
    }

    /* Force full-color printing (backgrounds, gradients, images) */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    html, body {
        margin: 0;
        padding: 0;
        width: 297mm;
        height: 210mm;
        overflow: hidden;
    }

    /* Hide every direct child of body except the print container */
    body > *:not(#certificatePrintContainer) {
        display: none !important;
        visibility: hidden !important;
    }

    /* Reveal and size the print container to exactly A4 landscape */
    #certificatePrintContainer,
    .print-only {
        display: block !important;
        visibility: visible !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 297mm !important;
        height: 210mm !important;
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        overflow: hidden !important;
        z-index: 99999 !important;
    }

    /* Certificate template — exact A4 landscape page */
    #certificatePrintContainer .certificate-template,
    .print-only .certificate-template {
        width: 297mm !important;
        height: 210mm !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 12mm !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        page-break-inside: avoid !important;
        display: flex !important;
        flex-direction: column !important;
        aspect-ratio: 297 / 210 !important;
        overflow: hidden !important;
    }

    #certificatePrintContainer .certificate-border,
    .print-only .certificate-border {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
    }

    #certificatePrintContainer .certificate-content,
    .print-only .certificate-content {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #certificatePrintContainer .certificate-body,
    .print-only .certificate-body {
        flex: 1 1 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 4mm 8mm !important;
    }

    #certificatePrintContainer .certificate-footer,
    .print-only .certificate-footer {
        display: flex !important;
        margin-top: auto !important;
    }

    #certificatePrintContainer .certificate-stamp-signature,
    .print-only .certificate-stamp-signature {
        display: flex !important;
    }

    /* ── CRITICAL: fix gradient text so it is visible in PDFs ──
       -webkit-text-fill-color: transparent makes text invisible in print.
       Override to a solid teal colour that matches the brand gradient. */
    .cert-brand-prime,
    .certificate-header .gradient-text {
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #00D9B8 !important;
        background-clip: unset !important;
        color: #00D9B8 !important;
    }
}

/* ===============================================
   MOBILE RESPONSIVE
   =============================================== */

@media (max-width: 768px) {
    .certificates-table-container {
        display: none;
    }
    
    .certificates-cards {
        display: block;
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .certificate-template {
        width: 100%;
        height: auto;
        min-height: 400px;
        padding: 20px;
    }
    
    .certificate-border {
        padding: 20px;
        border-width: 8px;
        height: auto;
    }
    
    .certificate-logo {
        width: 60px;
        height: 60px;
    }
    
    .certificate-header .company-name {
        font-size: 28px;
    }
    
    .certificate-subtitle {
        font-size: 16px;
    }
    
    .recipient-name {
        font-size: 24px;
    }
    
    .certificate-message {
        font-size: 14px;
    }
    
    .certificate-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .certificate-stamp-signature {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .certificate-date {
        width: 100%;
        text-align: center;
    }
    
    .signature-line {
        margin: 0 auto 6px;
    }
}

/* Form Row for Side-by-Side Fields */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
    flex: 1;
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 16px;
    }
}
