/* ==========================================================================
   Felege Kidusan — custom styles that complement Tailwind utilities
   ========================================================================== */

/* Section heading with small gold bar underneath (matches reference design) */
.sec-title {
    position: relative;
    display: inline-block;
}
.sec-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, #F4B41A, #D99E0B);
}

/* Maroon hero with subtle dotted texture (like the reference hero) */
.hero-pattern {
    background-color: #5A1218;
    background-image:
        radial-gradient(rgba(244, 180, 26, 0.14) 1.25px, transparent 1.25px),
        radial-gradient(rgba(244, 180, 26, 0.08) 1.25px, transparent 1.25px);
    background-size: 28px 28px;
    background-position: 0 0, 14px 14px;
}

/* Soft fade-in for cards / flash messages */
@keyframes fkFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fkFadeUp .45s ease both; }

/* Form focus states */
.fk-input {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-size: 0.925rem;
    background: #fff;
    color: #333;
    transition: border-color .2s, box-shadow .2s;
}
.fk-input:focus {
    outline: none;
    border-color: #F4B41A;
    box-shadow: 0 0 0 3px rgba(244, 180, 26, .25);
}
.fk-input.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}

/* Gold button helper (used outside Tailwind classes) */
.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: #F4B41A; color: #5A1218; font-weight: 700;
    border-radius: 12px; padding: .8rem 1.6rem;
    transition: background .2s, transform .15s;
}
.btn-gold:hover { background: #D99E0B; }
.btn-gold:active { transform: scale(.98); }
.btn-gold[disabled] { opacity: .6; cursor: not-allowed; }

/* Thin elegant scrollbars for overflowing admin tables */
.fk-scroll::-webkit-scrollbar { height: 8px; width: 8px; }
.fk-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 8px; }

/* Toast */
#fkToast {
    position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(150%);
    transition: transform .35s ease; z-index: 60;
}
#fkToast.show { transform: translateX(-50%) translateY(0); }

/* Ensure Amharic line-heights are comfortable */
.font-ethiopic { line-height: 1.65; }
