/* app.css */

/* Primary color for buttons, links, etc. */
:root {
    --primary-color: #FCB913; /* Main color */
    --primary-hover-color: #e6a810; /* Slightly darker for hover effects */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Body & Global */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}
body {
    background-color: #f7f7f7;
    color: #212529;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    padding-top: 70px; /* for fixed navbar */
}

.tab-pane[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}
main {
    flex: 1;
}

/* Navbar */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e2e2e2;
}
.navbar-brand {
    font-weight: 600;
    display: flex;
    align-items: center;
}
.brand-img {
    height: 40px;
    margin-right: 8px;
}
.navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    transition: color 0.2s ease-in-out;
}
.navbar-nav .nav-link.active {
    color: #0d6efd; /* highlight color for active link */
    font-weight: 500;
}

/* Footer */
.footer {
    border-top: 1px solid #e2e2e2;
    padding: 40px 0;
    flex-shrink: 0;
    color: white;
}

.footer a {
    text-decoration: none;
    color: white;
}

footer {
    background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--primary-hover-color) !important;
    border-color: var(--primary-hover-color) !important;
}

/* Outline Buttons */
.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: black !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* Links */
a {
    color: black; /* Default text color */
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-hover-color)!important;
}
a.active {
    color: black !important; /* Active link color */
    font-weight: bold;       /* Emphasize active link */
    border-bottom: 2px solid var(--primary-color);
}

/* Badges & Highlights */
.badge-primary {
    background-color: var(--primary-color) !important;
    color: #fff;
}
.text--primary {
    color: var(--primary-color) !important;
}

/* Pagination */
.pagination .page-link {
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}
.pagination .page-item .page-link {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.pagination .page-item .page-link:hover {
    background-color: var(--primary-hover-color);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    background-color: #e6e6e6;
    color: #999;
    border: 1px solid #e6e6e6;
}

/* Scroll-to-top button */
#scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border: none;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#scrollToTopBtn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scrollToTopBtn:hover {
    background-color: transparent;
    color: black;
    border: none;
}
/* Progress Circle for the scroll button (if used) */
.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.progress-bg {
    /* If you have a background circle styled in HTML */
}
.progress-bar {
    transition: stroke-dashoffset 0.3s ease;
}

/* Optional: Nav spacing */
.navbar-nav li {
    margin: 0 7%;
}
.developer-link {
    color: #FCB913!important;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.developer-link:hover {
    color: #000; /* Change color on hover */
    text-decoration: underline;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
}

/* Notification Dropdown */
.notification-dropdown {
    width: 500px;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    margin-right: 10px;
    color: var(--primary-color);
}
.contact-info-icon {
    color: var(--primary-color)!important;
}

.notification-content {
    flex: 1;
}
/* Adjust icon spacing for RTL */
[dir="rtl"] .accordion-button i {
    margin-right: 0;
    margin-left: 0.5rem; /* Adjust as needed */
}

/* Reverse the order of icon and text in RTL */
[dir="rtl"] .accordion-button {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
/* Remove focus outline from accordion buttons */
.accordion-button:focus {
    box-shadow: none;
}

/* Customize accordion arrows for LTR (English) */
#privacyAccordionEn .accordion-button::after {
    transform: rotate(0deg);
    transition: transform 0.2s ease-in-out;
}

#privacyAccordionEn .accordion-button.collapsed::after {
    transform: rotate(-90deg);
}

/* Customize accordion arrows for RTL (Arabic) */
#privacyAccordionAr .accordion-button::after {
    transform: rotate(0deg);
    transition: transform 0.2s ease-in-out;
}

#privacyAccordionAr .accordion-button.collapsed::after {
    transform: rotate(90deg);
}

/* Adjust icon spacing for RTL */
[dir="rtl"] .accordion-button i {
    margin-left: 0.5rem; /* Space between text and icon */
    margin-right: 0; /* Remove right margin */
}

/* Reverse the order of icon and text in RTL */
[dir="rtl"] .accordion-button {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

/* Adjust arrow for RTL */

