/* Custom Styles for Ghanamak (غنمك) Arabic Theme */
.text-ghanamak, .text-mqani, .text-mqane {
    color: #C37739 !important;
}
.bg-ghanamak, .bg-mqani, .bg-mqane {
    background-color: #C37739 !important;
}
.lang-image {
    width: 32px;
    height: 32px;
    margin: 0px 5px;
}

.jq-toast-single, .jq-toast-heading {
    font-family: "Almarai", sans-serif !important;
}

.jq-toast-single ul li {
    list-style-type: none !important;
}

/* Global Font */
* {
    font-family: "Almarai", "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Crisp Light Theme */
html[data-pc-theme="light"], 
body[data-pc-theme="light"], 
body {
    background-color: #F4F7FA !important;
    color: #1D2630 !important;
}

[data-pc-theme="light"] .pc-sidebar {
    background: #ffffff !important;
    box-shadow: 0px 0px 24px rgba(27, 46, 94, 0.05) !important;
}

[data-pc-theme="light"] .pc-sidebar .pc-link {
    color: #39465F !important;
    font-weight: 500;
}

/* Active sidebar item in light green */
[data-pc-theme="light"] .pc-sidebar .pc-item.active > .pc-link,
[data-pc-theme="light"] .pc-sidebar .pc-link.active,
.pc-sidebar .pc-item.active > .pc-link {
    background: #EEF7E6 !important;
    color: #59860B !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

[data-pc-theme="light"] .card:not(.bg-brand-color-3):not(.weather-card):not(.alert):not(.alert-card) {
    background: #ffffff !important;
    box-shadow: 0px 8px 24px rgba(27, 46, 94, 0.06) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    color: #1D2630 !important;
    border-radius: 12px !important;
}

/* Weather Card blue gradient matching original design */
.weather-card,
.bg-brand-color-3,
[data-pc-theme="light"] .weather-card,
[data-pc-theme="light"] .bg-brand-color-3 {
    background: linear-gradient(207.92deg, #0398F2 11.42%, #38B9E7 106.55%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(3, 152, 242, 0.25) !important;
}

.weather-card *,
.bg-brand-color-3 *,
[data-pc-theme="light"] .weather-card *,
[data-pc-theme="light"] .bg-brand-color-3 * {
    color: #ffffff !important;
}

[data-pc-theme="light"] .card .text-muted {
    color: #64748b !important;
}

[data-pc-theme="light"] .pc-header {
    background: rgba(244, 247, 250, 0.95) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

/* Alert banner */
.alert-banner-mqane, .alert, .alert-card {
    background: #f5e0c3 !important;
    border: 1px solid #ebd0ad !important;
    border-radius: 12px !important;
    color: #6a4747 !important;
}

.alert-link.btn.bg-mqani, .btn.bg-mqani {
    background: #C4681A !important;
    border-color: #C4681A !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Floating Action Buttons */
.floating-ai-btn {
    position: fixed;
    bottom: 85px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    cursor: pointer;
    transition: transform 0.2s;
}
.floating-ai-btn:hover {
    transform: scale(1.08);
}

.floating-wa-btn {
    position: fixed;
    bottom: 25px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 1050;
    cursor: pointer;
    transition: transform 0.2s;
}
.floating-wa-btn:hover {
    transform: scale(1.08);
    color: #fff;
}
