
/* Global Professional UI Enhancements (Bcare Theme) */
/* Retains original structure but adds modern feel, transitions, and depth */

/* Smooth body and scrollbar */
html {
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Form Controls - Smooth Focus */
.form-control, .form-select {
    border-radius: 8px !important;
    border: 1px solid #ced4da;
    transition: all 0.3s ease-in-out !important;
    padding: 10px 15px !important;
    background-color: #fcfcfc !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.01) !important;
}

.form-control:focus, .form-select:focus {
    border-color: #156394 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(21, 99, 148, 0.15) !important;
    transform: translateY(-1px);
}

/* Radio & Checkboxes */
.form-check-input {
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.form-check-input:checked {
    background-color: #156394 !important;
    border-color: #156394 !important;
}

/* Professional Buttons */
.btn {
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn:hover:not([disabled]) {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
}

.btn:active:not([disabled]) {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

/* Buttons Theme Colors */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: none !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #156394, #0f4c75) !important;
    border: none !important;
}

/* Cards & Layout Containers */
.card, .container > .row > .col-12 > div {
    /* Apply a soft bloom shadow to main cards implicitly (heuristics based on Bcare layout) */
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
}

.shadow {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important;
}

/* Typography Polish */
h1, h2, h3, h4, h5, h6 {
    color: #1e293b;
    font-weight: 700;
}

/* Dynamic Navbar */
nav.bacOne {
    box-shadow: 0 4px 15px rgba(21, 99, 148, 0.3);
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

/* Nafath App specific aesthetic */
.nafad {
    transition: 0.3s ease;
    border: 1px solid #e2e8f0;
}
.nafad:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #10b981;
}

/* Loading States & Spinners */
.spinner-border {
    animation-duration: 0.8s;
}

/* Inputs Labels */
label.mb-2 {
    font-weight: 700 !important;
    color: #475569 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
}

/* Steps Progress specific (if applicable) */
.progress {
    border-radius: 10px;
    background-color: #f1f5f9;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
.progress-bar {
    background: linear-gradient(90deg, #156394, #2b8bc6);
    position: relative;
    overflow: hidden;
}
.progress-bar::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* Global Subtle fadeIn animation for pages */
body {
    animation: smoothLoad 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes smoothLoad {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
