*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Roboto;
}

html, body{
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body{
    background-color: white;
}

:root{
    --primary: rgb(126, 17, 69);
    --secondary: rgb(52, 17, 126);
    --third: rgb(150, 74, 150);
    --fourth: white;
}

.tabs{
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}

.tab-btn{
    border:none;
    background-color: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    padding:10px 20px;
    background-color: var(--fourth);
    border-radius: 10px 10px 0 0;
    border:1px solid var(--primary);
}

.tab-btn:hover{
    background-color: var(--primary);
    color: white !important;
}

.tab-btn:hover{
    color: var(--secondary);
}

.main-outer{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.main-inner{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.btn{
    width: 100%;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}

.primary{
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}

.secondary{
    background-color: var(--secondary);
    color: white;
    font-weight: bold;
}

input, textarea{
    width: 100%;
    border: none;
    padding: 10px 20px;
    margin: 5px 0;
    border: 1px solid #f2d4e6;
}
select{
    width: 100%;
    border: none;
    padding: 10px 20px;
    margin: 5px 0;
    border: 1px solid #f2d4e6;
    cursor: pointer;
}
input:focus{
    outline: none;
}

textarea:focus{
    outline: none;
}

.login-page{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url('../asset/img/Car-Photography-Tesla.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-page .login-inner{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-page .login-inner .login-form{
    width: 300px;
    height: 450px;
    background-color: rgba(10, 10, 10, 0.9);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.login-page .login-inner .login-form .login-form-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-page .login-inner .login-form h2{
    font-size: 43px;
    font-weight: bold;
    color: white;
    font-family:Georgia, 'Times New Roman', Times, serif;
    opacity: .5;
}

.login-page .login-inner .login-form h3{
    font-size: 22px;
    font-weight: 300;
    color: white;
    margin: 10px 0;
}

.login-page .login-inner .login-form span{
    font-size: 14px;
    color: white;
    padding: 10px 0;
}


.login-page .login-inner .login-form span strong{
    text-decoration: none;
    color: white;
    margin-left: 5px;
    cursor: pointer;
    transition: .5s;
}


.login-page .login-inner .login-form span strong:hover{
    color: var(--primary);
}

.top-padding{
    padding-top: 100px;
}

.section{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.section-inner{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.section .section-inner h3{
    font-size: 20px;
    color: var(--secondary);
    margin: 10px 0;
}

.section-heading{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.section-heading .section-buttons img{
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin: 0 3px;
    cursor: pointer;
    transition: .5s;
}

.section-heading .section-buttons img:hover{
    transform: scale(1.05);
}

table{
    border-collapse: collapse;
    width: 100%;
}

table thead tr{
    width: 100%;
}

table tbody tr{
    width: 100%;
    border-bottom: 0.5px solid var(--primary);
}

table thead tr th{
    padding: 10px;
    background-color: var(--primary);
    color: white;
    text-align: left;
    font-size: 12px;
}
table tbody tr td{
    font-size: 12px;
    color: var(--primary);
    padding: 10px;
    
}

table tbody tr td img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
    /* border: 1px solid #feddff; */
}

table tbody tr td .icon{
    width: 25px;
    height: 25px;
    object-fit: contain;
    border-radius: 0;
    border: none;
    margin-right: 3px;
    cursor: pointer;
}

table tbody tr td .icons{
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.popup-menu{
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    display: none;
}

.show-popup{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 30px 10px;
}

.popup-menu .poup-menu-inner{
    min-width: 400px;
    /* max-height: 80vw;
    max-width: 80vh;*/
    width: auto;
    /* top: 8%; */
    background-color: white;
    border: .5px solid #f6d5eb;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: 2px 2px 8px #f5eef6;
    margin: 5vh 0;
}

.popup-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.popup-content h3{
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.popup-image{
    position: absolute;
    right: -75px;
    top: -75px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
    animation: drop-in .5s;
}

.popup-image-bigger{
    position: absolute;
    right: -75px;
    top: -100px;
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.column{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px;
}

.row{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2px;
}

.caption{
    font-size: 12px;
    color: #764477;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.tab-btn {
    background-color: transparent;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    color: var(--secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
    font-weight: bold;
}

.tab-contents{
    width: 100%;
}

.tab-content{
    width: 100%;
    display: none;
}

.tab-content-show{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*--- NAVBAR --*/

nav{
    width: 100%;
    height: 60px;
    background-color: var(--third);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 99999999;
    
}

nav .nav-inner{
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

nav .nav-inner .logo{
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

nav .nav-inner .logo a{
    text-decoration: none;
    color: var(--fourth);

}
nav .nav-inner .logo img{
    max-height: 45px;
}

nav .nav-inner .nav-menu{
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

nav .nav-inner .nav-menu ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    position: relative;
}

nav .nav-inner .nav-menu ul a{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

nav .nav-inner .nav-menu ul li{
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    color: var(--fourth);
    transition: .5s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

nav .nav-inner .nav-menu ul li img{
    width: 30px;
    height: 30px;
    object-fit: cover;
    margin-right: 8px;
    border-radius: 50%;
    overflow: hidden;
}
nav .nav-inner .nav-menu ul li:hover{
    color: var(--secondary);
}
nav .nav-inner .nav-menu ul li .dropdown{
    width: 140px;
    position: absolute;
    top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: white;
    border: 1px solid #f5f5f5;
    transform: translateY(-200px);
    z-index: -1 !important;
    opacity: 0;

}

nav .nav-inner .nav-menu ul li .dropdown-show{
animation: drop-in .5s;
transform: translateY(0);
opacity: 1;
}
nav .nav-inner .nav-menu ul li .dropdown-hide{
    animation: drop-out .5s;
    transform: translateY(-200px);
    opacity: 0;
    }

@keyframes drop-in {
    0%{
        transform: translateY(-200px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
    
}

@keyframes drop-out {
    0%{
        transform: translateY(0);
        opacity: 1;
    }
    100%{
        transform: translateY(-200px);
        opacity: 0;
    }
    
}

nav .nav-inner .nav-menu ul li .dropdown li{
    width: 100%;
    padding: 12px 20px;
    color: var(--primary);
}

nav .nav-inner .nav-menu ul li .dropdown a{
    width: 100%;
    text-decoration: none;
}

nav .nav-inner .nav-menu ul li .dropdown li:hover{
background-color: var(--primary);
color: white;
}

nav .nav-inner .nav-mobile{
    display: none;
}

/*--- NAVBAR --*/


/*--- DASHBOARD --*/

.welcome-msg{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.welcome-msg span{
    font-size: 18px;
    color: var(--secondary);
}

.widgets{
    margin-top: 20px;
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.widgets a{
    text-decoration: none;
}

.widgets .widget{
    width: 180px;
    height: 120px;
    border: 1px solid #feddff;
    border-radius: 10px;
    margin-right: 10px;
    padding: 10px;
    position: relative;
    transition: .5s;
    cursor: pointer;
}

.widgets .widget:hover{
    transform: scale(1.03);
    box-shadow: 2px 2px 8px #feddff;
}

.widgets .widget h3{
    font-size: 16px;
    color: #9c3fa0;
    font-weight: 300;
}

.widgets .widget h4{
    font-size: 22px;
    font-weight: 400;
    color: var(--primary);
    position: absolute;
    bottom: 10px;
}

.widgets .widget span{
    font-size: 12px;
    padding: 5px 0;
    color: #dfaee1;
    font-weight: 300;
}

/*--- DASHBOARD --*/




/*---------------------------------- /CUSTOM KITES CSS/ ------------------------------------*/


/*-------------- LOADING ---------------*/

.loading-outer{
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999999999;
  display: none;
}

.loading-outer-show{
  display: none;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  background-color: rgba(255,255,255,.98);
}

.loading-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;

}

.loading-inner img{
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  border: 2px solid rgb(177, 9, 9);
  border-radius: 50%; 
  padding:5px;
}

.loading-inner .loading-icons{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.loading-inner .percentage-section{
  padding: 10px 0;
  position: absolute;
  right: -200px;
}

.loading-inner .percentage-section h4{
  font-size: 30px;
  font-weight: 200;
  text-align: center;
}

.loading-inner .loading-icons span{
  width: 10px;
  height: 10px;
  background-color: black;
  border-radius: 50%;
  margin: 10px;
  opacity: 0;
  animation: slide-first 3s infinite ease-in-out;
  text-align: center;
}

.loading-inner .loading-icons span:nth-child(3)
{
  animation: slide-third 3s infinite ease-in-out;
}

.loading-inner .loading-icons span:nth-child(2)
{
  animation: slide-second 3s infinite ease-in-out;
}

@keyframes slide-first {
  0%{
    transform: scale(2);
    opacity: 0;
  }
  50%{
    transform: scale(1);
    opacity: 1;
  }
  
}

@keyframes slide-second {
  0%{
    transform: scale(2);
    opacity: 0;
  }
  70%{
    transform: scale(1);
    opacity: 1;
  }
  
}

@keyframes slide-third {
  0%{
    transform:  scale(2);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
  
}

.loading-inner h3{
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: capitalize;
  opacity: 1;
  text-align: center;
}

.loading-inner p{
  font-size: 12px;
  letter-spacing: 1px;
  color: #464444;
  margin-top: 10px;
  text-align: center;
}

/*-------------- END LOADING ---------------*/


/*-------------- NOTIFICATION ---------------*/

.notification{
  width: 100vw;
  height: 50px;
  position: fixed;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 999999999999999999;
  transform: translateY(100px);
}

.notification-show{
  animation: notify-in .5s;
  transform: translateY(0);
  opacity: 1;
}

@keyframes notify-in {
  0%{
    transform: translateY(100px);
    opacity: 0;
  }
  100%{
    transform: translateY(0);
    opacity: 1;
  }
  
}

.notification-inner{
  max-width: 600px;
  height: 100%;
  padding: 10px;
  border-radius: 10px;
  background-color: #7f2e2e;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.notification-inner img{
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.notification-inner .green{
  background-color: green !important;
}
.notification-inner .red{
  background-color: rgb(177, 9, 9) !important;
}

.notification-inner .blue{
  background-color: #287bb6 !important;
}

.notification-inner .close-btn{
  cursor: pointer;
  transition: .5s;
  height: 25px;
  width: 25px;
}

.notification-inner .close-btn:hover{
  background-color: #6d1d1d;
}

.notification-show .notification-inner img{
  animation: rotate-in .75s;
}

@keyframes rotate-in {
  0%{
    transform: rotate(45deg) scale(0);
    opacity: 0;
  }
  100%{
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

.notification-inner span{
  font-size: 12px;
  color: white;
  padding: 10px;
}

/*-------------- END NOTIFICATION ---------------*/

/*-------------- LOGIN IMG ---------------*/

.login-form img{
  width: 200px;
  height: 70px;
  object-fit: contain;
  margin: 10px;
  animation: slide-in-bottom 2s;
}

/*-------------- END LOGIN IMG ---------------*/

/*-------------- MEDIA ---------------*/

.grid-media{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    width: 100%;
}

.media-card{
    width: 100%;
    background: #fff;
    border: 1px solid #f2d4e6;
    border-radius: 8px;
    padding: 10px;
}

.media-thumb{
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.media-video{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    display: block;
}

.media-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

/*-------------- END MEDIA ---------------*/


.input-group {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #f2d4e6;
    margin: 5px 0;
}

.input-group-text {
    padding: 10px;
    background-color: #f8f9fa;
    border-right: 1px solid #f2d4e6;
}

.input-group input {
    border: none;
    margin: 0;
    flex-grow: 1;
}

/*---------------------------------- /CUSTOM KITES CSS/ ------------------------------------*/
.sidebar {
    height: 100%;
    width: 280px;
    position: fixed;
    top: 0;
    left: -280px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h3 {
    margin: 0;
    color: var(--primary);
}

.sidebar-header img {
    width: 24px;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

.sidebar-links a {
    text-decoration: none;
}

.sidebar-links li {
    padding: 15px 20px;
    color: var(--secondary);
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.sidebar-links li:hover {
    background-color: #f9f9f9;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
    transition: opacity 0.3s;
}

.sidebar.show {
    left: 0;
}

.sidebar-overlay.show {
    display: block;
}

.footer-nav {
    display: none;
}

.nav-mobile img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* ------------------------------------ NOTIFICATION CSS FIX ---------------------------------------------- */
    
    /* --- NOTIFICATION CSS FIX --- */
    
    .notification-wrapper {
        position: relative;
        cursor: pointer;
        padding: 10px;
    }

    .notification-bell {
        font-size: 1.2rem;
        color: rgba(255,255,255,0.8); /* Adjust icon color to match nav */
        transition: color 0.3s;
    }
    
    .notification-wrapper:hover .notification-bell {
        color: #fff;
    }

    .notification-badge {
        position: absolute;
        top: 0px;
        right: 0px;
        background: #ff4757;
        color: white;
        border-radius: 50%;
        padding: 2px 5px;
        font-size: 10px;
        font-weight: bold;
        min-width: 15px;
        text-align: center;
        display: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    /* Dropdown Container */
    .notif-dropdown {
        position: absolute;
        top: 100%;
        right: -10px; /* Align right */
        width: 320px;
        background: #ffffff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        overflow: hidden;
        z-index: 9999;
        display: none;
        border: 1px solid #eee;
        cursor: default;
    }
    
    /* Mobile Dropdown Specific Adjustment */
    #notif-dropdown-mobile {
        right: -60px; /* Shift slightly left on mobile to prevent overflow */
        width: 300px;
        max-width: 90vw;
    }

    /* Header */
    .notif-header {
        background: #f8f9fa;
        padding: 12px 15px;
        border-bottom: 1px solid #ebebeb;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .notif-header span {
        font-weight: 700;
        color: #333;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .notif-header i {
        color: #777;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .notif-header i:hover {
        color: #333;
        transform: rotate(180deg);
    }

    /* List Container - RESET inheritances */
    ul.notif-list {
        display: block !important; /* Force block to stop side-by-side items */
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        max-height: 350px;
        overflow-y: auto;
        background: #fff !important;
    }
    
    /* Scrollbar styling */
    ul.notif-list::-webkit-scrollbar {
        width: 6px;
    }
    ul.notif-list::-webkit-scrollbar-thumb {
        background-color: #ddd;
        border-radius: 3px;
    }

    /* List Items */
    li.notif-item {
        display: block !important;
        width: 100% !important;
        padding: 15px !important;
        border-bottom: 1px solid #f1f1f1;
        box-sizing: border-box;
        text-align: left;
        background: #fff;
        color: #444 !important; /* Force dark text */
        transition: background 0.2s;
        cursor: pointer;
        position: relative;
    }

    li.notif-item:hover {
        background: #f9fcff !important;
    }
    
    li.notif-item:last-child {
        border-bottom: none;
    }

    /* Unread State Highlight */
    li.notif-item.unread {
        background: #fffdf5 !important; /* Light yellow for unread */
        border-left: 3px solid #ff9f43;
    }

    /* Text Content inside Item */
    .notif-msg {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 6px;
        color: #333 !important;
        display: block;
    }

    .notif-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 11px;
    }

    .notif-date {
        color: #999;
    }

    /* Footer Link */
    .notif-footer {
        background: #f8f9fa;
        padding: 10px;
        text-align: center;
        border-top: 1px solid #ebebeb;
    }
    .notif-footer a {
        font-size: 12px;
        color: #555;
        text-decoration: none;
        font-weight: 700;
        display: block;
        transition: 0.2s;
    }
    .notif-footer a:hover {
        color: #333;
        text-decoration: underline;
    }

    /* Badges inside notification */
    .badge-warning {
        background: #fff3cd;
        color: #856404;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 700;
        border: 1px solid #ffeeba;
    }

    .badge-expired {
        background: #f8d7da;
        color: #721c24;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 700;
        border: 1px solid #f5c6cb;
    }
    
    /* Arrow pointing up */
    .notif-dropdown::before {
        content: "";
        position: absolute;
        top: -6px;
        right: 14px;
        width: 12px;
        height: 12px;
        background: #f8f9fa;
        transform: rotate(45deg);
        border-left: 1px solid #eee;
        border-top: 1px solid #eee;
        z-index: 10000;
    }

    /* Mobile Nav Flex Adjustment */
    .nav-mobile {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    @media (min-width: 992px) {
        .nav-mobile {
            display: none; /* Hide entire mobile section on desktop if your CSS handles it */
        }
    }
/* ------------------------------------ END NOTIFICATION CSS FIX ---------------------------------------------- */