html {
    text-rendering: optimizeLegibility;
}

body {
    font-family: "Inter", sans-serif;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.fintech-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(31, 41, 55, 0.06);
}

.fintech-input,
.form-control,
.form-select {
    border-color: #e5e7eb !important;
    border-radius: 16px !important;
    color: #1f2937 !important;
    font-size: 14px !important;
    min-height: 44px;
}

.fintech-input:focus,
.form-control:focus,
.form-select:focus {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12) !important;
}

.btn-primary,
.fintech-primary {
    background: linear-gradient(135deg, #166534, #16a34a) !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    transition: transform 160ms ease, filter 160ms ease;
}

.btn-secondary,
.fintech-secondary {
    background: #dcfce7 !important;
    border: 1px solid rgba(22, 163, 74, 0.18) !important;
    border-radius: 12px !important;
    color: #166534 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    transition: transform 160ms ease, background-color 160ms ease;
}

.btn-danger,
.fintech-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 12px !important;
    color: #ef4444 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    transition: transform 160ms ease, background-color 160ms ease;
}

.btn-close {
    border-radius: 12px;
    color: #166534;
}

.btn-primary:active,
.fintech-primary:active,
.btn-secondary:active,
.fintech-secondary:active,
.btn-danger:active,
.fintech-danger:active,
a:active,
button:active {
    transform: scale(0.95);
}

.table {
    color: #1f2937;
    font-size: 13px;
}

.table > :not(caption) > * > * {
    border-color: #e5e7eb;
    padding: 14px 12px;
}

.alert {
    border-radius: 16px;
    border-width: 1px;
    font-size: 14px;
}

.alert-danger {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #ef4444;
}

.alert-success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #16a34a;
}
