/* Base Resets & Utility Styles */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

:root {
    --font-urdu: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
    --font-ui: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background-color: #f5f6f8 !important;
    color: #111827 !important;
    direction: ltr !important;
    font-family: var(--font-ui);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f3f5;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Toast Notifications Container */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast-message {
    pointer-events: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-right: 4px solid #157a41;
    color: #111827;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-family: var(--font-urdu);
    direction: rtl;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.toast-message.toast-error {
    border-right-color: #ef4444;
}
