/* ---------------------------------------------------------
 * YIIBS Custom Style Sheets
 * Handles Premium Dashboard Styles and Global Select2 Overrides
 * --------------------------------------------------------- */

/* =========================================================
 * 1. GLOBAL SELECT2 BOOTSTRAP 4 OVERRIDES
 * ========================================================= */
.select2-container--bootstrap4 .select2-selection {
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    height: calc(2.25rem + 2px) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075) !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: #80bdff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 2.25rem !important;
    padding-left: 0.75rem !important;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    height: 2.25rem !important;
    right: 0.75rem !important;
}
.select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}
.select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    outline: none !important;
    padding: 6px 10px !important;
}
.select2-search--dropdown .select2-search__field:focus {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    outline: none !important;
}
.select2-results__option {
    padding: 8px 12px !important;
}

/* =========================================================
 * 2. PREMIUM DASHBOARD CORE OVERRIDES
 * ========================================================= */
.text-slate-800 { color: #1e293b!important; }
.text-slate-700 { color: #334155!important; }
.text-slate-600 { color: #475569!important; }
.text-slate-400 { color: #94a3b8!important; }
.bg-slate-200   { background-color: #e2e8f0!important; }
.border-slate-200 { border-color: #e2e8f0!important; }

/* Soft background glow for welcome banner */
.absolute-bg-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, rgba(20, 184, 166, 0) 70%);
    z-index: 1;
    pointer-events: none;
}
.bg-teal-soft { background-color: rgba(20, 184, 166, 0.15)!important; }
.text-teal-light { color: #2dd4bf!important; }

/* Premium chip designs for stats */
.icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.bg-emerald-soft { background-color: rgba(16, 185, 129, 0.12)!important; }
.text-emerald { color: #10b981!important; }
.bg-emerald { background-color: #10b981!important; }

.bg-blue-soft { background-color: rgba(59, 130, 246, 0.12)!important; }
.text-blue { color: #3b82f6!important; }
.bg-blue { background-color: #3b82f6!important; }

.bg-amber-soft { background-color: rgba(245, 158, 11, 0.12)!important; }
.text-amber { color: #f59e0b!important; }
.bg-amber { background-color: #f59e0b!important; }

.bg-rose-soft { background-color: rgba(244, 63, 94, 0.12)!important; }
.text-rose { color: #f43f5e!important; }
.bg-rose { background-color: #f43f5e!important; }

.bg-purple-soft { background-color: rgba(168, 85, 247, 0.12)!important; }
.text-purple { color: #a855f7!important; }

.bg-teal-soft { background-color: rgba(20, 184, 166, 0.12)!important; }
.text-teal { color: #0d9488!important; }

.bg-indigo-soft { background-color: rgba(99, 102, 241, 0.12)!important; }
.text-indigo { color: #6366f1!important; }

.bg-info-soft { background-color: rgba(6, 182, 212, 0.12)!important; }
.text-info { color: #0891b2!important; }

/* Feedback messages cards custom styling */
.bg-rose-extra-soft { background-color: #fff1f2!important; }
.border-left-rose { border-left: 4px solid #f43f5e!important; }
.border-left-slate { border-left: 4px solid #cbd5e1!important; }
.badge-success-soft { background-color: #d1fae5; color: #065f46; }
.badge-warning-soft { background-color: #fef3c7; color: #92400e; }

/* Modern structural elements */
.rounded-xl { border-radius: 12px!important; }
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.font-weight-semibold { font-weight: 600!important; }
.font-weight-bold { font-weight: 700!important; }

/* Micro-interactions & animations */
.transition-all {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-translate-y:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07)!important;
}
.hover-translate-x:hover {
    transform: translateX(4px);
}
.hover-underline:hover {
    text-decoration: underline!important;
}
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-2xs { font-size: 9px; }
.text-xs { font-size: 11px; }

/* Override AdminLTE standard layout wrapper background for sleek look */
.content-wrapper {
    background-color: #f8fafc!important;
}
.card {
    background-color: #ffffff;
}
.table thead th {
    border-top: none!important;
}
