
/* =========================================================
   CSS ROADMAP / INDEX
   =========================================================
   1.  Font Imports
   2.  Global / Base Styles
   3.  Hero Section
   4.  Top Navigation (Desktop)
   5.  Button Styles
   6.  Hero Content
   7.  Footer
   8.  Navbar (Mobile / Bootstrap)
   9.  Services Section
   10. Utility / Bootstrap Overrides
   11. Responsive Styles
   12. Sub Header Styles
   13. Simple Dashboard Footer
   14. Contact Page Styles
   15. Blog Section
   16. Blog Details Page
   17. Blog Sidebar
   18. Tablet / Laptop / Large Screen Media Queries
   19. Advanced Sub Header Navigation
   20. Content & Content Sidebar Layout
   21. Slider Dadhboard
   22 . Public Products
   23. header notifiaction and messages noti
   24 . chat 
   ========================================================= */



/* =========================================================
   1. FONT IMPORTS
   ========================================================= */

/* Import Css FontFamily */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;700;800;900&display=swap');


/* =========================================================
   2. GLOBAL / BASE STYLES
   ========================================================= */

:root {
    --main-color: #2196f3;
    --border-color:#6B7280;
    --white-color:#fff;
    --red-color: #EA4335;  
}




body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
  background-color: #fff;
  direction: rtl;
}

.page-wrapper {
  margin: 0 auto;
  width: 100%;
}
.single-page-wrapper {
  margin: 0 auto;
  flex: 1 0 auto; 
  width: 100%;
  background-color: #F1F2F2;
  padding:35px 35px;
  justify-items: center;
}

body.layout-root {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

.footer, 
.simple-footer {
    flex-shrink: 0; 
}

.wihte-bg {
    background-color: #fff; 
}

 .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-LEFT-radius: 0 !important;
    border-bottom-LEFT-radius: 0 !important;
}

.page-item:last-child .page-link
 {
    border-top-left-radius: .25rem !important;
    border-bottom-left-radius: .25rem !important;
}



/* =========================================================
   3. HERO SECTION
   ========================================================= */

.hero-section {
  background: url(https://almurtakb.store/assets/templates/basic/images/frontend_images/bghero.png) no-repeat;
  background-size: 65% auto;
  background-position: top left;
  min-height: 50vh;
  position: relative;
  color: white;
}


/* =========================================================
   4. TOP NAVIGATION (DESKTOP)
   ========================================================= */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0px;
  position: relative;
  z-index: 2;
}

#contact-img {
  width: 120px;
  max-width: 100%;
}

.logo {
  height: 80px;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}


/* =========================================================
   5. BUTTON STYLES
   ========================================================= */

.btn-custom {
  padding: 8px 30px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}

.btn-white {
  background: white;
  color: #2094F3;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;

}

.btn-orange {
  background: #FF7F29;
  color: white;
  border-radius: 0px !important;
  padding: 15px 50px;
}

.btn-hero-black {
  background: #000;
  color: #fff;
  padding: 15px 30px;
}

.btn-hero-white {
  background: white;
  color: #2094F3;
  padding: 15px 30px;
}

.btn-white:hover  {
  transform: translateX(-5px);
  }

.btn-orange:hover { 
  color: white;
    transform: translateX(-5px);

}  



/* =========================================================
   6. HERO CONTENT
   ========================================================= */

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 650px;
  padding: 0 90px;
  position: relative;
  z-index: 2;
  --bs-gutter-x: 0 !important;
}

.hero-text {
  height: 100%;
  padding-bottom: 20%;
}

.hero-text h1 {
  font-size: 36px;
  margin: 15px 0 15px 0;
}

.hero-text p {
  font-size: 16px;
  margin: 0 0 15px 0;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  max-width: 100%;
}


/* =========================================================
   7. FOOTER
   ========================================================= */

/* Footer Wrapper */
.footer {
  color: white;
  margin-top: 80px;
  position: relative;
}

/* Flipped Background Effect */
.flipped-bg {
  position: absolute;
  inset: 0;
  background: url(https://almurtakb.store/assets/templates/basic/images/frontend_images/bghero.png) no-repeat;
  background-size: 80% auto;
  background-position: top left;
  transform: scaleX(-1);
  z-index: 0;
}

/* Footer Content */
.footer .content-area {
  z-index: 1;
  position: relative;
  align-self: center;
}

.footer .image-area img {
  width: 38%;
}

.footer-mister {
  padding: 25px;
  margin-top: 30px;
}


/* =========================================================
   8. NAVBAR (MOBILE / BOOTSTRAP)
   ========================================================= */

.custom-navbar {
  padding: 20px 0px;
  background: transparent;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  border: solid #fff 2px;
  padding: 20px;
  border-radius: 5px;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: bold;
  padding: 10px;
  font-size: 16px;
}

.nav-link {
  color: #6B7280 !important;
}

ul.navbar-nav.me-auto.mb-2.mb-lg-0 {
  align-items: anchor-center;
}


/* =========================================================
   9. SERVICES SECTION
   ========================================================= */

.services-section {
  background: url(https://almurtakb.store/assets/templates/basic/images/frontend_images/servisecbg.png) no-repeat;
  background-size: 65% auto;
  background-position: top right;
  padding: 10px 0;
}

.section-title {
  background: #e4e4e4;
  color: #2094F3;
  padding: 10px 30px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
}

.service-card {
  background-color: #2196f3;
  border-radius: 10px;
  padding: 40px 20px;
  transition: all 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.services-section a {
  color: #ffffff;
}

section#card {
  background-color: #2094F3;
  margin: 0px;
}

section#exchange {
  margin-bottom: -41px;
}
.section-description {
    color: #000;
    justify-self: center;
  }

/* =========================
   Footer Social Icons
   ========================= */

.footer-socials {
  gap: 10px;
}

.footer-social-link {
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 30px;
  transition: all 0.3s ease;
}

.footer-social-link i {
  line-height: 1;
}

.footer-social-link:hover {
  color: #000000;
  transform: translateY(-4px);
}


/* =========================================================
   10. UTILITY / BOOTSTRAP OVERRIDES
   ========================================================= */

.p-120{
  padding: 120px;
}
.m-50 {
  padding: 50px;
}

.mr-10 {
  margin-right: 10px !important;
}


.img-bg {
  width: 80%;
}

.w-30 {
  width: 30%;
}

  .footer-links {
    gap: 12px;
    list-style: none;
    display: flex;
  }


/* =========================================================
   11. RESPONSIVE STYLES
   ========================================================= */

/* Medium devices (tablets & phones) */
@media (max-width: 780px) {

  .hero-container {
    height: 400px !important;
    padding: 0;
}

  .top-nav {
    display: none;
  }

  .custom-navbar {
    display: flex;
  }

  .hero-section {
    background: url(https://almurtakb.store/assets/templates/basic/images/frontend_images/phonebg.png) no-repeat;
    background-size: 90% auto;
    background-position: top left;
    min-height: 60vh;
    position: relative;
    color: white;
  }



  .hero-image img {
    width: 90% !important;
    max-width: 125% !important;
  }


  .m-50 {
    padding: 20px;
  }

  .img-bg {
    width: 100%;
  }

  p.section-description.text-dark.mb-1 {
    padding: 15px 15px;
  }


  .flipped-bg {
    position: absolute;
    inset: 0;
    background: url(https://almurtakb.store/assets/templates/basic/images/frontend_images/bghero.png) no-repeat;
    background-size: 130% auto;
    background-position: top left;
    transform: scaleX(-1);
    z-index: 0;
  }

  .footer .image-area img {
    width: 50%;
  }

  .footer-mister {
    padding: 0px;
    margin-top: 0px;
  }

   .footer-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    display: flex;
  }

  .footer-links li {
    text-align: center;
  }

   .footer-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    display: flex;
  }

}

/* ///////////////////////////
12 . Sub Header  Css /////////////////////
/////////////////////////////*/


  .sub-header-section {
    background-size: 90% auto;
    background-position: top left;
    min-height: 60vh;
    position: relative;
    color: white;
  }

  .btn-white-sub {
    background: #2296f3;
    color: #ffffff;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    border: 0;
}
  .btn-white-sub:hover  {
  color: #fff;  
  transform: translateX(-5px);
  }


/* Container */
.dash-nav-row {
    display: flex;
    gap: 12px;
}

/* Link */
.dash-nav-link {
    text-decoration: none;
}

/* Rectangle (ICON TOP, TEXT BOTTOM) */
.dash-nav-rectangle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 14px;
    min-width: 60px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Text */
.dash-nav-text {
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* Icon */
.dash-icon-link {
    width: 38px;
    height: 38px;
    transition: filter 0.3s ease;
}

/* Active state */
.dash-nav-link.active .dash-nav-rectangle {
    background-color: var(--main-color);
}

.dash-nav-link.active .dash-nav-text {
    color: #fff;
}

.dash-nav-link.active .dash-icon-link {
    filter: brightness(0) invert(1);
}

/* Hover (optional) */
.dash-nav-link:hover .dash-nav-rectangle {
    background-color: rgba(33, 150, 243, 0.1);
}


/* ==============================
 13 .  SIMPLE DASHBOARD FOOTER
   ============================== */

.simple-footer {
    background-color: #2196f3;
    color: #ffffff;
    padding: 18px 0;
    font-size: 14px;
}

.footer-row {
    text-align: center;
}

/* CENTER */
.footer-center p {
    font-weight: 500;
}

/* RIGHT (LINKS) */
.footer-right {
    text-align: right;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* LEFT (ICONS) */
.footer-left {
    text-align: left;
}

.footer-icons {
    display: flex;
    gap: 14px;
}

.footer-icons a {
    color: #ffffff;
    font-size: 18px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}




/* ===========================
 14 .  Contact Page – FORCE APPLY
   =========================== */

.contact-form-wrapper {
    width: 100%;
}

.contact-form-wrapper .card {
    border-radius: 15px;
    background-color: #ffffff;
}

.contact-form-wrapper .form-label {
    font-weight: 600;
    color: #374151;
}

.contact-form-wrapper .form-control {
    border-radius: 10px;
    padding: 11px 14px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.contact-form-wrapper .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.contact-form-wrapper textarea.form-control {
    resize: vertical;
}

.contact-form-wrapper .btn--base {
    background-color: #2094F3;
    border-radius: 10px;
    font-weight: 600;
}

/* =========================================================
   BLOG SECTION – PROFESSIONAL BOXES
   ========================================================= */

.blog-section {
    margin: 50px 0px;
}

.post-item {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.post-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* =========================
 BLOG IMAGE
   ========================= */

.post-item__thumb {
    position: relative;
    overflow: hidden;
}

.post-item__thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-item:hover .post-item__thumb img {
    transform: scale(1.08);
}

/* Optional overlay */
.post-item__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-item:hover .post-item__thumb::after {
    opacity: 1;
}

/* =========================
   BLOG CONTENT
   ========================= */

.post-item__content {
    padding: 22px 20px 24px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-item__content .date {
    font-size: 13px;
    color: var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-item__content .date i {
    color: #2094F3;
    font-size: 15px;
}

/* =========================
14.   TITLE
   ========================= */

.post-item__content-title {
    margin: 10px 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.post-item__content-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.25s ease;
}

.post-item__content-title a:hover {
    color: #2094F3;
}

/* =========================
 15.  DESCRIPTION
   ========================= */

.post-item__content p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: auto;
}

/* =========================
 16 .  READ MORE LINK
   ========================= */

.post-item__content .text--base {
    margin-top: 18px;
    font-weight: 600;
    font-size: 14px;
    color: #2094F3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.post-item__content .text--base i {
    font-size: 16px;
}

.post-item__content .text--base:hover {
    color: #1565c0;
    gap: 10px;
}

/* =========================
    17. RESPONSIVE ADJUSTMENTS
   ========================= */

@media (max-width: 768px) {
    .post-item__thumb img {
        height: 200px;
    }

    .post-item__content-title {
        font-size: 17px;
    }
    .p-120 {
    padding: 10px;
}
}

/* =========================================================
   BLOG DETAILS PAGE (SAFE – NO LAYOUT CHANGES)
   ========================================================= */

.blog-details .post-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* =========================
   FEATURED IMAGE
   ========================= */

.blog-details .post-item__thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

/* =========================
   META INFO (DATE)
   ========================= */

.blog-details ul li {
    font-size: 14px;
    color: var(--border-colo);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-details ul li i {
    color: #2094F3;
}

/* =========================
   BLOG TITLE
   ========================= */

.blog-details .post-item__content-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.6;
    color: #111827;
    margin-bottom: 15px;
    word-break: break-word;
}

/* =========================
   BLOG CONTENT
   ========================= */

.blog-details .post-item__content div {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
}

.blog-details .post-item__content div p {
    margin-bottom: 16px;
}

/* =========================
   SOCIAL SHARE
   ========================= */

.social-list {
    gap: 10px;
}

.social-list__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2094F3;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-list__icon:hover {
    background-color: #2094F3;
    color: #ffffff;
    transform: translateY(-3px);
}

/* =========================
  Blog SIDEBAR
   ========================= */

.blog-sidebar {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-sidebar__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

/* =========================
   LATEST POSTS LIST
   ========================= */

.latest-posts li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.latest-posts li:last-child {
    margin-bottom: 0;
}

.latest-posts .post-thumb img {
    width: 80px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
}

/* =========================
   SIDEBAR POST INFO
   ========================= */

.latest-posts .title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 4px;
}

.latest-posts .title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.25s ease;
}

.latest-posts .title a:hover {
    color: #2094F3;
}

.latest-posts .posts-date {
    font-size: 12px;
    color: var(--border-colo);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================
   FACEBOOK COMMENTS SAFETY
   ========================= */

.fb-comments {
    margin-top: 30px;
    overflow: hidden;
}

/* =========================
   RESPONSIVE – TEXT ONLY
   ========================= */

@media (max-width: 768px) {
    .blog-details .post-item__content-title {
        font-size: 20px;
    }
    span.navbar-toggler-icon {
    background-color: #25aaff;
    }
}




/* /////////////////////////////////////
 Tablets / Small Laptops //////////////
 ///////////////////////////////////*/


@media (min-width: 781px) and (max-width: 950px) {

  .custom-navbar {
    display: none;
  }

  .top-nav {
    display: flex;
  }

  .footer .image-area img {
    width: 60%;
}
}



/* Medium Laptops */
@media (min-width: 901px) and (max-width: 1000px) {

  .custom-navbar {
    display: none;
  }

  .top-nav {
    display: flex;
  }

  .hero-container {
    height: 400px;
  }
}


@media (max-width: 991px) {

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 90px 20px 20px;
    z-index: 1055;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 18px;
    text-align: right;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: bold;
    color: #2094F3;
  }

      .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-icons {
        justify-content: center;
    }
  
}


/* Large Screens */
@media (min-width: 1000px) {

  .custom-navbar {
    display: none;
  }

  .top-nav {
    display: flex;
  }

  .hero-container {
    height: 650px;
  }

  .hero-image img {
    max-width: 600px
  }
  
}

/*Sub Header CSS*/
/* Base Styles */
.hero-sub-header-section {
    direction: rtl;
    font-family: 'Cairo', ;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Desktop Navbar */
.desktop-navbar {
    padding: 0 2rem;
}

.logo-wrapper {
    display: inline-block;
    padding: 5px;
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.main-nav .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item .nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.icon-link {
     width: 40px;
    height: 50px;
    object-fit: contain;
}

.nav-rectangle {
    display: grid;
    justify-items: center;
}

.nav-text {
    color: var(--border-colo);
}

.nav-link {
    text-decoration: none;
}

.nav-rectangle {
    display: grid;
    justify-items: center;
    transition: transform 0.25s ease;
}

.nav-link:hover .nav-rectangle,
.nav-link:focus-visible .nav-rectangle {
    transform: translateY(-6px);
}



/* Search Box */
.search-box {
    position: relative;
    width: 350px;
}

.search-input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border: solid #F5F7FA;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    background: white;
}

.search-btn {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.search-icon {
    width: 25px;
    height: 25px;
    opacity: 0.6;
}

/* Nav Row */
.nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 30px;
}

/* .nav-row::before,
.nav-row::after {
    content: "";
    display: block;
    width: 3px;             
    height: 40px;           
    background-color: var(--border-colo);
    flex: 0 0 auto;
    opacity: 0.6;          
}

.nav-row::before {
    margin-inline-end: 20px;
}

.nav-row::after {
    margin-inline-start: 20px;
} */


.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F5F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

/* User Dropdown */
.user-dropdown .dropdown-toggle::after {
    display: none;
}

.user-menu-btn {
    border: none;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
}



.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--main-color);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.user-dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    min-width: 200px;
}

.dropdown-item {
    padding: 8px 15px;
    border-radius: 5px;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-icon {
    font-size: 16px;
    margin-inline-end: 10px;
    opacity: 0.75;
}


/* Auth Buttons */
.auth-buttons .btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-buttons .btn-outline-primary {
    border-color: white;
    color: white;
}

.auth-buttons .btn-outline-primary:hover {
    background: white;
    color: var(--main-color);
}

.auth-buttons .btn-primary {
    background: white;
    color: var(--main-color);
    border: none;
}

.auth-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Mobile Navbar */
.mobile-navbar {
    background: var(--white-colo);
    padding: 15px 15px;
}

.mobile-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.mobile-icon-btn {
    background: none;
    border: none;
    padding: 5px;
    position: relative;
}

.mobile-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.mobile-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    text-align: center;
    line-height: 12px;
}

.mobile-menu-toggle {
    background: var(--main-color);
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-search-box {
    margin-top: 10px;
    padding: 0 10px;
}

.mobile-search-box .input-group {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    overflow: hidden;
}

.mobile-search-box .form-control {
    border: none;
    background: transparent;
    padding: 10px 15px;
}

.mobile-search-box .btn {
    background: var(--main-color);
    border: none;
    padding: 10px 20px;
}

/* Mobile Menu Offcanvas */
.offcanvas {
    direction: rtl;
}

.offcanvas-header {
    background: var(--main-color);
    color: white;
}

.offcanvas-body {
    padding: 20px;
    margin-bottom: 100px;
}

.mobile-user-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.mobile-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--main-color);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #f0f5ff;
    color: var(--main-color);
}

.mobile-nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.mobile-social-icons {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-icon-link {
    display: inline-block;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background: #e9ecef;
    transform: translateY(-3px);
}

.btn-close {
    background-color: var(--white-color) !important;
}

.offcanvas-start {
    top: 0;
    right: 0 !important;
}

/* Responsive */
@media (max-width: 1199px) {
    .desktop-navbar {
        padding: 0 1rem;
    }
    
    .search-box {
        width: 200px;
    }
}

@media (max-width: 991px) {
    .desktop-navbar {
        display: none;
    }
    
    .mobile-navbar {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .mobile-navbar {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mobile-logo {
        height: 75px;
    }
    
    .mobile-icon {
        width: 20px;
        height: 20px;
    }
}

/*///////////////////////////////////
Content & Content SidBar
////////////////////////////////*/

.content-page {
   max-width: 1550px;
   width: 100%;
   place-content: center;

}

    /* Root Sidebar */
.app-sidebar {
    width: 320px;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Cairo', sans-serif;
}

/* Profile Card */
.profile-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    position: relative;
}

.profile-settings {
    position: absolute;
    top: 15px;
    left: 15px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1e88e5;
}

.profile-avatar img.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps image proportional */
    display: block;
}

.profile-avatar-mobile {
    width: 65px;
    height: 65px;
    margin: 0 ;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1e88e5;
}

.profile-avatar-mobile img.avatar-mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps image proportional */
    display: block;
}


.profile-info {
    text-align: center;
}

.profile-name {
    margin: 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.profile-role {
    font-size: 13px;
    color: #1e88e5;
    margin-bottom: 8px;
}

.profile-rating {
    font-size: 13px;
    margin-bottom: 10px;
}

.rating-value {
    font-weight: bold;
}

.star {
    width: 16px;
    height: 16px;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.5;
}

.star.active {
    filter: none;
    opacity: 1;
}

/* Navigation Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nav-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.25s ease;
}

.nav-item:hover {
    background: #1e88e5;
    color: #fff;
    transform: translateY(-2px);
}

.nav-item.active {
    background: #1e88e5;
    color: #fff;
}

.nav-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 6px;
    border-radius: 6px;
    background: transparent; /* Remove gray background */
    transition: all 0.25s ease;
}

.nav-item span {
    font-size: 13px;
    display: block;
}

/* Bottom Navigation */
.nav-bottom {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nav-bottom-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.25s ease;
}

.nav-bottom-item:hover {
    background: #1e88e5;
    color: #fff;
    transform: translateY(-2px);
}


/* Hover effect */
.nav-item:hover .nav-icon img,
.nav-bottom-item:hover .nav-icon img {
    filter: brightness(0) invert(1); /* Forces the icon to appear white */
    transform: scale(1.1);           /* optional: slightly enlarge icon */
    transition: all 0.25s ease;
}

/* Active effect */
.nav-item.active .nav-icon img,
.nav-bottom-item.active .nav-icon img {
    filter: brightness(0) invert(1); /* Forces icon white even when active */
}

.logout-bottom {
    background-color: var(--red-color);
    margin: 15px 0;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
}

.logout-bottom a {
    color: #ffffff;
    text-decoration: none;
    display: block; /* makes the entire area clickable */
}


@media (max-width: 993px) {
.nav-item, .nav-bottom-item{
    border: 1px solid #f6efef;
}

}

.side-content {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 15px;

}

/*//////////////////////////////
Slider dashboard //////////////////
///////////////////////////////*/

.side-content {
    background-color: #F1F2F2;
}
.dashboard-slider {
    position: relative;
    margin: auto;
    overflow: hidden;
}

.slider-images img {
    display: none;
    width: 100%;
    height: auto;
}

.slider-images img.active {
    display: block;
}

.slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    user-select: none;
}

.slider-arrow.left {
    left: 10px;
}

.slider-arrow.right {
    right: 10px;
}

.slider-dots {
    text-align: center;
    padding: 10px 0;
}

.slider-dots .dot {
    height: 10px;
    width: 50px;
    margin: 0 5px;
    display: inline-block;
    background-color: #ccc;
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: var(--main-color);
}

@media (max-width: 780px) {
.single-page-wrapper
 {
    padding: 0px;
}
.slider-arrow {
    top: 38%;
}

.slider-dots .dot {
    width: 25px;
}

}
/*Setting Page*/
 /* Sidebar Navigation Styling */
    .settings-sidebar {
        background-color: white;
        display: flex;
        padding: 25px 25px 0;
    }

    .settings-sidebar .nav-item {
        color: var(--border-color);
        background-color: transparent;
        border: none;
        border-radius: 0;
        font-weight: 500;
        position: relative;
        text-decoration: none;
        user-select: none;
        transition: all 0.3s ease;
    }

    .settings-sidebar .nav-item:hover {
        color: var(--main-color);
        background-color: #f8f9fa;
        border-radius: 0;
    }

    .settings-sidebar .nav-item.active {
        color: var(--main-color);
        background-color: #f2f2f2;
        border-radius: 0;
    }

    .settings-sidebar .nav-item.active {
        color: var(--main-color);
        background-color: #f2f2f2;
        font-weight: 600;
    }

    .settings-sidebar .nav-item:last-child {
        border-bottom: none !important;
    }

    @media (max-width: 768px) {
    .settings-sidebar {
        flex-wrap: wrap;
        padding: 15px;
    }

    .settings-sidebar .nav-item {
        width: 50%; /* 2 per row */
        box-sizing: border-box;
    }

    .settings-sidebar .active-indicator-sidebar {
        display: none; /* optional: cleaner mobile UI */
    }
}

    /* Active Tab Indicator for Sidebar */
    .active-indicator-sidebar {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--main-color);
    }

    /* Form Styling */
    .form-control {
        border: 1px solid #ced4da;
        border-radius: 0.375rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .form-control:focus {
        border-color: var(--main-color);
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .form-control.bg-light {
        background-color: #f8f9fa !important;
        cursor: not-allowed;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    /* Custom Switch */
    .form-check-input:checked {
        background-color: #198754;
        border-color: #198754;
    }

    .form-check-input {
        transform: scale(1.2);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    }

    /* RTL Adjustments */
    .settings-sidebar .nav-item .me-3 {
        margin-left: 0.75rem !important;
        margin-right: 0 !important;
    }

    .form-check-input {
        margin-right: 0;
        margin-left: 0.5em;
    }

    /* Button Styling */
    .btn-primary {
        background-color: var(--main-color);
        border-color: var(--main-color);
        padding: 0.5rem 1.5rem;
        font-weight: 500;
    }

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

    .profile-header {
        margin-bottom: 100px;
    }

    /* Background */
    .bg-image-container {
        height: 220px;
        position: relative;
        overflow: hidden;
        border-radius: 12px;
    }

    .bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* enables pan/cover */
    }

    /* Background edit button */
    .bg-edit-btn {
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    /* Profile image wrapper (centered) */
    .profile-image-wrapper {
        position: absolute;
        left: 50%;
        bottom: -60px;
        transform: translateX(-50%);
    }

    /* Profile image */
    .profile-image-container {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid #fff;
        position: relative;
        background: #fff;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .profile-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Profile edit button */
    .profile-edit-btn {
        position: fixed;
        bottom: 6px;
        right: 6px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }


    .object-fit-cover {
        object-fit: cover;
    }

    /* Edit Buttons */
    .upload-trigger {
        background-color: white;
        border-color: #dee2e6;
        transition: all 0.3s ease;
    }

    .upload-trigger:hover {
        background-color: var(--main-color);
        border-color: var(--main-color);
        color: white;
        transform: scale(1.1);
    }

    /* Modal Styling */
    .modal-header {
        border-bottom: 1px solid #dee2e6;
    }

    .modal-footer {
        border-top: 1px solid #dee2e6;
    }

    /* RTL Specific Adjustments */
    .modal-header .btn-close {
        margin: -0.5rem auto -0.5rem -0.5rem;
    }

    .modal-footer {
        justify-content: start;
    }

    .modal-footer .btn:not(:last-child) {
        margin-right: 0;
        margin-left: 0.5rem;
    }

    /* Work Tab Specific Styles */
    .work-tab-container {
        padding: 20px 0;
    }

    /* Radio Button Styling */
    .form-check {
        margin-bottom: 8px;
    }

    .form-check-input {
        border-color: #6c757d;
    }

    .form-check-input:checked {
        background-color: var(--main-color);
        border-color: var(--main-color);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(var(--main-color), 0.25);
    }

    .form-check-label {
        cursor: pointer;
        user-select: none;
        margin-right: 5px;
    }

    /* File Upload Area */
    .file-upload-area {
        background-color: #f8f9fa;
        border: 2px dashed #dee2e6 !important;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .file-upload-area:hover {
        border-color: var(--main-color) !important;
        background-color: rgba(var(--main-color), 0.05);
    }

    /* Social Media Input Groups */
    .input-group-text {
        min-width: 45px;
        justify-content: center;
        border-right: 0;
        border-radius: 0;
    }


    /* RTL Adjustments for Work Tab */
    .form-check-input {
        margin-left: 0.5em;
        margin-right: 0;
    }

    .form-check-label {
        margin-right: 0;
        margin-left: 5px;
    }

    .input-group-text {
        border-left: 0;
        border-right: 1px solid #ced4da;
    }


    .fa-upload {
        margin-left: 0.5rem;
        margin-right: 0;
    }

    /* About Textarea */
    textarea.form-control {
        resize: vertical;
        min-height: 100px;
    }

    /* Skills Tags Styling */
    .skills-tags-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .skill-tag {
        background-color: #e9ecef;
        border: 1px solid #dee2e6;
        border-radius: 20px;
        padding: 5px 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

    .skill-tag:hover {
        background-color: #dee2e6;
        transform: translateY(-1px);
    }

    .skill-remove-btn {
        background: none;
        border: none;
        color: #6c757d;
        font-size: 0.8rem;
        cursor: pointer;
        padding: 0;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .skill-remove-btn:hover {
        background-color: #dc3545;
        color: white;
    }

    /* Input group for skills */
    .input-group .btn-outline-primary {
        border-color: var(--main-color);
        color: var(--main-color);
    }

    .input-group .btn-outline-primary:hover {
        background-color: var(--main-color);
        color: white;
    }

    /* Character counter for about */
    .char-count {
        font-size: 0.8rem;
        color: #6c757d;
        text-align: left;
    }

      /* Sidebar Navigation Styling */
    .settings-sidebar {
        background-color: white;
        display: flex;
        padding: 25px 25px 0;
    }

    .settings-sidebar .nav-item {
        color: var(--border-color);
        background-color: transparent;
        border: none;
        border-radius: 0;
        font-weight: 500;
        position: relative;
        text-decoration: none;
        user-select: none;
        transition: all 0.3s ease;
    }

    .settings-sidebar .nav-item:hover {
        color: var(--main-color);
        background-color: #f8f9fa;
        border-radius: 0;
    }

    .settings-sidebar .nav-item.active {
        color: var(--main-color);
        background-color: #f2f2f2;
        border-radius: 0;
    }

    .settings-sidebar .nav-item.active {
        color: var(--main-color);
        background-color: #f2f2f2;
        font-weight: 600;
    }

    .settings-sidebar .nav-item:last-child {
        border-bottom: none !important;
    }

    /* Active Tab Indicator for Sidebar */
    .active-indicator-sidebar {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--main-color);
    }

    /* Form Styling */
    .form-control {
        border: 1px solid #ced4da;
        border-radius: 0.375rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .form-control:focus {
        border-color: var(--main-color);
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .form-control.bg-light {
        background-color: #f8f9fa !important;
        cursor: not-allowed;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    /* Custom Switch */
    .form-check-input:checked {
        background-color: #198754;
        border-color: #198754;
    }

    .form-check-input {
        transform: scale(1.2);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    }

    /* RTL Adjustments */
    .settings-sidebar .nav-item .me-3 {
        margin-left: 0.75rem !important;
        margin-right: 0 !important;
    }

    .form-check-input {
        margin-right: 0;
        margin-left: 0.5em;
    }

    /* Button Styling */
    .btn-primary {
        background-color: var(--main-color);
        border-color: var(--main-color);
        padding: 0.5rem 1.5rem;
        font-weight: 500;
    }

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

    .profile-header {
        margin-bottom: 100px;
    }

    /* Background */
    .bg-image-container {
        height: 220px;
        position: relative;
        overflow: hidden;
        border-radius: 12px;
    }

    .bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* enables pan/cover */
    }

    /* Background edit button */
    .bg-edit-btn {
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    /* Profile image wrapper (centered) */
    .profile-image-wrapper {
        position: absolute;
        left: 50%;
        bottom: -60px;
        transform: translateX(-50%);
    }

    /* Profile image */
    .profile-image-container {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid #fff;
        position: relative;
        background: #fff;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .profile-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Profile edit button */
    .profile-edit-btn {
        position: fixed;
        bottom: 6px;
        right: 6px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
    }


    .object-fit-cover {
        object-fit: cover;
    }

    /* Edit Buttons */
    .upload-trigger {
        background-color: white;
        border-color: #dee2e6;
        transition: all 0.3s ease;
    }

    .upload-trigger:hover {
        background-color: var(--main-color);
        border-color: var(--main-color);
        color: white;
        transform: scale(1.1);
    }

    /* Modal Styling */
    .modal-header {
        border-bottom: 1px solid #dee2e6;
    }

    .modal-footer {
        border-top: 1px solid #dee2e6;
    }

    /* RTL Specific Adjustments */
    .modal-header .btn-close {
        margin: -0.5rem auto -0.5rem -0.5rem;
    }

    .modal-footer {
        justify-content: start;
    }

    .modal-footer .btn:not(:last-child) {
        margin-right: 0;
        margin-left: 0.5rem;
    }

    /* Work Tab Specific Styles */
    .work-tab-container {
        padding: 20px 0;
    }

    /* Radio Button Styling */
    .form-check {
        margin-bottom: 8px;
    }

    .form-check-input {
        border-color: #6c757d;
    }

    .form-check-input:checked {
        background-color: var(--main-color);
        border-color: var(--main-color);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(var(--main-color), 0.25);
    }

    .form-check-label {
        cursor: pointer;
        user-select: none;
        margin-right: 5px;
    }

    /* File Upload Area */
    .file-upload-area {
        background-color: #f8f9fa;
        border: 2px dashed #dee2e6 !important;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .file-upload-area:hover {
        border-color: var(--main-color) !important;
        background-color: rgba(var(--main-color), 0.05);
    }

    /* Social Media Input Groups */
    .input-group-text {
        min-width: 45px;
        justify-content: center;
        border-right: 0;
        border-radius: 0;
    }


    /* RTL Adjustments for Work Tab */
    .form-check-input {
        margin-left: 0.5em;
        margin-right: 0;
    }

    .form-check-label {
        margin-right: 0;
        margin-left: 5px;
    }

    .input-group-text {
        border-left: 0;
        border-right: 1px solid #ced4da;
    }


    .fa-upload {
        margin-left: 0.5rem;
        margin-right: 0;
    }

    /* About Textarea */
    textarea.form-control {
        resize: vertical;
        min-height: 100px;
    }

    /* Skills Tags Styling */
    .skills-tags-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .skill-tag {
        background-color: #e9ecef;
        border: 1px solid #dee2e6;
        border-radius: 20px;
        padding: 5px 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

    .skill-tag:hover {
        background-color: #dee2e6;
        transform: translateY(-1px);
    }

    .skill-remove-btn {
        background: none;
        border: none;
        color: #6c757d;
        font-size: 0.8rem;
        cursor: pointer;
        padding: 0;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .skill-remove-btn:hover {
        background-color: #dc3545;
        color: white;
    }

    /* Input group for skills */
    .input-group .btn-outline-primary {
        border-color: var(--main-color);
        color: var(--main-color);
    }

    .input-group .btn-outline-primary:hover {
        background-color: var(--main-color);
        color: white;
    }

    /* Character counter for about */
    .char-count {
        font-size: 0.8rem;
        color: #6c757d;
        text-align: left;
    }
    .alert-dismissible .btn-close  {
    left: 0 !important;
    right: auto !important;
   }

   /*billing Page*/

   .box-text{
   color: var(--main-color) !important;
  } 



    /* ================================
 23  Notification 
================================ */



/* ================================
   Dropdown Container
================================ */

.message-dropdown-menu {
    width: 360px;
    max-height: 420px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}


/* ================================
   Header
================================ */

.message-dropdown-menu .dropdown-header {
    background: #f8f9fa;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}


/* ================================
   Message List
================================ */

.message-list {
    max-height: 300px;
    overflow-y: auto;
}

.message-item {
    padding: 12px 15px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
}

.message-item:last-child {
    border-bottom: none;
}

.message-item:hover {
    background-color: #f5f7fb;
}


/* ================================
   Unread Style
================================ */

.message-item.unread {
    background-color: #eef4ff;
    font-weight: 600;
}

.message-item.unread strong {
    color: #000;
}


/* ================================
   Avatar
================================ */

.message-avatar img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}


/* ================================
   Text Content
================================ */

.message-content strong {
    font-size: 14px;
}

.message-content small {
    font-size: 11px;
}

.message-preview {
    font-size: 13px;
    color: #6c757d;
    margin-top: 3px;
    line-height: 1.4;
}


/* ================================
   Footer
================================ */

.dropdown-footer {
    background: #fff;
}

.dropdown-footer a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-footer a:hover {
    text-decoration: underline;
}


/* ================================
   Scrollbar Styling (Optional)
================================ */

.message-list::-webkit-scrollbar {
    width: 6px;
}

.message-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.message-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/* /////////////////////////////////////
 . 24 Chat //////////////
 ///////////////////////////////////*/
 
 
 
 .chat-layout {
    display: flex;
    height: 94vh;
    background: #f8fafc;
    
}

/* ================= SIDEBAR ================= */

.chat-sidebar {
    width: 330px;
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-list {
    flex: 1;
    overflow-y: auto;
}

.sidebar-item {
    display: flex;
    padding: 16px 20px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.sidebar-item:hover {
    background: #f9fafb;
}

.sidebar-item.active {
    background: #eef2ff;
}

.sidebar-search {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-search input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
}

.avatar-box {
    position: relative;
    width: 50px;
    height: 50px;
    margin:5px;
}

.avatar-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.status-dot {
    position: absolute;
    bottom: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-dot.online { background: #10b981; }
.status-dot.offline { background: #9ca3af; }

.sidebar-content {
    flex: 1;
    margin-right: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-name {
    font-weight: 600;
    font-size: 14px;
}

.sidebar-time {
    font-size: 12px;
    color: #6b7280;
}

.sidebar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.sidebar-preview {
    font-size: 13px;
    color: #6b7280;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-preview.empty {
    color: #9ca3af;
}

.unread-badge {
    background: #6366f1;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

/* ================= MAIN ================= */

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.header-user {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.header-name {
    font-weight: 600;
}

.header-status {
    font-size: 12px;
    color: #6b7280;
}

.report-button {
    background: #fee2e2;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    color: #dc2626;
    cursor: pointer;
}

/* ================= MESSAGES ================= */

.chat-messages {
    flex: 1;
    padding: 35px;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
}


.message-line {
    display: flex;
    margin-bottom: 20px;
}

.message-line.mine {
    justify-content: flex-start;
}

.message-line.theirs {
    justify-content: flex-end;
}

.message-card {
    max-width: 65%;
    padding: 14px 18px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.message-line.theirs .message-card {
    background: #6366f1;
    color: white;
}

.message-text {
    font-size: 14px;
    line-height: 1.6;
}

.message-image {
    max-width: 260px;
    border-radius: 14px;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

.message-image:hover {
    transform: scale(1.03);
}

.file-link {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}

/* Time */

.message-time {
    font-size: 11px;
    margin-top: 8px;
    opacity: 0.6;
}

/* ================= INPUT ================= */

.chat-input {
    padding: 20px 25px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.chat-input textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    resize: none;
}

.input-row
 {
    display: flex;
    justify-content: end;
    margin-top: 10px;
    gap: 5px;
}

.upload-btn input {
    display: none;
}

.send-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
}

/* Preview */

.preview-box {
    margin-top: 10px;
    position: relative;
    width: 90px;
}

.preview-box img,
.preview-image {
    width: 90px;
    border-radius: 10px;
}

.preview-box button {
    position: absolute;
    top: -8px;
    left: -8px;
    border: none;
    background: #dc2626;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.preview-file {
    background: #f3f4f6;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}

/* ================= EMPTY STATE ================= */

.empty-chat-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
}

.empty-chat-box {
    text-align: center;
    max-width: 420px;
    padding: 50px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    animation: fadeIn 0.4s ease;
}

.empty-icon {
    font-size: 50px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.empty-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.empty-subtitle {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= OFFER CARD ================= */

.offer-card {
    margin-top: 12px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 15px;
    color:black;
}

.message-line.theirs .offer-card {
    background: white;
}

.offer-header {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.offer-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.offer-description {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.offer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
}

.offer-actions {
    display: flex;
    gap: 8px;
}

.offer-accept {
    background: #10b981;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
}

.offer-revision {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
}

.offer-reject {
    background: #ef4444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
}

.offer-status {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.status-accepted { color: #10b981; }
.status-rejected { color: #ef4444; }
.status-revision_requested { color: #f59e0b; }
.status-pending { color: #6366f1; }
.offer-button {
    background: #6366f1;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 8px;
}

/* ===== INLINE OFFER COMPOSER ===== */

.inline-offer-box {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 15px;
}

.inline-offer-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
}

.inline-offer-header button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.inline-offer-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inline-offer-body select,
.inline-offer-body input,
.inline-offer-body textarea {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
}

.send-offer-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

.chat-alert {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px 14px;
    border-radius: 8px;
    margin: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.chat-alert button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}


/* ================= MOBILE LAYOUT FIX ================= */

@media (max-width: 768px) {

    .chat-layout {
        flex-direction: column;
        height: 150vh;
        margin: 12px;
    }

    .chat-sidebar {
        width: 100%;
        height: 35vh;
        border-left: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .chat-main {
        width: 100%;
        height: 65vh;
    }

    .chat-messages {
        padding: 15px;
    }

    .message-card {
        max-width: 90%;
    }

}




 
 

