.ad-hoc-expense-row {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Input styling */
.form-control {
    border-radius: 4px;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Accordion styling */
.accordion-button {
    padding: 1rem;
    font-weight: 500;
    color: #212529;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

/* Input groups */
.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Labels */
.form-label {
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Sticky footer */
.position-sticky.bottom-0 {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-top: 1px solid #dee2e6;
}

/* Card-like sections within accordion */
.input-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.input-section:last-child {
    margin-bottom: 0;
}

.input-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

/* Rupee symbol fix */
.rupee-symbol {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
}

/* Improved spacing and grouping */
.accordion-body {
    padding: 1.25rem;
}

.form-group + .form-group {
    margin-top: 1.5rem;
} 