@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
#total-amount{
    font-size: 2rem !important;
}
#change-amount{
    font-size: 1.5rem !important;
}
.fw-bold{
    font-weight: 700 !important;
}
.fw-medium{
    font-weight: 500 !important;
}
.payment-container {
    max-width: 480px;
    margin: 0 auto;
    background: #f8f9fa;
    min-height: 100vh;
}

.payment-container p, .payment-container h6, .payment-container span, .payment-container label, .payment-container div, .payment-container button, .payment-container input, .payment-container select{
    font-family: "Inter", "Roboto" !important;
}

.payment-header {
    background: white;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.kiosk-card {
    background: #f9fafb;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.kiosk-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bill-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.bill-item:hover {
    background: #e9ecef;
}

.bill-item.selected {
    background: #e3f2fd;
    border-color: #2196f3;
}

#bills-container .btn:not(.btn-others,.btn-nexts) {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    height: 98.6px !important;
}

.btn-others, .btn-nexts{
    padding: 0px !important;
    height: unset !important;
}

.pad-75{
    padding: 0rem .75rem !important;
}

.status-badge {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.5rem;
    border-radius: 12px !important;
    font-weight: 500;
    font-style: italic;
}

.status-paid { background: #d4edda; color: #155724; }
.status-current { background: #fff3cd; color: #856404; }
.status-partial { background: #f8d7da; color: #721c24; }
.status-unpaid { background: #f8d7da; color: #721c24; }
.status-uncoming { background: #e2e3e5; color: #383d41; }

.cash-input {
    font-size: 1.5rem !important;
    padding-left: 4rem !important;
    height: 60px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: border-color 0.2s ease;
    font-weight: 700;
}

.cash-input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #6c757d;
    z-index: 3;
}

.change-display {
    background: #fef3c7;
    border-radius: 8px;
    padding: 0.75rem;
    /* border: 1px solid #dee2e6; */
}

.bg-opacity-10 {
    background-color: rgba(34, 197, 94, 0.1) !important;
}

.btn-success-custom {
    background: linear-gradient(45deg, #28a745, #34ce57);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-success-custom:hover:not(:disabled) {
    background: linear-gradient(45deg, #218838, #28a745);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-success-custom:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.quick-amount-btn {
    height: 50px !important;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 1.2rem !important;
}

.quick-amount-btn:hover {
    background: #28a745;
    color: white;
    transform: translateY(-1px);
}

.collapse-icon {
    transition: transform 0.2s ease;
}

.collapsed .collapse-icon {
    transform: rotate(0deg);
}

.collapse-icon {
    transform: rotate(180deg);
}

.custom-amount-input {
    border-radius: 4px;
    font-size: 0.875rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}


.rounded{
    border-radius: 0.5rem !important;
}

.btn-large{
    min-height: 57.6px !important;
}
#process-payment-btn{
    height: 50px !important;
    color: white !important;
}

div.small{
    font-size: 0.85rem !important;
}

.custom-control-input:disabled ~ .custom-control-label::before{
    opacity: 0.25;
}
input.is-invalid{
    color:var(--danger) !important;
    padding-right: 0.5rem !important;
}

/* TIMELINE HISTORY */

.fade-in-item {
    animation: fadeInUp 0.5s ease-out;
}

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

.timeline-item {
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* .timeline-item::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #28a745;
} */

#load-more-container {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 6px 12px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1 !important;
    padding-left: 0;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 10px;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    max-width: 350px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff;
    color: white;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 6px 12px;
    font-size: 16px; /* Prevent zoom on iOS */
}

.select2-container--default .select2-results__option {
    padding: 8px 12px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.kiosk-card .select2-container {
    margin-bottom: 0;
}

/* Custom option formatting */
.select2-results__option .kiosk-option {
    display: flex;
    flex-direction: column;
}

.select2-results__option .kiosk-code {
    font-weight: bold;
    font-size: 0.9rem;
}

.select2-results__option .kiosk-name {
    font-size: 0.8rem;
    /* color: #6c757d; */
}

@media (max-width: 768px) {
    .select2-dropdown {
        font-size: 16px;
    }
}