:root {
    --color-primary: #1a2332;
    --color-secondary: #2d4f5e;
    --color-accent: #d4a574;
    --color-neutral: #ab8a6a;
    --color-white: #fff;
    --color-black: #000;
    --color-gray-light: #e8e8e8;
    --color-gray-medium: #6c757d;
    --color-gray-dark: #343a40;
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient: linear-gradient(135deg, #1a2332 0%, #2d4f5e 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(10px) translateY(10px); }
}

.fdc-login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    margin: 2rem;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fdc-login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-gray-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.fdc-login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.fdc-login-header {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.1) 0%, rgba(212, 165, 116, 0.1) 100%);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-gray-light);
}

.fdc-login-logo-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.fdc-login-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.fdc-login-title {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fdc-login-subtitle {
    color: var(--color-gray-medium);
    font-size: 1rem;
    margin-bottom: 0;
}

.fdc-login-body {
    padding: 2rem;
}

.alert {
    border-radius: 12px;
    border: none;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    animation: alertSlide 0.5s ease-out;
}

@keyframes alertSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border-left: 4px solid #d97706;
}

.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border-left: 4px solid #2563eb;
}

.fdc-login-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.fdc-login-form-label {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.fdc-login-form-control {
    border: 2px solid var(--color-gray-light);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    min-height: 48px;
    transition: all 0.3s ease;
    background: rgba(248, 250, 252, 0.5);
    backdrop-filter: blur(10px);
}

.fdc-login-form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
    background: white;
    outline: none;
}

.fdc-login-form-control:hover {
    border-color: var(--color-accent);
}

.fdc-btn-login {
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fdc-btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.fdc-btn-login:hover::before {
    left: 100%;
}

.fdc-btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 35, 50, 0.4);
}

.fdc-btn-login:active {
    transform: translateY(0);
}

.fdc-login-forgot-password {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-light);
}

.fdc-login-forgot-password a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.fdc-login-forgot-password a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: var(--color-accent);
    transition: all 0.3s ease;
}

.fdc-login-forgot-password a:hover::after {
    width: 100%;
    left: 0;
}

.fdc-login-forgot-password a:hover {
    color: var(--color-secondary);
}

.fdc-login-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-medium);
    cursor: pointer;
    transition: color 0.3s ease;
}

.fdc-login-input-icon:hover {
    color: var(--color-accent);
}

.fdc-login-password-wrapper {
    position: relative;
}

@media (max-width: 576px) {
    .fdc-login-container {
        margin: 1rem;
    }
    
    .fdc-login-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .fdc-login-body {
        padding: 1.5rem;
    }
    
    .fdc-login-logo {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .fdc-login-title {
        font-size: 1.75rem;
    }
}

.fdc-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    backdrop-filter: blur(5px);
}

.fdc-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-gray-light);
    border-top: 4px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Filter Card Styles */
.fdc-filter-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Filter Section Styles */
.fdc-filters-section {
    background-color: #fff;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    height: 100%;
}

.fdc-filters-title {
    color: #495057;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.85rem;
}

.fdc-filter-group {
    margin-bottom: 12px;
}

.fdc-filter-group:last-child {
    margin-bottom: 0;
}

.fdc-filter-label {
    display: block;
    color: #495057;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.8rem;
}

.fdc-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.fdc-units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 4px;
}

.fdc-filter-option {
    padding: 4px 8px;
    border-radius: 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.75rem;
    text-align: center;
    user-select: none;
}

.fdc-filter-option:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.fdc-filter-option.selected {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.fdc-filter-option.disabled {
    background-color: #f1f3f5;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
}

.fdc-filter-option.disabled:hover {
    background-color: #f1f3f5;
    border-color: #e9ecef;
}

/* Selection count styles */
.fdc-selection-count {
    background-color: #6c757d;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.7rem;
    margin-left: 8px;
    display: none;
}

.fdc-selection-count.show {
    display: inline-block;
}

/* Timeline Section Styles */
.fdc-timeline-section {
    background-color: #fff;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    height: 100%;
}

.fdc-timeline-title {
    color: #495057;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.85rem;
}

.fdc-date-range-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fdc-date-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fdc-date-selector-group {
    display: flex;
    gap: 8px;
}

.fdc-date-selector-group .form-select {
    flex: 1;
    min-width: 0;
}

.fdc-date-label {
    color: #495057;
    font-weight: 500;
    font-size: 0.8rem;
}

.fdc-date-input {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 4px 8px;
    font-size: 0.8rem;
}

.fdc-date-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.15);
}

.fdc-btn-primary {
    padding: 6px 16px;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Action Buttons Layout Styles */
.fdc-action-buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #dee2e6;
}

.fdc-action-buttons-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fdc-filter-buttons-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fdc-btn-action {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* Disabled button styles for security restrictions */
.fdc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.fdc-btn-secondary:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
}

#date_restriction_note {
    font-size: 0.75rem;
    margin-top: 4px;
    color: #dc3545;
}

.fdc-btn-action {
    border-width: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-width: 140px;
    justify-content: center;
}

.fdc-btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.fdc-btn-action.btn-outline-info {
    color: #0dcaf0;
    border-color: #0dcaf0;
    background-color: rgba(13, 202, 240, 0.05);
}

.fdc-btn-action.btn-outline-info:hover {
    color: #fff;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.fdc-btn-action.btn-outline-success {
    color: #198754;
    border-color: #198754;
    background-color: rgba(25, 135, 84, 0.05);
}

.fdc-btn-action.btn-outline-success:hover {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.fdc-btn-filter {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.fdc-btn-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.fdc-btn-filter.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    color: white;
}

.fdc-btn-filter.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
}

.fdc-btn-filter.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    background-color: rgba(108, 117, 125, 0.05);
}

.fdc-btn-filter.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .fdc-filters-section, .fdc-timeline-section {
        margin-bottom: 10px;
    }
    
    .fdc-units-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .fdc-action-buttons-container {
        flex-direction: column;
        gap: 16px;
        padding: 12px 16px;
    }

    .fdc-action-buttons-group {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .fdc-filter-buttons-group {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .fdc-btn-action {
        width: 100%;
        min-width: auto;
        justify-content: center;
    }

    .fdc-btn-filter {
        width: 100%;
        justify-content: center;
    }
}

/* Existing FDC styles */
.fdc-table-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(70vh + 100px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
}
.fdc-table {
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.78em;
}
.fdc-table th, .fdc-table td {
    vertical-align: middle;
    padding: 0.5rem 0.75rem;
    min-width: 110px;
}
.fdc-table thead th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 2;
    border-bottom: 2px solid #dee2e6;
    font-weight: 700;
    text-align: center;
}
.fdc-catdre-row {
    background: #e9f1fb;
    font-weight: bold;
    border-top: 2px solid #b6d4fa;
    transition: background 0.2s;
    cursor: pointer;
}
.fdc-catdre-row:hover {
    background: #d0e7fa;
}
.fdc-catdre-row .chevron {
    display: inline-block;
    transition: transform 0.2s;
    margin-right: 8px;
    color: #0d6efd;
    font-size: 1.1em;
}
.fdc-catdre-expanded .chevron {
    transform: rotate(90deg);
}
.fdc-categoria-row {
    background: #fff;
    border-bottom: 1px solid #f0f4fa;
    display: none;
}
.fdc-catdre-expanded + .fdc-categoria-row {
    display: table-row;
}
.fdc-table tfoot th, .fdc-table tfoot td {
    background: #f8fafc;
    font-weight: bold;
    border-top: 2px solid #dee2e6;
}
.fdc-table td.total-cell, .fdc-table th.total-cell {
    background: #f3f6fa;
    font-weight: bold;
    border-left: 3px solid #b6d4fa;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-size: 0.95em;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.fdc-table td.total-cell {
    color: #222;
}
.fdc-table th.total-cell {
    color: #0d6efd;
}
.fdc-quarter-header,
.fdc-quarter-total-cell {
    min-width: 140px;
    white-space: nowrap;
}
.fdc-month-header {
    background: #f8fafc;
    font-size: 0.9em;
    color: #64748b;
}
.fdc-quarter-total-row th {
    border-top: 2px solid #90caf9;
    border-bottom: 2px solid #90caf9;
}
.fdc-quarter-total-row th:first-child {
    background: #e3f2fd;
    color: #0d47a1;
    font-weight: bold;
}
.fdc-legend {
    margin-bottom: 0.5rem;
}
.fdc-badge-mes {
    border-radius: 4px;
    border: 1.5px solid #0d6efd;
    background: #f4faff;
    color: #0d6efd;
    padding: 1px 6px;
    font-size: 0.65em;
    margin-right: 2px;
    display: inline-block;
    font-weight: 600;
    margin-top: 1px;
}
.fdc-badge-ano {
    border-radius: 999px;
    border: 1.5px dashed #0d6efd;
    background: #fff;
    color: #0d6efd;
    padding: 1px 6px;
    font-size: 0.65em;
    display: inline-block;
    font-weight: 600;
    margin-top: 1px;
}
.fdc-badge-receita {
    border-radius: 4px;
    border: 1.5px solid #28a745;
    background: #f8fff9;
    color: #28a745;
    padding: 1px 6px;
    font-size: 0.65em;
    margin-right: 2px;
    display: inline-block;
    font-weight: 600;
    margin-top: 1px;
}
.fdc-legend-badge {
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.fdc-legend-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.fdc-legend-badge.active {
    opacity: 1;
}
.fdc-legend-badge.inactive {
    opacity: 0.4;
    filter: grayscale(50%);
}
/* Ensure legend badges match table badges exactly */
.fdc-legend .fdc-badge-mes {
    border-radius: 4px;
    border: 1.5px solid #0d6efd;
    background: #f4faff;
    color: #0d6efd;
    padding: 1px 6px;
    font-size: 0.65em;
    margin-right: 2px;
    display: inline-block;
    font-weight: 600;
    margin-top: 1px;
}
.fdc-legend .fdc-badge-ano {
    border-radius: 999px;
    border: 1.5px dashed #0d6efd;
    background: #fff;
    color: #0d6efd;
    padding: 1px 6px;
    font-size: 0.65em;
    display: inline-block;
    font-weight: 600;
    margin-top: 1px;
}
.fdc-legend .fdc-badge-receita {
    border-radius: 4px;
    border: 1.5px solid #28a745;
    background: #f8fff9;
    color: #28a745;
    padding: 1px 6px;
    font-size: 0.65em;
    margin-right: 2px;
    display: inline-block;
    font-weight: 600;
    margin-top: 1px;
}
.fdc-badge-mes.negative, .fdc-badge-ano.negative {
    color: #d90429;
    border-color: #d90429;
}
.fdc-badge-mes.positive { color: #0d6efd; background: #e3f2fd; }
.fdc-badge-ano.positive { color: #0d6efd; background: #e3f2fd; }

/* Hide all table badges by default */
.fdc-table [data-badge-type] {
    display: none;
}

@media (max-width: 900px) {
    .fdc-table { min-width: 700px; }
}
.fdc-main-value {
    font-size: 0.85em;
    font-weight: 600;
    display: block;
    white-space: nowrap;
}
/* Estilo para células clicáveis */
.fdc-table td a {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}
.fdc-table td a:hover {
    background-color: rgba(13, 110, 253, 0.05);
    border-radius: 4px;
}
.fdc-table td a:active {
    background-color: rgba(13, 110, 253, 0.1);
}
        /* ─── Linhas derivadas (Receita Liquida, Margem…, etc.) ─── */
.fdc-computed-category  td,
.fdc-computed-category  th {
    background:#f1f1f1 !important;   /* cinza-claro */
    color:#212529 !important;
    font-weight:700 !important;
    cursor:default !important;        /* não vira mãozinha */
}
.fdc-computed-category .fdc-main-value   { color:#212529 !important; }
.fdc-computed-category .fdc-badge-mes,
.fdc-computed-category .fdc-badge-ano        { border-color:#6c757d; color:#6c757d; }
.fdc-table th.sticky-col, .fdc-table td.sticky-col {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #f8fafc;
    box-shadow: 2px 0 2px -1px #e0e0e0;
}
.fdc-table th.sticky-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #f8fafc;
}
.fdc-table th.sticky-header-2 {
    position: sticky;
    top: 38px; /* height of first header row */
    z-index: 4;
    background: #f8fafc;
}
/* Ensure the intersection cell is above others */
.fdc-table th.sticky-col.sticky-header {
    z-index: 5;
}
.fdc-table th.sticky-col.sticky-header-2 {
    z-index: 5;
}

/* Action buttons section styles - Redesigned */
.fdc-action-buttons-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.fdc-action-buttons-title {
    color: #495057;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

.fdc-action-controls {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.fdc-control-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

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

.fdc-control-group {
    flex: 1;
    min-width: 200px;
}

.fdc-control-label {
    display: block;
    color: #495057;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.fdc-operation-select {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.fdc-form-select {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.fdc-date-input {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.fdc-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
}

.fdc-date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.fdc-action-buttons-row {
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.fdc-action-buttons-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fdc-action-buttons-container .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fdc-control-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .fdc-control-group {
        min-width: 100%;
}

    .fdc-action-buttons-container {
        justify-content: center;
        width: 100%;
    }
    
    .fdc-action-buttons-container .btn {
        flex: 1;
        min-width: 120px;
    }
}