/* ============================================================
   Program Filter Widget - Frontend Styles v2.0
   ============================================================ */

/* Wrapper */
.pfw-wrap {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}
.pfw-wrap.pfw-sidebar-right { flex-direction: row-reverse; }

/* Sidebar */
.pfw-sidebar {
    width: 28%;
    flex-shrink: 0;
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.pfw-filter-keyword { margin-bottom: 20px; }
.pfw-keyword-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.pfw-keyword-input:focus {
    outline: none;
    border-color: #9b1c1f;
    box-shadow: 0 0 0 3px rgba(155,28,31,.12);
}
.pfw-filter-group {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 14px;
    padding-bottom: 14px;
}
.pfw-filter-group__toggle {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.pfw-filter-group__title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}
.pfw-filter-group__toggle .pfw-filter-group__title { margin-bottom: 0; }
.pfw-chevron { font-size: 16px; transition: transform .2s; color: #888; }
.pfw-filter-group.collapsed .pfw-chevron   { transform: rotate(180deg); }
.pfw-filter-group.collapsed .pfw-filter-group__body { display: none; }
.pfw-filter-group__body { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.pfw-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: color .15s;
    line-height: 1.4;
}
.pfw-checkbox-label:hover { color: #9b1c1f; }
.pfw-checkbox-label input[type="checkbox"] { accent-color: #9b1c1f; width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; }
.pfw-term-count { margin-left: auto; color: #999; font-size: 11px; }
.pfw-btn--reset {
    background: none;
    border: 1px solid #9b1c1f;
    color: #9b1c1f;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 8px;
    width: 100%;
    transition: all .2s;
}
.pfw-btn--reset:hover { background: #9b1c1f; color: #fff; }

/* Results panel */
.pfw-results { flex: 1; min-width: 0; position: relative; }
.pfw-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.pfw-result-count { font-size: 22px; font-weight: 700; color: #ffffff !important; }
.pfw-sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.pfw-sort-wrap label { width:160px; color: #ffffff; margin: 0 !important; }
.pfw-sort-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

/* Grid */
.pfw-grid { display: grid; gap: 20px; }
.pfw-cols-1 { grid-template-columns: 1fr; }
.pfw-cols-2 { grid-template-columns: repeat(2, 1fr); }
.pfw-cols-3 { grid-template-columns: repeat(3, 1fr); }
.pfw-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .pfw-cols-4,
    .pfw-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pfw-wrap { flex-direction: column; }
    .pfw-sidebar { width: 100% !important; position: static; max-height: none; }
    .pfw-cols-2,
    .pfw-cols-3,
    .pfw-cols-4 { grid-template-columns: 1fr; }
}

/* CARD */
.pfw-card {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: box-shadow .2s ease;
}
.pfw-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09);
transform:none !important;
}

/* Card Body */
.pfw-card__body {
    padding: 20px 24px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    min-width: 0;
}

/* Header row: badge TOP-LEFT + compare TOP-RIGHT (strictly enforced) */
.pfw-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    min-height: 30px;
    flex-wrap: nowrap;  /* one row on all screen sizes */
}

/* Badge area - flex:1 fills left space; empty = invisible placeholder */
.pfw-card__badge-area {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

/* Badge - text pill */
.pfw-card__badge {
    display: inline-flex;
    align-items: center;
    background: #9b1c1f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.3;
    max-width: 200px;
    overflow: hidden;
}

/* Badge - image/logo variant */
.pfw-card__badge--img {
    background: transparent;
    padding: 0;
}
.pfw-badge-img {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

/* Compare - inside card header, top-right */
.pfw-compare-wrap.pfw-compare--header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    padding: 5px 11px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color .15s;
    line-height: 1;
    user-select: none;
}
.pfw-compare-wrap.pfw-compare--header:hover { border-color: #9b1c1f; }
.pfw-compare-wrap.pfw-compare--header input[type="checkbox"] {
    accent-color: #9b1c1f;
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}
.pfw-compare-wrap.pfw-compare--header.is-checked {
    border-color: #9b1c1f;
    background: #fff8f8;
}

/* Title */
.pfw-card__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #1a3557;
    word-break: break-word;
}
.pfw-card__title a { color: inherit; text-decoration: none; transition: color .2s; }
.pfw-card__title a:hover { color: #9b1c1f; }

/* Meta row */
.pfw-card__meta-row {
    display: flex;
    align-items: baseline;
    gap: 0;
    min-width: 0;
}
.pfw-meta-inline  { flex-wrap: wrap; }
.pfw-meta-newline { flex-wrap: nowrap; }
.pfw-card__meta {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 14px;
    color: #333;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.pfw-meta-inline .pfw-card__meta + .pfw-card__meta::before {
    content: '|';
    margin: 0 8px;
    color: #bbb;
    font-weight: 300;
    flex-shrink: 0;
}
.pfw-meta-icon  { display: inline-flex; align-items: center; font-size: 13px; color: #777; flex-shrink: 0; }
.pfw-meta-label { font-weight: 600; color: #333; flex-shrink: 0; }
.pfw-meta-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfw-meta-link  { color: #9b1c1f; text-decoration: underline; }
.pfw-meta-image { max-height: 30px; width: auto; object-fit: contain; }

/* Actions bar - View Details LEFT, Brochure RIGHT (strictly space-between) */
.pfw-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;    /* gap only - NO border separator */
    margin-top: auto;
    flex-wrap: nowrap;
}

/* Spacer - keeps Brochure pinned right when View Details toggle is absent */
.pfw-actions-spacer { flex: 1; }

/* View Details expand toggle */
.pfw-expand-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #1a6bbf;
    cursor: pointer;
    transition: color .15s;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    padding: 2px 10px;
    border-radius: 0;
}

.pfw-expand-toggle:hover { color: #9b1c1f;  padding: 2px 12px !important; }
.pfw-expand-icon { font-size: 10px; display: inline-block; transition: transform .25s ease; }
.pfw-expand-toggle[aria-expanded="true"] .pfw-expand-icon { transform: rotate(180deg); }

/* Accordion details */
.pfw-card__details {
    padding: 14px 0;
    border-top: 1px solid #f0f0f0;
    animation: pfw-fade-in .2s ease;
}
@keyframes pfw-fade-in {
    from { opacity:0; transform:translateY(-4px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Excerpt (truncated, inside details) */
.pfw-card__excerpt {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Shared base button */
.pfw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.3;
    font-family: inherit;
    gap: 6px;
}
.pfw-btn i, .pfw-btn svg { flex-shrink: 0; }

/* Brochure button */
.pfw-btn--secondary {
    background: #9b1c1f;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    flex-shrink: 0;
    transition: background .2s;
}
.pfw-btn--secondary:hover { background: #7d1518; }

/* Full-width brochure (below-actions position) */
.pfw-brochure--full {
    width: 100%;
    margin: 0 0 20px;
    justify-content: center;
}

/* Disabled brochure */
.pfw-btn--disabled {
    background: #d0d0d0 !important;
    color: #888 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Load more */
.pfw-btn--load-more {
    background: #f0f0f0;
    color: #333 !important;
    padding: 12px 40px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.pfw-btn--load-more:hover { background: #e4e4e4; }

/* Card highlight when compare selected */
.pfw-card.pfw-comparing {
    outline: 2px solid #9b1c1f;
    outline-offset: 2px;
}

/* Loading */
.pfw-loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 8px;
}
.pfw-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #eee;
    border-top-color: #9b1c1f;
    border-radius: 50%;
    animation: pfw-spin .7s linear infinite;
}
@keyframes pfw-spin { to { transform: rotate(360deg); } }

/* No results */
.pfw-no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: #aaa; font-size: 16px; }

/* Pagination */
.pfw-pagination { margin-top: 30px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pfw-page-btn { background: #f0f0f0; border: none; padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 14px; transition: background .2s, color .2s; }
.pfw-page-btn.active, .pfw-page-btn:hover { background: #9b1c1f; color: #fff; }

/* ============================================================
   COMPARE PAGE - Premium HBS-Style Layout & Alignment Fixes
   ============================================================ */

.pfw-compare-page {
    font-family: inherit;
    padding: 0 0 80px;
}

/* Top bar */
.pfw-compare-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.pfw-compare-page-title {
    font-size: 28px !important;
    font-weight: 600;
    margin: 0;
    color: #212529;
    font-family: 'Helvetica Neue';
    letter-spacing: -0.5px;
}

.pfw-compare-back {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #495057;
    transition: all 0.2s ease;
}

.pfw-compare-back:hover {
    background: #e9ecef;
    color: #212529;
}

/* Horizontal scroll wrapper */
.pfw-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); /* Soft shadow around table */
}

/* Table Settings */
.pfw-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Forces scroll on mobile to preserve layout */
    background: #ffffff;
}

/* Label Column (The fixed left column) */
.pfw-compare-label-th, 
.pfw-compare-label-td {
    width: 200px;
    min-width: 180px;
    padding: 20px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    text-align: left;
    background: #f1f3f5 !important; /* Solid light neutral to anchor the rows */
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6; /* Divider */
    vertical-align: middle;
}

/* Program Data Columns */
.pfw-compare-prog-th, 
.pfw-compare-value-td {
    padding: 20px 24px;
    font-size: 15px;
    color: #212529;
    text-align: left;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef; /* Row Divider */
}

/* THE HEIGHT HACK: Forces table cell to pass height down for flexbox stretching */
.pfw-compare-prog-th {
    height: 1px; 
    vertical-align: top;
}

.pfw-compare-prog-th:last-child, 
.pfw-compare-value-td:last-child {
    border-right: none;
}

/* Sticky Header row */
.pfw-compare-table thead {
    position: sticky;
    top: 0;
    z-index: 20;
}

.pfw-compare-head-row {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04); /* Drop shadow when scrolling */
}

.pfw-compare-head-row th {
    border-bottom: 2px solid #ced4da; /* Stronger divider for header */
}

/* Program Header Cell Content - Stretched with Flexbox */
.pfw-compare-prog-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-top: 10px;
    height: 100%;
    min-height: auto; /* Minimum height for header to prevent squishing */
}

/* Clean Remove Button (X) */
.pfw-compare-remove {
    position: absolute;
    top: 5px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #adb5bd;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1;
}

.pfw-compare-remove:hover {
    color: #dc3545; /* Red on hover */
}

/* Badge Wrap - Keeps titles horizontally aligned even if badge is missing */
.pfw-compare-badge-wrap {
    min-height: 45px; /* Adjust to match your typical badge height */
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.pfw-compare-badge-img {
    max-height: 65%;
    width: auto;
    object-fit: contain;
}

/* Program Title */
.pfw-compare-prog-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #212529;
}

h3.pfw-compare-prog-title{
    font-size:22px;
}

.pfw-compare-prog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.pfw-compare-prog-title a:hover {
    color: #9b1c1f;
}

/* ============================================================
   ODD/EVEN ROW COLORING (Zebra Striping) 
   ============================================================ */

/* EVEN rows - Very Light Cool Gray */
.pfw-compare-field-row:nth-child(even) td.pfw-compare-value-td { 
    background: #f8f9fa; 
}
/* ODD rows - Pure White */
.pfw-compare-field-row:nth-child(odd) td.pfw-compare-value-td { 
    background: #ffffff; 
}
/* Ensure the label column stays the darker anchor color */
.pfw-compare-field-row .pfw-compare-label-td { 
    background: #f1f3f5 !important; 
}

/* Empty cell dash */
.pfw-compare-empty-cell {
    color: #adb5bd;
    font-weight: 300;
}

/* ============================================================
   MODERN PREMIUM BUTTONS (Pinned to bottom)
   ============================================================ */

/* Action Buttons Container - margin-top auto pins it to the bottom */
.pfw-compare-header-actions {
    margin-top: auto !important; 
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding-top: 15px;
}

.pfw-compare-header-actions .pfw-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Primary Button (Apply Now) - Solid */
.pfw-compare-header-actions .pfw-btn--primary {
    background: #9b1c1f;
    color: #ffffff !important;
    border: 1px solid #9b1c1f;
}

.pfw-compare-header-actions .pfw-btn--primary:hover {
    background: #7a1518;
    border-color: #7a1518;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(155, 28, 31, 0.2);
}

/* Secondary Button (Brochure) - Outlined / Neutral */
.pfw-compare-header-actions .pfw-btn--secondary {
    display: none;
    background: #ffffff !important;
    color: #495057 !important;
    border: 1px solid #ced4da;
}

.pfw-compare-header-actions .pfw-btn--secondary:hover {
    border-color: #9b1c1f;
    color: #9b1c1f !important;
    background: #fffafa !important;
}

/* Disabled Button */
.pfw-compare-header-actions .pfw-btn--disabled {
    border: 1px solid #e9ecef;
    color: #adb5bd !important;
    background: #f8f9fa !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Elementor editor safety */
.elementor-editor-active .pfw-loading  { display: none !important; }
.elementor-editor-active .pfw-compare-bar { display: none !important; }

/* ============================================================
   STICKY COMPARE BAR (Bottom Sticky Logic)
   ============================================================ */

.pfw-compare-bar {
    position: sticky !important; 
    bottom: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; 
    margin: 30px auto 0 auto; 
    left: auto;
    right: auto;
    z-index: 99999; 
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15); 
    padding: 15px 20px; 
}

/* Layout for the inside of the bar */
.pfw-compare-bar__inner {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px !important;
    flex-wrap: wrap;
    gap: 20px;
}

/* Selected Count */
.pfw-compare-bar__count {
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

/* Scrollable area for the selected program pills */
.pfw-compare-bar__items {
    display: flex;
    flex: 1;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin; 
}

/* Individual Program Pill */
.pfw-compare-bar__item {
    background: #f6f6f6;
    padding: 16px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    height: auto;
    box-sizing: border-box;
    
    /* Force exact 300px width */
    width: 300px;
    flex: 0 0 300px; 
    min-width: 300px;
    max-width: 300px;
}

/* The 'X' remove button inside the pill */
.pfw-remove-compare {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.pfw-remove-compare:hover {
    opacity: 1;
}

/* The Compare and Clear Buttons */
.pfw-compare-bar__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pfw-compare-bar__actions .pfw-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.pfw-compare-bar__actions .pfw-btn:hover {
    transform: translateY(-2px);
}

/* ============================================================
   MOBILE OVERRIDES (Phones & Tablets)
   ============================================================ */

/* Compare Bar Mobile Fixes (Horizontal Scrolling) */
@media (max-width: 768px) {
    .pfw-compare-bar {
        padding: 10px !important;
        -webkit-position: sticky !important;
    }

    .pfw-compare-bar__inner {
        flex-direction: row; /* Keep it horizontal */
        flex-wrap: nowrap; /* Stop stacking */
        align-items: center;
        gap: 10px;
        padding: 0 !important;
    }

    .pfw-compare-bar__actions {
        justify-content: flex-end;
        flex-shrink: 0;
    }

    .pfw-compare-bar__actions .pfw-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .pfw-compare-bar__items {
        flex: 1;
        min-width: 0;
    }
}

/* Meta Row Mobile Fixes (Stacking & Hiding Pipes) */
@media (max-width: 768px) {
    .pfw-card__meta-row.pfw-meta-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .pfw-meta-inline .pfw-card__meta {
        width: 100%;
        display: flex;
    }

    .pfw-meta-inline .pfw-card__meta + .pfw-card__meta::before {
        display: none !important; 
        content: "" !important;
    }
}

/* Program Card Mobile Fixes (Light Red Border) */
@media (max-width: 768px) {
    .pfw-card {
        border: 2px solid #f5c6c7 !important; /* Light red border */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        margin-bottom: 15px;
    }

    .pfw-card__body {
        padding: 16px 16px 0 !important; 
    }

    .pfw-card__title {
        font-size: 18px !important; 
        line-height: 1.4 !important;
    }

    .pfw-card__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 1px;
        padding-bottom: 15px;
    }
    
    .pfw-card__actions .pfw-btn, 
    .pfw-expand-toggle {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }
    
    .pfw-compare-topbar{
        flex-direction: column;
        padding-left:20px;
        margin-bottom: 2px;
            align-items: flex-start;
    }
}