/* === UTILITIES & SHARED LAYOUTS === */
.text-xs {
    font-size: 0.75rem !important;
}

.text-sm {
    font-size: 0.8rem !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-black {
    font-weight: 950 !important;
}

.mb-1 {
    margin-bottom: 4px !important;
}

.mb-2 {
    margin-bottom: 8px !important;
}

.mb-3 {
    margin-bottom: 12px !important;
}

.mb-4 {
    margin-bottom: 15px !important;
}

.mb-5 {
    margin-bottom: 20px !important;
}

.d-flex {
    display: flex !important;
}

.flex-col {
    flex-direction: column !important;
}

.items-center {
    align-items: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.gap-1 {
    gap: 4px !important;
}

.gap-2 {
    gap: 8px !important;
}

.gap-3 {
    gap: 12px !important;
}

.gap-4 {
    gap: 20px !important;
}

.flex-1 {
    flex: 1 !important;
}

.relative {
    position: relative !important;
}

.hidden {
    display: none !important;
}

.grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
}

.card-white {
    background: white !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-right {
    text-align: right !important;
}

/* === SHARED UI COMPONENTS (INPUTS & SEARCH) === */
.input-group {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.input-prefix {
    padding: 0 12px;
    color: #94a3b8;
    background: #f1f5f9;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 118, 189, 0.1);
    background: white;
}

.label-caps-small {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.search-results-floating {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border: 1px solid #e2e8f0;
}

.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-result-item:hover {
    background: #f8fafc;
}

.search-result-item .title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.search-result-item .subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Premium Toggle (for Wallet) */
.toggle-track {
    width: 44px;
    height: 22px;
    background: #e2e8f0;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-knob {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.toggle-track {
    background: var(--success);
}

input:checked+.toggle-track .toggle-knob {
    transform: translateX(22px);
}

.separator-line {
    height: 1px;
    background: #f1f5f9;
    width: 100%;
}

.text-description-small {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}