html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden !important;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* RTL specific adjustments */
html[lang="ar"] {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .ml-auto {
    margin-left: unset !important;
    margin-right: auto !important;
}

html[lang="ar"] .mr-auto {
    margin-right: unset !important;
    margin-left: auto !important;
}

html[lang="ar"] .ml-3, html[lang="ar"] .mx-3 {
    margin-left: unset !important;
    margin-right: 1rem !important;
}

html[lang="ar"] .mr-3, html[lang="ar"] .mx-3 {
    margin-right: unset !important;
    margin-left: 1rem !important;
}

html[lang="ar"] .dropdown-menu-right {
    right: auto !important;
    left: 0 !important;
}

html[lang="ar"] .text-right {
    text-align: left !important;
}

html[lang="ar"] .text-left {
    text-align: right !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden !important;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

* {
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    border-radius: 0;
    background-color: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background: #8b8b8b;
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #8b8b8b;
}

/* Basic styles */
.form-control:focus {
    outline: none;
    box-shadow: none;
}

.btn {
    outline: none;
}

.main-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media(max-width: 992px) {
    .main-section {
        padding: 30px 0;
    }
}

a {
    text-decoration: none !important;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

button:focus,
button:active,
input:active,
input:focus,
select:active,
select:focus,
textarea:focus,
textarea:active {
    box-shadow: none;
    outline: 0;
}

/* Headings and Text */
.main-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-transform: capitalize;
    font-weight: bold;
    max-width: 380px;
    position: relative;
    padding-inline-start: 20px;
}

.main-title::before {
    position: absolute;
    content: '';
    width: 6px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.main-center-title {
    font-size: 40px;
    margin-bottom: 70px;
    color: #333;
    text-transform: capitalize;
    font-weight: bold;
    text-align: center;
    position: relative;
}

@media(max-width:576px) {
    .main-center-title {
        font-size: 30px;
    }
}

.main-des {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.main-center-des {
    font-size: 14px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

p {
    color: var(--text-muted);
}

/* Header and Navigation */
.mob-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    background-color: rgba(var(--primary-color), 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 2900;
}

.mob-overlay.active {
    opacity: .85;
    visibility: visible;
    transition: all .3s;
}

.sidebar-wrapper {
    display: none;
}

@media(max-width: 992px) {
    .sidebar-wrapper {
        padding-top: 20px;
        position: fixed;
        display: block;
        background-color: var(--primary-color);
        color: #fff;
        right: 20px;
        top: 20px;
        width: 100%;
        height: 100vh;
        max-height: calc(100% - 40px);
        max-width: calc(100% - 40px);
        box-shadow: 0 0 15px rgb(0 0 0 / 10%);
        overflow: hidden;
        z-index: 3000;
        transition: transform 0.5s ease-in-out;
        transform: translateY(150%);
        border-radius: 20px;
    }

    .sidebar-wrapper .m-head {
        padding: 20px;
        border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
        margin-bottom: 30px;
    }

    .sidebar-wrapper .m-head h3 {
        font-size: 20px;
        color: #fff;
    }

    .sidebar-show {
        transition: transform 0.5s ease-in-out;
        transform: translateY(0);
    }

    .sidebar-wrapper .nav-link {
        color: #fff !important;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-weight: lighter;
        padding: 14px 0;
        transition: all 0.3s ease-in-out;
    }

    .sidebar-wrapper .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .sidebar-wrapper .dropdown-menu {
        width: 100%;
        position: static !important;
        transform: translate3d(0, 0, 0) !important;
        background-color: transparent;
        text-align: center;
    }

    .sidebar-wrapper .dropdown-menu .dropdown-item {
        display: block;
        width: 100%;
        padding: .25rem 1.5rem;
        clear: both;
        font-weight: 400;
        color: #fff;
    }

    .navbar-nav .sub-collapse .dropdown-item {
        color: #fff;
    }

    #burgerBtn {
        border-top: none;
        height: 25px;
        width: 30px;
        box-sizing: border-box;
        position: absolute;
        z-index: 3000;
        top: 30px;
        cursor: pointer;
        transition: all 0.3s ease-in;
    }

    #burgerBtn:before {
        content: "";
        display: block;
        position: absolute;
        height: 2px;
        width: 33px;
        background: #fff;
        top: 10px;
        transition: all 0.3s ease-in;
        transform: rotate(45deg);
    }

    #burgerBtn:after {
        content: "";
        display: block;
        position: absolute;
        height: 2px;
        width: 33px;
        bottom: 11px;
        background: #fff;
        transition: all 0.3s ease-in;
        transform: rotate(135deg);
    }

    .navbar-nav {
        text-align: center;
    }
}

/* Top bar */
.top-bar {
    background-color: var(--bg-light);
    color: var(--text-muted);
}

.top-bar .lang-des {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-to {
    font-size: 16px;
    color: var(--text-muted);
}

.lang-des .lang-item > a {
    color: var(--text-muted);
    font-size: 16px;
}

.lang-des .lang-item > a i {
    font-size: 20px;
}

.lang-des .dropdown-menu {
    padding: 0;
    border: 1px solid #fff;
}

.lang-des .dropdown-item {
    padding: 10px;
    background-color: var(--primary-color);
    color: #fff;
}

.lang-des .dropdown-item:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.lang-divider {
    width: 2px;
    height: 16px;
    background-color: var(--text-muted);
    margin-left: 5px;
    margin-right: 5px;
}

@media(min-width: 992px) {
    .top-bar {
        padding: 10px 0;
    }

    .top-bar > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar .lang-des {
        width: 100%;
    }
}

/* Header Search */
.headerSearch {
    padding: 14px 0;
}

.logo img {
    max-width: 114px;
}

@media(max-width: 992px) {
    .top-bar .lang-des {
        justify-content: flex-end;
    }

    .lang-divider {
        margin: 0 16px;
    }

    .lang-des .lang-item > a {
        font-size: 15px;
    }

    .call-center {
        font-size: 15px !important;
    }

    .mob-mb-10 {
        margin-bottom: 10px;
    }

    .d_mob_none {
        display: none;
    }

    .only_search_btn {
        background-color: transparent;
        border: none;
        outline: none;
        font-size: 22px;
        color: var(--primary-color);
    }
}

@media(min-width: 992px) {
    .only_search_btn {
        display: none;
    }
}

.headerSearch .search-form {
    width: 80%;
}

.search-form .input-group {
    position: relative;
    height: 50px;
    text-transform: capitalize;
    color: var(--text-muted);
    font-size: 14px;
}

.search-form .nice-select {
    height: 40px;
    width: 120px;
    border: 1px solid var(--bg-light);
    border-radius: 20px;
    border-start-end-radius: 0px;
    border-end-end-radius: 0px;
    font-weight: 600;
}

.nice-select:after {
    width: 8px;
    height: 8px;
}

.search-form .form-control {
    height: 40px;
    border: 1px solid var(--bg-light);
    padding-inline-start: 40px;
    color: var(--text-muted);
}

.search-form .form-control:focus {
    border: 1px solid var(--primary-color);
    border-inline: none;
}

.search-form .search_btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: none;
    outline: none;
    height: 40px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border-start-end-radius: 20px;
    border-end-end-radius: 20px;
}

/* Header Nav */
.navbar {
    padding: 0;
    width: 100%;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        height: 60px;
        width: 100%;
        justify-content: space-between;
    }
}

.navbar-toggler {
    background-color: transparent;
    border: none;
    font-size: 26px;
}

.bars-toggler-icon {
    color: var(--primary-color);
}

@media(min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        width: fit-content;
        padding: 0 5px;
    }

    .navbar-nav .nav-link {
        line-height: 46px;
        transition: all 0.3s ease-in-out;
    }

    .navbar-nav .nav-item {
        transition: 0.3s;
    }

    .navbar-nav .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.headerNav {
    background-color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-nav > .nav-item {
    position: relative;
}

/* Call center */
.call-center {
    color: var(--text-muted);
    font-size: 24px;
}

.call-center a {
    color: var(--text-muted);
    margin-inline-end: 6px;
}

.grey_btn {
    color: var(--text-muted);
    font-size: 24px;
    width: 24px;
    position: relative;
}

.grey_btn .num-cart {
    background-color: #f00;
    color: #fff;
    font-size: 14px;
    position: absolute;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    left: -10px;
}

/* Slider/Header Section */
.header-section {
    color: #fff;
    position: relative;
}

@media(min-width: 992px) {
    .header-section {
        min-height: 470px;
    }
}

.carousel-control-next,
.carousel-control-prev {
    display: none;
}

.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators li {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #ababab;
}

.header-section .top-img {
    width: 100%;
    object-fit: cover;
}

.top-section {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.top-section h5 {
    font-size: 40px;
    color: #000;
    font-weight: bold;
}

.top-section h4 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 30px;
}

.top-section p {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 560px;
    line-height: 2;
    margin-bottom: 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.shop_now_btn {
    min-width: 160px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    color: #fff;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    text-transform: capitalize;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.shop_now_btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.hvr-sweep-to-right:before {
    background: #fff;
    border-radius: 5px;
    color: var(--primary-color);
}

@media(max-width: 992px) {
    .top-section h5,
    .top-section h4 {
        font-size: 30px;
    }

    .carousel-indicators {
        display: none;
    }
}

.header-section::after {
    position: absolute;
    display: block;
    content: '';
    height: 8px;
    width: 36%;
    bottom: -8px;
    left: 0;
    background-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #100d0e;
    position: relative;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 20px;
}

.all_links_wrapper {
    padding-bottom: 30px;
}

.footer-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

.footer-sub-title {
    font-size: 16px;
    color: var(--primary-color);
    position: relative;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-sub-title i {
    margin-right: 10px;
}

html[lang="ar"] .footer-sub-title i {
    margin-right: 0;
    margin-left: 10px;
}

.footer_menu {
    margin-bottom: 30px;
}

.footer_menu li {
    margin-bottom: 15px;
}

.footer-link {
    color: #f1f1f1;
    font-size: 14px;
    transition: 0.2s;
    opacity: 0.8;
}

.footer .social_icons {
    display: flex;
    margin-top: 20px;
    margin-bottom: 30px;
}

.footer .social-link {
    font-size: 20px;
    color: #fff;
    margin-inline-end: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
}

.footer a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer .social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.copyrights {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.copyrights p,
.copyrights a {
    color: #fff;
    opacity: 0.7;
    margin-bottom: 0;
}

@media(min-width: 769px) {
    .subscribe_now {
        width: 200px;
    }
}

@media(max-width: 576px) {
    .footer {
        padding-top: 40px;
    }

    .footer .mail-title,
    .footer .form-control,
    .subscribe_now {
        margin-bottom: 20px;
    }
}

@media(max-width: 768px) {
    .mail_wrapper,
    .all_links_wrapper {
        padding-bottom: 20px;
    }

    .all_links_wrapper .col-12 {
        margin-bottom: 20px;
    }
}

/* Go to top */
.go-top {
    position: fixed;
    display: none;
    width: 50px;
    height: 50px;
    background: rgb(221, 213, 213);
    color: var(--primary-color);
    bottom: 140px;
    z-index: 2500;
    -webkit-box-shadow: 0 4px 18px 0px #00000085;
    box-shadow: 0 4px 18px 0px #00000085;
    text-align: center;
    line-height: 46px;
    transition: all 0.3s !important;
}

.go-top:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Call us section */
.call-us-now {
    position: fixed;
    width: 300px;
    height: 50px;
    color: #fff;
    border-radius: 50%;
    bottom: 40px;
    z-index: 1040;
    transition: all 0.3s !important;
}

.call-us-now .call-list {
    display: none;
}

.call-us-now .call-link {
    font-size: 22px;
    text-decoration: none;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 50%;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
}

.call-us-now .call-link:hover {
    color: var(--secondary-color);
}

.toggle-call-list {
    cursor: pointer;
}

.toggle-call-list .fa {
    transition: all 0.3s ease-in-out;
}

@media(max-width: 992px) {
    .go-top {
        bottom: 90px;
    }

    .call-us-now {
        bottom: 20px;
    }
}

/* Loader */
.loader-container {
    background-color: rgba(var(--primary-color), 0.9);
    position: fixed;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 10000;
    text-align: center;
    overflow: hidden;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 64px;
    width: 64px;
    transform: translateX(-50%) translateY(-50%);
    animation: rotate 2s linear infinite;
}

.loader div {
    transform-origin: 32px 32px;
    animation: load 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader div::after {
    content: '';
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

.loader div:nth-child(1) {
    animation-delay: -0.035s;
}

.loader div:nth-child(2) {
    animation-delay: -0.070s;
}

.loader div:nth-child(3) {
    animation-delay: -0.105s;
}

.loader div:nth-child(4) {
    animation-delay: -0.140s;
}

.loader div:nth-child(5) {
    animation-delay: -0.175s;
}

.loader div:nth-child(6) {
    animation-delay: -0.2s;
}

.loader div:nth-child(7) {
    animation-delay: -0.235s;
}

.loader div:nth-child(8) {
    animation-delay: -0.270s;
}

.loader div:nth-child(1)::after {
    top: 50px;
    left: 50px;
}

.loader div:nth-child(2)::after {
    top: 54px;
    left: 45px;
}

.loader div:nth-child(3)::after {
    top: 57px;
    left: 39px;
}

.loader div:nth-child(4)::after {
    top: 58px;
    left: 32px;
}

.loader div:nth-child(5)::after {
    top: 57px;
    left: 25px;
}

.loader div:nth-child(6)::after {
    top: 54px;
    left: 19px;
}

.loader div:nth-child(7)::after {
    top: 50px;
    left: 14px;
}

.loader div:nth-child(8)::after {
    top: 45px;
    left: 10px;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes load {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile App Bar Styles */
.app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.app-bar ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.app-bar li {
    list-style: none;
    text-align: center;
    flex: 1;
}

.app-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    padding: 8px 0;
    width: 100%;
    height: 100%;
}

.app-bar a i {
    font-size: 20px;
    margin-bottom: 3px;
    display: block;
}

.app-bar a.active {
    color: var(--primary-color);
}

/* Adjust body padding to account for app bar on mobile */
@media (max-width: 767px) {
    body {
        padding-bottom: 70px;
    }

    /* Move the go-to-top button higher on mobile */
    .go-top {
        bottom: 80px;
    }

    .call-us-now {
        bottom: 80px;
    }
}

/* Modern Card Styles */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--primary-color);
    color: #fff;
    border-bottom: none;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
}

.card-body {
    background-color: #fff;
    padding: 25px;
}

.input-group-text {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 20px 0 0 20px;
}

.form-control {
    border-radius: 0 20px 20px 0;
    border: 1px solid var(--primary-color);
    padding: 12px 20px;
    font-size: 16px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.alert-success {
    border-radius: 20px;
    padding: 15px 20px;
}

.alert-danger {
    border-radius: 20px;
    padding: 15px 20px;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link {
    color: var(--primary-color);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}


/* Add these styles to your modern-style.css file */

/* Improved card styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.card-header h3,
.card-header h4,
.card-header h5 {
    margin: 0;
    color: var(--primary-color);
}

.card-body {
    padding: 20px;
}

/* Improved alert styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
    position: relative;
}

.alert-info {
    background-color: rgba(52, 117, 84, 0.1);
    color: var(--primary-color);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* Breadcrumb enhancements */
.breadcrumb {
    background-color: transparent;
    border-radius: 0;
    padding: 10px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #999;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Button improvements */
.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2a5f44;
    border-color: #2a5f44;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Input group improvements */
.input-group {
    margin-bottom: 1rem;
}

.input-group-text {
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    color: #555;
}

/* Table improvements */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table th {
    background-color: #f7f7f7;
    color: var(--primary-color);
    font-weight: 600;
    border-top: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Image thumbnail styles */
.img-thumbnail {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 4px;
    background-color: #fff;
}

/* Modal dialog improvements */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

/* SweetAlert customization */
.swal2-popup {
    border-radius: 15px !important;
    padding: 2em !important;
}

/* Animation classes */
.animate-fadeIn {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }

    .card-header {
        padding: 12px 15px;
    }

    .card-body {
        padding: 15px;
    }

    .btn {
        padding: 8px 20px;
    }
}
