/**
 * InnoFin Credit Plugin Styles
 *
 * CSS custom properties for easy theming via Elementor controls.
 * Prefix: ifc- (InnoFin Credit)
 */

/* ─── Variables ──────────────────────────────────── */

.ifc-calc,
.ifc-form,
.ifc-rates {
    --ifc-primary: #1B4D3E;
    --ifc-accent: #F6A000;
    --ifc-foreground: #1a1a2e;
    --ifc-muted: #6b7280;
    --ifc-bg: #ffffff;
    --ifc-bg-muted: #f3f4f6;
    --ifc-border: #e5e7eb;
    --ifc-error: #dc2626;
    --ifc-success: #16a34a;
    --ifc-radius: 10px;
    --ifc-radius-sm: 6px;
    --ifc-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --ifc-transition: 0.2s ease;

    /* Spacing */
    --ifc-space-xs: 4px;
    --ifc-space-sm: 8px;
    --ifc-space-md: 12px;
    --ifc-space-lg: 24px;
    --ifc-space-xl: 32px;

    /* Component spacing */
    --ifc-input-padding: 10px 14px;
    --ifc-card-padding: 24px;
    --ifc-field-gap: 1.5rem;
    --ifc-field-gap-x: 1rem;
    --ifc-section-gap: 24px;
    --ifc-layout-gap: 7rem;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ifc-foreground);
    line-height: 1.5;
}

[x-cloak] { display: none !important; }


/* ═══════════════════════════════════════════════════
   CALCULATOR
   ═══════════════════════════════════════════════════ */

.ifc-calc {
    max-width: 480px;
}

/* Card variant */
.ifc-calc--card {
    background: var(--ifc-bg);
    border-radius: var(--ifc-radius);
    padding: var(--ifc-card-padding);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

/* Heading */
.ifc-calc__heading {
    font-weight: 700;
    color: var(--ifc-foreground);
    margin: 0 0 var(--ifc-section-gap);
    line-height: 1.35;
}

.ifc-calc__heading b,
.ifc-calc__heading strong {
    color: var(--ifc-primary);
}

.ifc-calc__field {
    margin-bottom: var(--ifc-section-gap);
}

.ifc-calc__field-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.ifc-calc__label {
    font-weight: 600;
    color: var(--ifc-foreground);
    margin-bottom: var(--ifc-space-md);
}

/* Editable amount input */
.ifc-calc__amount-input-wrapper {
    margin-bottom: var(--ifc-space-md);
}

.ifc-calc__currency-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ifc-calc__currency-suffix {
    position: absolute;
    right: 14px;
    color: var(--ifc-muted);
    font-weight: 100;
    pointer-events: none;
}

.ifc-calc__amount-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: var(--ifc-input-padding);
    padding-right: 38px;
    font-weight: 700;
    text-align: center;
    color: var(--ifc-primary);
    border: 1px solid var(--ifc-border);
    border-radius: var(--ifc-radius-sm);
    background: var(--ifc-bg);
    font-variant-numeric: tabular-nums;
    transition: border-color var(--ifc-transition), box-shadow var(--ifc-transition);
}

.ifc-calc__amount-input:focus {
    outline: none;
    border-color: var(--ifc-primary);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

.ifc-calc__value {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ifc-calc__value--primary {
    color: var(--ifc-primary);
}

.ifc-calc__value--secondary {
    color: var(--ifc-accent);
}

/* Slider */
.ifc-calc__slider-wrapper {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.ifc-calc__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: transparent;
    position: relative;
    z-index: 2;
    cursor: pointer;
    margin: 0;
}

.ifc-calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ifc-bg);
    border: 3px solid var(--ifc-primary);
    cursor: grab;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: transform var(--ifc-transition);
}

.ifc-calc__slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.ifc-calc__slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
}

.ifc-calc__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ifc-bg);
    border: 3px solid var(--ifc-primary);
    cursor: grab;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.ifc-calc__slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    transform: translateY(-50%);
    background: var(--ifc-border);
    border-radius: 3px;
    z-index: 1;
    overflow: hidden;
}

.ifc-calc__slider-fill {
    height: 100%;
    background: linear-gradient(45deg, black, transparent), var(--ifc-primary);
    border-radius: 3px;
    transition: width 0.1s ease;
}

.ifc-calc__range-labels {
    display: flex;
    justify-content: space-between;
    color: var(--ifc-muted);
    margin-top: var(--ifc-space-xs);
}

/* Result box */
.ifc-calc__result {
    background: var(--ifc-bg-muted);
    border-radius: var(--ifc-radius);
    padding: var(--ifc-card-padding);
    margin-bottom: var(--ifc-section-gap);
}

.ifc-calc__result-main {
    text-align: center;
    margin-bottom: var(--ifc-space-md);
}

.ifc-calc__result-label {
    color: var(--ifc-muted);
    margin: 0 0 var(--ifc-space-xs);
}

.ifc-calc__result-amount {
    font-weight: 800;
    color: var(--ifc-primary);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.ifc-calc__result-period {
    font-weight: 400;
    color: var(--ifc-muted);
}

.ifc-calc__result-detail {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-top: 1px solid var(--ifc-border);
}

.ifc-calc__result-detail-label {
    color: var(--ifc-muted);
}

.ifc-calc__result-detail-value {
    font-weight: 600;
}

.ifc-calc__result-hint {
    display: flex;
    align-items: center;
    gap: var(--ifc-space-xs);
    color: var(--ifc-muted);
    margin-top: var(--ifc-space-sm);
    justify-content: center;
}

/* Spinner */
.ifc-calc__spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ifc-border);
    border-top-color: var(--ifc-primary);
    border-radius: 50%;
    animation: ifc-spin 0.6s linear infinite;
}

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

/* CTA Button */
.ifc-calc__button {
    width: 100%;
    justify-content: center;
}

.ifc-calc__error {
    background: #fef2f2;
    color: var(--ifc-error);
    padding: var(--ifc-input-padding);
    border-radius: var(--ifc-radius-sm);
    margin-bottom: var(--ifc-space-md);
}


/* Google Reviews bar */
.ifc-calc__reviews {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--ifc-space-sm);
    background: var(--ifc-bg-muted);
    padding: var(--ifc-space-md) 16px;
    margin-top: 16px;
    border-radius: var(--ifc-radius-sm);
}

.ifc-calc--card .ifc-calc__reviews {
    margin: 16px -24px -24px;
    border-radius: 0;
}

.ifc-calc__reviews-stars {
    display: flex;
    gap: 2px;
    color: var(--ifc-accent);
}

.ifc-calc__reviews-text {
    font-weight: 500;
    color: var(--ifc-foreground);
    text-align: center;
}


/* ═══════════════════════════════════════════════════
   FORM FLOW
   ═══════════════════════════════════════════════════ */

.ifc-form {
    max-width: 960px;
}

/* Loading */
.ifc-form__loading {
    text-align: center;
    padding: 60px var(--ifc-section-gap);
    color: var(--ifc-muted);
}

.ifc-form__spinner-large {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid var(--ifc-border);
    border-top-color: var(--ifc-primary);
    border-radius: 50%;
    animation: ifc-spin 0.6s linear infinite;
    margin-bottom: var(--ifc-space-md);
}

/* Progress steps */
.ifc-form__progress {
    display: flex;
    gap: var(--ifc-space-xs);
    margin-bottom: var(--ifc-space-xl);
}

.ifc-form__progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.ifc-form__progress-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--ifc-bg-muted);
    color: var(--ifc-muted);
    border: 2px solid var(--ifc-border);
    transition: all var(--ifc-transition);
}

.ifc-form__progress-step--active .ifc-form__progress-number {
    background: var(--ifc-primary);
    color: #fff;
    border-color: var(--ifc-primary);
}

.ifc-form__progress-step--completed .ifc-form__progress-number {
    background: var(--ifc-success);
    color: #fff;
    border-color: var(--ifc-success);
}

.ifc-form__progress-label {
    color: var(--ifc-muted);
    text-align: center;
    line-height: 1.3;
}

.ifc-form__progress-step--active .ifc-form__progress-label {
    color: var(--ifc-foreground);
    font-weight: 600;
}

.ifc-form__progress-step--clickable {
    cursor: pointer;
}

.ifc-form__progress-step--clickable:hover .ifc-form__progress-number {
    opacity: 0.8;
    transform: scale(1.1);
}

.ifc-form__progress-step--clickable:hover .ifc-form__progress-label {
    color: var(--ifc-foreground);
}

.ifc-form__progress--simple .ifc-form__progress-step {
    flex-direction: row;
    gap: 0;
}


/* Step header */
.ifc-form__step-header {
    margin-bottom: var(--ifc-section-gap);
}

.ifc-form__step-title {
    font-weight: 700;
    color: var(--ifc-foreground);
    margin: 0 0 var(--ifc-space-xs);
}

.ifc-form__step-description {
    color: var(--ifc-muted);
    margin: 0;
}

/* Step help text (info box) */
.ifc-form__step-help {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--ifc-radius-sm);
    padding: var(--ifc-space-md) 16px;
    margin-bottom: var(--ifc-section-gap);
    color: #1e40af;
    line-height: 1.5;
}

.ifc-form__step-help svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ifc-form__step-help p {
    margin: 0;
}

/* Fields */
.ifc-form__fields {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--ifc-field-gap) var(--ifc-field-gap-x);
    margin-bottom: var(--ifc-section-gap);
}

.ifc-form__field-group {
    display: flex;
    flex-direction: column;
    grid-column: span 12;
}

.ifc-form__field-group--half {
    grid-column: span 6;
}

.ifc-form__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--ifc-space-sm);
}

.ifc-form__field-wrapper--hidden {
    display: none;
}

/* Section header */
.ifc-form__field-group--section_header {
    grid-column: span 12 !important;
}

.ifc-form__section-header {
    padding-top: var(--ifc-space-lg);
}

.ifc-form__section-title {
    margin: 0;
    font-weight: 600;
    color: var(--ifc-foreground);
}

.ifc-form__section-description {
    margin: var(--ifc-space-xs) 0 0;
    color: var(--ifc-muted);
}

.ifc-form__label {
    font-weight: 600;
    color: var(--ifc-foreground);
    display: flex;
    align-items: center;
    gap: var(--ifc-space-sm);
}

/* Tooltip */
.ifc-form__tooltip-wrap {
    position: relative;
    display: inline-flex;
    cursor: help;
    color: var(--ifc-muted);
}

.ifc-form__tooltip-wrap:hover {
    color: var(--ifc-primary);
}

.ifc-form__tooltip-wrap:hover .ifc-form__tooltip {
    opacity: 1;
    visibility: visible;
}

.ifc-form__tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ifc-foreground, #1e293b);
    color: #fff;
    font-weight: 400;
    padding: var(--ifc-space-sm) var(--ifc-space-md);
    border-radius: 6px;
    white-space: normal;
    width: max-content;
    max-width: 260px;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 10;
    pointer-events: none;
}

.ifc-form__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ifc-foreground, #1e293b);
}

.ifc-form__tooltip a {
    color: #93c5fd;
    text-decoration: underline;
}

/* Input */
.ifc-form__input {
    padding: var(--ifc-input-padding);
    border: 1px solid var(--ifc-border);
    border-radius: var(--ifc-radius-sm);
    background: var(--ifc-bg);
    color: var(--ifc-foreground);
    transition: border-color var(--ifc-transition), box-shadow var(--ifc-transition);
    width: 100%;
    box-sizing: border-box;
}

.ifc-form__input:focus {
    outline: none;
    border-color: var(--ifc-primary);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

.ifc-form__input[readonly] {
    background: var(--ifc-bg-muted);
    color: var(--ifc-muted);
}

.ifc-form__input--postcode {
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Currency input */
.ifc-form__currency-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ifc-form__currency-prefix {
    position: absolute;
    left: 14px;
    color: var(--ifc-muted);
    pointer-events: none;
}

.ifc-form__input--currency {
    padding-left: 38px !important;
}

.ifc-form__currency-suffix {
    position: absolute;
    right: 14px;
    color: var(--ifc-muted);
    font-weight: 100;
    pointer-events: none;
}

.ifc-form__input--slider-amount {
    font-weight: 700;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Select */
.ifc-form__select {
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--ifc-border);
    border-radius: var(--ifc-radius-sm);
    background: var(--ifc-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'%3E%3C/path%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    color: var(--ifc-foreground);
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.ifc-form__select:focus {
    outline: none;
    border-color: var(--ifc-primary);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

/* Radio group */
.ifc-form__radio-group {
    display: flex;
    gap: var(--ifc-space-sm);
    flex-wrap: wrap;
}

.ifc-form__radio {
    flex-basis: auto;
    position: relative;
    display: flex;
    transition: all 50ms ease-out;
    align-items: center;
    gap: var(--ifc-space-sm);
    padding: var(--ifc-input-padding);
    border: 1px solid var(--ifc-border);
    border-radius: var(--ifc-radius-sm);
    cursor: pointer;
}

.ifc-form__radio:hover {
    border-color: var(--ifc-primary);
}

.ifc-form__radio--selected {
    border-color: var(--ifc-primary);
    background: rgba(27, 77, 62, 0.05);
    font-weight: 600;
}

.ifc-form__radio input {
    display: none;
}

/* Checkbox group */
.ifc-form__checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--ifc-space-sm);
}

.ifc-form__checkbox {
    flex-basis: auto;
    position: relative;
    display: flex;
    transition: all 50ms ease-out;
    align-items: center;
    gap: var(--ifc-space-sm);
    cursor: pointer;
}

.ifc-form__checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--ifc-primary);
}

/* Postcode group */
.ifc-form__postcode-group {
    display: flex;
    gap: var(--ifc-space-sm);
}

.ifc-form__postcode-group > :first-child {
    min-width: 50%;
}

.ifc-form__input--housenr {
    max-width: 100px;
    text-align: center;
}

.ifc-form__input--addition {
    max-width: 90px;
    text-align: center;
}

.ifc-form__postcode-result {
    margin-top: var(--ifc-space-xs);
}

.ifc-form__postcode-loading {
    font-style: italic;
}

.ifc-form__postcode-found {
    font-style: italic;
}

/* Date group (dd - mm - yyyy) */
.ifc-form__date-group {
    display: flex;
    align-items: center;
    gap: var(--ifc-space-sm);
}

.ifc-form__input--date-dd,
.ifc-form__input--date-mm {
    text-align: center;
}

@media (min-width: 769px) {
    .ifc-form__input--date-dd,
    .ifc-form__input--date-mm {
        max-width: 80px;
    }
}

.ifc-form__input--date-yyyy {
    max-width: 100px;
    text-align: center;
}

.ifc-form__date-sep {
    color: var(--ifc-muted);
    user-select: none;
}


/* Field error */
.ifc-form__field-error {
    color: var(--ifc-error);
    margin-top: var(--ifc-space-xs);
}

/* Form layout with sidebar */
.ifc-form__layout {
    display: flex;
    gap: var(--ifc-layout-gap);
    align-items: flex-start;
}

.ifc-form__main {
    flex: 1;
    min-width: 0;
}

/* Sidebar */
.ifc-form__sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: var(--ifc-space-xl);
    order: 1;
}

.ifc-form__sidebar-card {
    background: var(--ifc-bg-muted);
    border-radius: var(--ifc-radius);
    padding: var(--ifc-card-padding);
    border: 1px solid var(--ifc-border);
}

.ifc-form__sidebar-label {
    color: var(--ifc-muted);
    margin: 0 0 var(--ifc-space-xs);
}

.ifc-form__sidebar-amount {
    font-weight: 700;
    color: var(--ifc-primary);
    margin: 0 0 2px;
    line-height: 1.2;
}

.ifc-form__sidebar-details {
    padding-top: var(--ifc-space-md);
    margin-bottom: var(--ifc-section-gap);
    transition: opacity 0.2s;
}

.ifc-form__sidebar-details--loading {
    opacity: 0.4;
}

.ifc-form__sidebar-row {
    display: flex;
    justify-content: space-between;
    padding: var(--ifc-space-xs) 0;
}

.ifc-form__sidebar-row span:last-child {
    font-weight: 600;
    color: var(--ifc-foreground);
}

.ifc-form__sidebar-details--stacked .ifc-form__sidebar-row {
    flex-direction: column;
    gap: 2px;
}

.ifc-form__sidebar-usps {
    border-top: 1px solid var(--ifc-border);
    padding-top: var(--ifc-space-md);
}

.ifc-form__sidebar-usp {
    display: flex;
    align-items: center;
    gap: var(--ifc-space-sm);
    padding: var(--ifc-space-xs) 0;
    color: var(--ifc-foreground);
}

.ifc-form__sidebar-usp svg {
    color: var(--ifc-primary);
    flex-shrink: 0;
}

/* Privacy consent */
.ifc-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: var(--ifc-space-md);
    cursor: pointer;
    line-height: 1.5;
    color: var(--ifc-muted);
    margin-bottom: var(--ifc-space-sm);
}

.ifc-form__privacy-checkbox {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--ifc-primary);
}

.ifc-form__privacy-text a {
    color: var(--ifc-primary);
    text-decoration: underline;
}

/* Buttons */
.ifc-form__actions {
    display: flex;
    align-items: center;
    gap: var(--ifc-space-md);
    margin-top: var(--ifc-section-gap);
    margin-bottom: var(--ifc-section-gap);
}

.ifc-form__actions-spacer {
    flex: 1;
}

.ifc-form__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error banner */
.ifc-form__error-banner {
    background: #fef2f2;
    color: var(--ifc-error);
    padding: var(--ifc-space-md) 16px;
    border-radius: var(--ifc-radius-sm);
    margin-top: var(--ifc-space-md);
}

/* Success */
.ifc-form__success {
    text-align: center;
    padding: 48px var(--ifc-section-gap);
}

.ifc-form__success-icon {
    color: var(--ifc-success);
    margin-bottom: var(--ifc-section-gap);
}

.ifc-form__success h2 {
    margin: 0 0 var(--ifc-space-sm);
}

.ifc-form__success p {
    color: var(--ifc-muted);
    max-width: 400px;
    margin: 0 auto var(--ifc-space-sm);
}



/* ═══════════════════════════════════════════════════
   RATE DISPLAY
   ═══════════════════════════════════════════════════ */

.ifc-rates {
    max-width: 100%;
}

.ifc-rates__header {
    margin-bottom: var(--ifc-section-gap);
}

.ifc-rates__title {
    font-weight: 700;
    margin: 0 0 var(--ifc-space-xs);
}

.ifc-rates__subtitle {
    color: var(--ifc-muted);
    margin: 0;
}

.ifc-rates__table-wrapper {
    overflow-x: auto;
}

.ifc-rates__table {
    width: 100%;
    border-collapse: collapse;
}

.ifc-rates__table th {
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ifc-muted);
    padding: var(--ifc-space-sm) 10px;
    border-bottom: 2px solid var(--ifc-border);
    white-space: nowrap;
}

.ifc-rates__table td {
    padding: var(--ifc-space-md);
    border-bottom: 1px solid var(--ifc-border);
    white-space: nowrap;
}

.ifc-rates__table td:first-child {
    font-weight: 600;
}

.ifc-rates__disclaimer {
    color: var(--ifc-muted);
    margin-top: var(--ifc-space-md);
}

.ifc-rates__loading {
    text-align: center;
    padding: 40px var(--ifc-section-gap);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (min-width: 769px) {
    .ifc-form__postcode-group {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .ifc-form,
    .ifc-calc,
    .ifc-rates {
        --ifc-layout-gap: 2rem;
    }

    .ifc-form__layout {
        flex-direction: column-reverse;
    }

    .ifc-form__sidebar {
        width: 100%;
        position: static;
        order: 0;
    }
}

@media (max-width: 600px) {
    .ifc-form,
    .ifc-calc,
    .ifc-rates {
        --ifc-layout-gap: 1rem;
    }

    .ifc-form__fields {
        gap: 1rem;
    }

    .ifc-form__progress {
        gap: 2px;
    }

    .ifc-form__progress-number {
        width: 28px;
        height: 28px;
    }

    .ifc-form__field-group[style*="grid-column"],
    .ifc-form__field-group--half {
        grid-column: span 12 !important;
    }

    .ifc-form__date-group {
        width: 100%;
    }

    .ifc-form__actions {
        flex-wrap: wrap;
    }

    .ifc-form__btn {
        flex: 1;
        justify-content: center;
    }
}
