.custom-image-preview img {
    height: 150px !important; /* Set your desired height */
    width: 150px !important; /* Set your desired width */
    object-fit: cover; /* Maintain aspect ratio by cropping */
    border-radius: 8px; /* Optional: Add rounded corners */
}

.custom-input-border{
    border: 2px solid #f12626; 
    font-weight: bold;
    font-size: 20px;
}
.custom-input-border-1{
    font-weight: bold;
    font-size: 20px;
}

.custom-input-border-2{
    border: 2px solid #f12626;
    font-weight: bold;
    font-size: 20px;
}


.dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: #fff;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 15rem;
    overflow-y: auto;
    z-index: 10;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f0f0f0;
}

.dropdown-item img {
    width: 200px;
    height: 50px;
    margin-right: 1rem;
    object-fit: cover;
    border-radius: 0.25rem;
}


.fi-header-heading {
    font-size: 1.15rem !important; /* Replace with the desired font size */
}

.fi-forms-section-content {
    gap: 0.75rem !important; /* Replace with the desired gap size */
}

.contract-page section {
    gap: 0.5rem !important; /* gap-y-4 equivalent */
}

.contract-page section {
    gap: 0.5rem !important; /* gap-y-4 equivalent */
}

.contract-page .fi-fieldset{
   /* padding: 0.5rem !important; */
}

.contract-page .fi-fieldset .grid{
    row-gap: 0.25rem !important;
 }

 .small-helper-text {
    font-size: 0.85em; /* Adjust font size as needed */
    color: #6b7280; /* Optional: Make it lighter */
}

/* Blink effect for the calculate button */
.blink {
    animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
    50% {
        opacity: 0.5;
    }
}

.highlight {
    animation: glow-highlight 1.5s ease-in-out;
    background-color: #ffe066 !important; /* Soft yellow for highlight */
    color: #333 !important; /* Darker text for readability */
    border: 2px solid #ffcc00; /* Outline glow color */
    box-shadow: 0 0 15px 5px #ffcc00; /* Glow effect */
    transform: scale(1.05); /* Slight scaling */
}

/* Keyframes for glowing and pulsing effect */
@keyframes glow-highlight {
    0% {
        box-shadow: 0 0 5px 2px #ffcc00;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px 5px #ffcc00;
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 5px 2px #ffcc00;
        transform: scale(1);
    }
}


/* ONE ROW: [ input | actions ]  — never stack */
.installment-repeater.inline-actions .fi-fo-repeater-item {
  display: flex !important;
  align-items: center !important;
  /* gap: .5rem !important;          */
  flex-wrap: nowrap !important;   /* do NOT wrap to next line */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  /* padding: .25rem 0 !important; */
}

/* Content on the left, fill available width */
.installment-repeater.inline-actions .fi-fo-repeater-item > .fi-fo-repeater-item-content {
  order: 1 !important;
  flex: 1 1 auto !important;      /* input grows */
  padding: 0 !important;
  border: none !important;
}

/* Actions on the right, inline — no absolute positioning */
.installment-repeater.inline-actions .fi-fo-repeater-item-header {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: .25rem !important;
  white-space: nowrap !important; /* keep icons on one line */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

/* Hide the “Item 1/2” text, keep buttons */
.installment-repeater.inline-actions .fi-fo-repeater-item-label {
  display: none !important;
}

/* Keep the top +Add bar neat and right-aligned (optional) */
.installment-repeater.inline-actions .fi-fo-repeater-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
}



