/* ========================================
   DASHBOARD STYLES
   Uses CSS variables from custome.css
   ======================================== */
/* ========================================
   DASHBOARD LAYOUT
   ======================================== */

.dashboard-body {
    /*background-image: url(../images/p-dash-home-bg.webp);*/
    background-size: cover;
}

.dashboard-wrapper {
    padding: 9rem 0 2rem;
    width: 100%;
}

.dashboard-wrapper .sidebar-col {
    max-width: 270px;
    flex-shrink: 0;
    position: sticky;
}

.dashboard-wrapper .col-lg-9.mainContent-col {
    flex: 1;
}

/* ========================================
   DASHBOARD HEADER
   ======================================== */

.dashboard-navbar .custom-dropdown.search-dropdown {
    left: -160px;
}

.dashboard-navbar .custom-dropdown.search-dropdown::before {
    left: 165px;
}

.dashboard-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-400);
    padding: var(--space-2) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.dashboard-header .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-4);
}

.dashboard-logo img {
    height: 48px;
    width: auto;
}

.dashboard-search {
    flex: 1;
    max-width: 500px;
    margin: 0 var(--space-4);
}

.dashboard-search input {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-58);
    font-size: var(--text-base);
    transition: all 0.3s ease;
}

.dashboard-search input:focus {
    outline: none;
    border-color: var(--primary-300);
    box-shadow: 0 0 0 3px rgba(81, 82, 158, 0.1);
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dashboard-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gray-200);
    border: 1px solid var(--gray-400);
    border-radius: 50%;
    color: var(--primary-500);
    font-size: var(--text-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dashboard-icon-btn:hover {
    background: var(--primary-100);
    color: var(--primary-600);
    transform: translateY(-2px);
}

.dashboard-icon-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--error);
    color: var(--gray-50);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.dashboard-user-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-2);
    background: var(--gray-200);
    border-radius: var(--radius-58);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard-user-menu:hover {
    background: var(--gray-300);
}

.dashboard-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-300);
}

.dashboard-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.dashboard-user-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-600);
}

.dashboard-user-role {
    font-size: var(--text-xs);
    color: var(--gray-900);
}

/* Mobile Menu Toggle */
.dashboard-mobile-toggle {
    display: none;
    font-size: var(--text-2xl);
    color: var(--primary-500);
    cursor: pointer;
    padding: var(--space-1);
}

/* ========================================
   DASHBOARD SIDEBAR
   ======================================== */

.dashboard-sidebar {
    background: transparent;
    display: flex;
    align-items: self-start;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    /*height: 100vh;*/
    position: sticky;
    top: 0;
    /*overflow-y: auto;*/
}

.dashboard-sidebar-user {
    text-align: center;
    width: 100%;
    background: #FFFFFF1A;
    border-radius: 16px;
    backdrop-filter: blur(26px);
    overflow: hidden;
}

.dashboard-sidebar-avatar {
    width: 100%;
    height: 135px;
    margin: 0 auto var(--space-2);
    object-fit: cover;
}

.dashboard-sidebar-user .btn-style-1 {
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid white;
    background: transparent;
    backdrop-filter: none;
}

.side-use-logo img {
    width: 75px;
    height: 75px;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translate(-50%);
    background: white;
    border-radius: 100%;
}

.side-user-content {
    position: relative;
    padding: 1.5rem .5rem 1.5rem .5rem;
}

.dashboard-sidebar-name {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--secondary-500);
}

.dashboard-sidebar-email {
    font-size: var(--text-sm);
    color: var(--gray-100);
    margin: 0 0 .9rem;
}

.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.dashboard-nav-item {
    width: 100%;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    color: var(--gray-100);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    backdrop-filter: blur(13.05px);
    border-radius: 16px 0px 0px 16px;
    background: linear-gradient(90deg, rgb(138 140 228 / 0%) 0%, rgba(255, 255, 255, 0) 88.65%);
}

.dashboard-nav-link:hover {
    background: linear-gradient(90deg, rgb(255 247 230 / 12%) 0%, rgba(255, 255, 255, 0) 88.65%);
    color: var(--secondary-100);
}

.dashboard-nav-link.active {
    background: linear-gradient(90deg, rgba(138, 140, 228, 0.2) 0%, rgba(255, 255, 255, 0) 88.65%);
}

.dashboard-nav-icon {
    font-size: var(--text-xl);
    width: 24px;
    text-align: center;
}


/* ========================================
   DASHBOARD CONTENT AREA
   ======================================== */

.dashboard-content {
    padding: var(--space-4);
    height: 100%;
    background: var(--gray-50);
    border-radius: var(--radius-16);
}

.dashboard-page-header {
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-page-title {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--primary-500);
    margin-bottom: var(--space-2);
}

.dashboard-page-subtitle {
    font-size: 16px;
    color: var(--gray-1400);
    font-weight: 600;
}

.dashboard-breadcrumb p {
    color: var(--primary-400);
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 .2rem;
}

.dashboard-breadcrumb a {
    color: var(--gray-1400);
    text-decoration: none;
}

.dashboard-breadcrumb a:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

a.ring-bell {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-content: center;
    border: 1px solid #cdcdcd;
    border-radius: 100%;
    position: relative;
    font-size: 18px;
    color: var(--gray-1300);
}

a.ring-bell span {
    position: absolute;
    top: -2px;
    right: -10px;
    font-size: 13px;
    background: var(--secondary-500);
    border-radius: 100%;
    width: 25px;
    height: 25px;
    display: grid;
    place-content: center;
    font-weight: 600;
    color: var(--gray-1700);
}

/* ========================================
   DASHBOARD CARDS
   ======================================== */

.dashboard-card {
    background: var(--gray-50);
    border-radius: var(--radius-16);
    padding: var(--space-4);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-400);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--gray-400);
}

.dashboard-card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--primary-600);
}

.dashboard-card-body {
    color: var(--gray-1000);
}

/* Stats Cards */
.dashboard-stat-card {
    background: var(--gray-100);
    border-radius: var(--radius-16);
    padding: var(--space-3);
    border: 1px solid var(--gray-400);
    transition: all 0.3s ease;
    height: 100%;
}


.dashboard-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}

.dashboard-stat-icon.primary {
    background: var(--gradient-primary);
    color: var(--gray-50);
}

.dashboard-stat-icon.secondary {
    background: var(--gradient-secondary);
    color: var(--primary-600);
}

.dashboard-stat-icon.success {
    background: var(--success);
    color: var(--gray-50);
}

.dashboard-stat-icon.info {
    background: var(--info);
    color: var(--gray-50);
}

.dashboard-stat-value {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: var(--space-1);
}

.dashboard-stat-label {
    font-size: var(--text-base);
    color: var(--gray-900);
    font-weight: 500;
}

.dashboard-stat-change {
    font-size: var(--text-sm);
    margin-top: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.dashboard-stat-change.positive {
    color: var(--success);
}

.dashboard-stat-change.negative {
    color: var(--error);
}

/* ========================================
   DASHBOARD FOOTER
   ======================================== */

.dashboard-footer {
    background: transparent;
    border-top: 1px solid rgb(255 255 255 / 11%);
    padding: var(--space-3) 0;
    text-align: center;
    margin-top: auto;
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    z-index: 99;
}

.dashboard-footer-text {
    font-size: var(--text-sm);
    color: var(--gray-900);
    margin: 0;
}

/* ========================================
   DASHBOARD TABLES
   ======================================== */

.dashboard-table {
    width: 100%;
    background: var(--gray-50);
    border-radius: var(--radius-12);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.dashboard-table thead {
    background: var(--primary-900);
    color: var(--gray-50);
}

.dashboard-table th {
    padding: var(--space-3);
    text-align: left;
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-table td {
    padding: var(--space-3);
    border-bottom: 1px solid var(--gray-400);
    color: var(--gray-1000);
}

.dashboard-table tbody tr:hover {
    background: var(--gray-200);
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

/* ========================================
   DASHBOARD BUTTONS
   ======================================== */

.dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-58);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dashboard-btn-primary {
    background: var(--gradient-primary);
    color: var(--gray-50);
}

.dashboard-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dashboard-btn-secondary {
    background: var(--gradient-secondary);
    color: var(--primary-600);
}

.dashboard-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dashboard-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-300);
    color: var(--primary-500);
}

.dashboard-btn-outline:hover {
    background: var(--primary-300);
    color: var(--gray-50);
}

/* ========================================
   DASHBOARD BADGES
   ======================================== */

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-58);
    font-size: var(--text-xs);
    font-weight: 600;
}

.dashboard-badge-success {
    background: var(--success-light);
    color: var(--success-dark);
}

.dashboard-badge-warning {
    background: var(--warning-light);
    color: var(--warning-dark);
}

.dashboard-badge-error {
    background: var(--error-light);
    color: var(--error-dark);
}

.dashboard-badge-info {
    background: var(--info-light);
    color: var(--info-dark);
}

.dashboard-badge-primary {
    background: var(--primary-100);
    color: var(--primary-600);
}

.accordion-item {
    border: 0;
    border-bottom: 1px solid #eee;
}

.accordion-button {
    padding: 15px 10px;
    font-family: "Urbanist", sans-serif;
    font-weight: 500;
    color: var(--gray-1400);
}

.accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: contain;
    filter: brightness(0);
}

.accordion-button:not(.collapsed) {
    background: transparent;
}

.accordion-button:focus {
    box-shadow: none;
}

.dashboard-stat-card th {
    color: var(--gray-1400);
    font-size: 14px;
}

.dashboard-stat-card td {
    color: var(--gray-1400);
    padding: 15px 10px;
}

.user-del-btn {
    padding: 10px 24px;
    border: 1px solid var(--gray-1300);
    background: transparent;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-1400);
}

.dashboard-page-title i {
    font-size: 22px;
}


.dashboard-content-inner input,
.dashboard-content-inner textarea,
.form-box input,
.form-box textarea,
.form-box select {
    border-radius: 30px;
    padding: 10px 14px;
    width: 100%;
    height: auto;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 30px;
    font-size: 16px;
}



.dashboard-content-inner textarea {
    border-radius: var(--radius-16);
    height: 130px;
}

input[type=checkbox],
input[type=radio] {
    accent-color: var(--secondary-400);
    width: 20px;
    height: 20px;
}

.dashboard-content-inner label {
    font-weight: 600;
    margin: 0 0 .5rem;
    color: var(--gray-1600);
    font-size: 13px;
}

/* Only the required-field asterisk should be red — this selector used to hit
   EVERY span inside a dashboard label, which turned convention activity/menu
   option text (wrapped in <span>) red. Scope it to the .text-danger asterisk. */
.dashboard-content-inner label span.text-danger {
    color: var(--error);
}

.form-submit-btn,
.new-btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 14px 28px 14px 24px;
    background: radial-gradient(81.73% 163.15% at 15.58% 27.08%, rgba(81, 82, 158, 0.9) 0%, rgba(55, 56, 127, 0.9) 100%);
    border: 2px solid rgba(107, 109, 196, 0.3);
    backdrop-filter: blur(13.05px);
    border-radius: 58px;
    color: white;
    font-size: 18px;
    transition: .4s ease;
}

.form-submit-btn:hover,
.new-btn:hover {
    background: radial-gradient(81.73% 163.15% at 15.58% 27.08%, rgba(81, 82, 158, 1) 0%, rgba(81, 82, 158, 1) 100%);
    transform: translateY(-3px)
}


/* Forms Design - All  */

.dashboard-body .form-box label {
    font-weight: 600;
    margin: 0 0 .5rem;
    color: var(--gray-1600);
    font-size: 13px;
}

.dashboard-body .form-span {
    color: var(--gray-1300) !important;
    font-size: 14px;
    font-style: italic;
}

.dashboard-body .form-control:focus {
    background-color: var(--gray-200);
    box-shadow: none;
    border-color: var(--gray-300);
}

.dashboard-body .form-check {
    padding-left: 0;
    margin: 0 0 11px;
    display: flex;
    align-items: center;
}


.dashboard-body .form-check label {
    margin: 0;
    font-size: 16px;
    color: var(--gray-1300);
    font-weight: normal;
    padding-left: 10px;
}


.dashboard-body form.serach-library {
    display: flex;
    align-items: center;
    position: relative;
}

.dashboard-body form.serach-library svg {
    position: absolute;
    left: 15px;
    font-size: 17px;
    color: var(--gray-900);
    top: 14px;
    width: 18px;
    height: 18px;
}

.dashboard-body form.serach-library input {
    padding-left: 45px;
}

.dashboard-body input[type="checkbox"] {
    accent-color: var(--secondary-400);
    width: 20px;
    height: 20px;
}


.dashboard-stat-card.library-filter {
    padding: 0;
    overflow: hidden;
}

ul.library-filter-category,
.questions-filter-category {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

ul.library-filter-category li,
.questions-filter-category li {
    color: var(--primary-500);
    font-size: 18px;
    /* margin: 6px 15px; */
    cursor: pointer;
    position: relative;
    opacity: .7;
    font-weight: 600;
    display: inline-block;
    vertical-align: bottom;
    position: relative;
}

ul.library-filter-category li.active,
.questions-filter-category li.active {
    border-bottom: 2px solid;
    opacity: 1;
}

ul.library-filtered-content,
.questions-filtered-content {
    padding: var(--space-3);
}

ul.library-filter-category li:before,
.questions-filter-category li:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 16px;
    background: var(--gray-600);
    right: -15px;
    top: 50%;
    transform: translate(-50%, -50%);
}



/* ul.library-filtered-content li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: var(--radius-16);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--gray-400);
    height: 80px;
    margin: 0 0 15px;
}


ul.library-filtered-content li .icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-300);
    display: grid;
    place-content: center;
    color: var(--primary-600);
    font-weight: 600;
    font-size: var(--text-3xl);
    flex-shrink: 0;
    transition: .4s ease;
}

ul.library-filtered-content li .icon svg {
    width: 35px;
    height: 35px;
}

ul.library-filtered-content li .text {
    background: var(--gray-200);
    width: auto;
    height: 100%;
    color: var(--gray-1400);
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 0px 1rem;
    flex: auto;
}

ul.library-filtered-content li .text-info {
    display: flex;
    align-items: center;
    color: var(--gray-1000) !important;
    gap: 10px;
    height: 100%;
    min-height: 80px;
    background: white;
    padding: 0 25px;
    font-size: 14px;
    border: 1px solid var(--gray-400);
}

ul.library-filtered-content li .text-info .file-format {
    background: var(--gray-400);
    padding: 4px 12px;
    border-radius: 300px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-1600);
}

.library-filtered-content li:hover .file-btn a {
    background: var(--primary-300);
    color: white;
}

.library-filtered-content li:hover .icon {
    background: var(--secondary-400);
}

.library-filtered-content li:hover .text {
    color: var(--primary-300);
}


ul.library-filtered-content li .file-btn a {
    height: 100%;
    min-height: 80px;
    background: white;
    display: flex;
    align-items: center;
    color: var(--primary-800);
    font-weight: 500;
    font-size: 18px;
    padding: 0 15px;
}

ul.library-filtered-content li .file-btn svg {
    width: 20px;
    height: 20px;
} */

.faq-header .accordion-button {
    justify-content: space-between;
    width: 100%;
    display: flex;
    color: var(--gray-1600);
    font-size: 20px;
    padding: 20px 15px;
}

.faq-header .accordion-button .faq-tag {
    margin-left: auto;
    margin-right: 25px;
    background: var(--primary-300);
    color: white;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 30px;
}

.faq-header .accordion-button::after {
    margin: 0;
}

.filter-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}


.library-filter-category::-webkit-scrollbar {
    display: none;
}

.library-filter-category li {
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
}

.fade-left,
.fade-right {
    position: absolute;
    top: 0;
    width: 32px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.2s;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.fade-left.hidden,
.fade-right.hidden {
    opacity: 0;
}

.library-filter-wrapper,
.questions-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    padding: var(--space-3);
    position: relative;
    gap: 10px;
}

.library-filter-wrapper button,
.questions-filter-wrapper button {
    background: white !important;
    border: 0;
    border-radius: 100%;
    width: 32px;
    height: 32px;
    display: grid;
    place-content: center;
    font-size: var(--text-base);
    font-weight: 600;
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
    color: var(--gray-1500);
    cursor: pointer;
    flex-shrink: 0;
}

.dash-events-main .events-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border: 1px solid var(--gray-500);
    border-radius: var(--radius-16);
    /* overflow-x: clip; */
    width: 100%;
    height: 140px;
    margin: 0 0 1rem;
    transition: .4s ease;
}

.dash-events-main .events-box:last-child {
    margin: 0;
}

.dash-events-main .events-box .category-style-1 {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
}

.dash-events-main .events-img {
    width: 190px;
    height: 140px;
    border-radius: var(--radius-16);
    overflow: hidden;
    flex-shrink: 0;
}

.dash-events-main .events-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.dash-events-main .events-text {
    width: 55%;
}

.dash-events-main .events-manage {
    min-width: 195px;
    height: 100%;
    flex-shrink: 0;
    background: var(--gray-200);
    display: grid;
    place-content: center;
    border-left: 1px solid var(--gray-400);
    border-top-right-radius: var(--radius-16);
    border-bottom-right-radius: var(--radius-16);
}

.dash-events-main a.btn-style-3 {
    /* padding: 12px 30px; */
    /* font-size: 16px; */
}

.dash-events-main h4 {
    font-size: var(--text-lg);
    color: var(--primary-700);
    margin: 0;
}

.dash-events-main .events-box:hover {
    background: var(--gray-200);
}

.dash-events-main .events-box:hover h4,
.dash-events-main .events-box:hover .date-1 {
    color: var(--primary-400);
}

.dash-events-main .events-box:hover p {
    color: var(--gray-1600);
}

.dash-events-main p {
    margin: .4rem 0 0;
    font-size: 16px;
    color: var(--gray-1400);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.input-past-events {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--text-sm);
}

.input-past-events select {
    border: 0;
    padding: 0;
    color: var(--gray-1300);
    font-weight: 600;
}

.input-past-events label {
    margin: 0;
}

div#accordionProfile .accordion-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
}

div#accordionProfile .accordion-button {
    padding: 20px 15px;
}

form .btn-submit-2 {
    color: var(--primary-300);
    background: transparent;
    border-color: var(--primary-300);
}

form .btn-submit-2:hover {
    background: var(--primary-300);
    color: white;
}

.dashboard-body .date-1 {
    color: var(--gray-1400);
}

.dashboard-body .date-1 i,
.dashboard-body .date-1 svg {
    color: var(--primary-300);
    font-size: 16px;
    width: 20px;
    height: 20px;
    fill: var(--primary-300);
}



/* ============= */

.image-upload {
    width: 100%;
    background: transparent;
    padding: 20px 15px;
    border-radius: 10px;
    /* margin-bottom:15px; */
}

.upload-placeholder {
    text-align: center;
}

.select-btn {
    padding: 14px 28px 14px 32px;
    /* border-radius:20px; */
    /* border:1px solid #ccc; */
    background: white;
    cursor: pointer;
    border: 2px solid #808080;
    backdrop-filter: blur(13.05px);
    border-radius: 58px;
    font-weight: 600;
    color: var(--gray-1400);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.image-preview {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: white;
    /* padding:10px 15px; */
    border-radius: 10px;
}

.image-preview img {
    width: 75px;
    height: 75px;
    border-radius: 16px;
    object-fit: cover;
}

.file-name {
    flex: 1;
    margin-left: 15px;
    font-size: 15px;
}

.actions button {
    border: none;
    background: #f2f2f2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-left: 5px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(77, 77, 77, 0.5);
    backdrop-filter: blur(13.05px);
    border-radius: 58px;
    display: inline-grid;
    place-content: center;
    fill: var(--primary-500);
    color: var(--primary-500);
}

.form-submit-btn .svg-icon {
    width: 20px;
    height: 20px;
}

.notification-wrapper {
    position: relative;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: 65px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    width: 640px;
    background: #FFFFFF;
    border: 2px solid #D9D9D9;
    border-radius: 16px;
    z-index: 9;
    padding: 24px;
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--gray-1600);
    font-weight: 600;
}

.notif-filters button {
    background: transparent;
    border: 0;
    color: var(--gray-1100);
    font-weight: 700;
    font-size: 13px;
}

.notif-footer button {
    background: transparent;
    border: 0;
    color: var(--gray-1400);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notif-footer button svg {
    width: 16px;
    height: 16px;
}

.notif-filters button.active {
    color: var(--primary-200);
}

a.ring-bell.active {
    background: radial-gradient(81.73% 163.15% at 15.58% 27.08%, rgba(81, 82, 158, 0.9) 0%, rgba(55, 56, 127, 0.9) 100%);
    color: white;
    border: 2px solid rgba(107, 109, 196, 0.3);
}

.notif-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid var(--gray-400);
    padding: 0 0 12px;
    margin: 0 0 12px;
    gap: 15px;
}

.notif-tick {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--success-light);
    backdrop-filter: blur(13.05px);
    border-radius: 58px;
    display: inline-grid;
    place-content: center;
    color: var(--success-light);
}

.notif-icon span {
    display: block;
    text-align: center;
    color: var(--gray-1200);
    font-size: 10px;
    margin: 7px 0 0;
}

.notif-item.unread .notif-tick {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(77, 77, 77, 0.2);
    color: var(--gray-1200);
}

.notif-info span {
    color: var(--gray-1200);
    font-size: 13px;
    font-style: italic;
}

.notif-info p {
    font-size: 16px;
    color: var(--gray-1400);
}

.notif-btn {
    margin-left: auto;
}

.notif-btn .btn-style-3 {
    padding: 12px 22px;
    font-size: 17px;
    min-width: 170px;
}

.last-visible {
    border-bottom: 0;
    margin-bottom: 0;
}

.notif-header {
    border-bottom: 1px solid var(--gray-400);
    padding: 0 0 15px;
    margin: 0 0 15px;
}

.notification-dropdown::before {
    content: "";
    position: absolute;
    right: 20px;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #D9D9D9;
}


.events-manage {
    position: relative;
    display: inline-block;
}

/* Dropdown */
.manage-dropdown {
    position: absolute;
    top: 80%;
    right: 0;
    width: 320px;
    /* background: #fff; */
    /* border-radius: 14px; */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    z-index: 9;
    background: #FFFFFF;
    border: 2px solid #D9D9D9;
    border-radius: 16px;
}

/* open state */
.events-manage.active .manage-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* list */
.manage-dropdown ul {
    /* padding: 10px 0; */
    margin: 0;
    list-style: none;
}

.manage-dropdown li {
    border-bottom: 1px solid #eee;
}

.manage-dropdown li:last-child {
    border-bottom: none;
}

.manage-dropdown a {
    display: flex;
    align-items: center;
    padding: 15px 15px;
    gap: 10px;
    color: var(--gray-1400);
    font-weight: 600;
    font-size: 17px;
}

/* active button */
.events-manage.active .manage-btn {
    background: var(--primary-400);
    color: #fff;
    border: 2px solid rgba(107, 109, 196, 0.7);
}


.manage-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 25px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(217, 217, 217, 1);
}

.manage-dropdown a svg {
    width: 20px;
    height: 20px;
}

.manage-dropdown a:hover {
    color: var(--primary-500);
}


.need-btns a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-500);
    font-size: 15px;
    font-weight: 600;
}


.need-btns .svg-icon {
    width: 16px;
    height: 16px;
}


.need-btns .arrow-svg {
    width: 10px;
}

#accordionHelpHome .accordion-button::after {
    background-image: url("/images/download.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 18px;
    height: 10px;
}















/* ========================================
   RESPONSIVE DESIGN
   ======================================== */


@media screen and (max-width: 991px) {

    .dashboard-sidebar {
        position: relative;
        top: 80px;
        box-shadow: var(--shadow-lg);
        gap: 0;
        top: 0;
        flex-wrap: nowrap !important;
        overflow-x: visible;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        height : auto ;
    }

    .dashboard-sidebar.active {
        left: 0;
    }

    .dashboard-mobile-toggle {
        display: block;
    }

    .dashboard-search {
        display: none;
    }

    .dashboard-content {
        border-radius: 0;
        padding: 32px 20px;
    }

    .dashboard-page-title {
        font-size: 18px;
    }

    .dashboard-wrapper .sidebar-col {
        max-width: 100%;
    }

    .dashboard-sidebar-user,
    .dashboard-sidebar hr {
        display: none;
    }

    ul.dashboard-nav {
        display: flex;
        align-items: center;
        overflow: auto;
        flex-wrap: nowrap;
    }

    .dashboard-nav-link {
        /* padding: 15px; */
        /* font-size: 11px; */
    }

    .dashboard-body svg.svg-icon {
        width: 16px;
        height: 16px;
    }

    .logo img,
    header.header.sticky .logo img {
        width: 62px;
        height: auto;
    }

    .dashboard-body a,
    .dashboard-breadcrumb p,
    .dashboard-page-subtitle {
        font-size: 12px;
        letter-spacing: 0;
    }

    .dashboard-body p {
        font-size: 12px;
    }

    .mobile-sidebar-avatar {
        width: 36px;
        height: 36px;
        border-radius: 100%;
        object-fit: cover;
    }

    .dashboard-breadcrumb {
        display: flex;
        align-items: self-start;
        gap: 8px;
    }

    a.ring-bell {
        width: 38px;
        height: 38px;
    }

    a.ring-bell span {
        font-size: 10px;
        width: 20px;
        height: 20px;
    }

    span.user-title {
        font-size: 14px;
    }


    table {
        border: 0;
    }

    table thead {
        display: none;
    }

    table tbody,
    table tr,
    table td {
        display: block;
        width: 100%;
    }

    /* CARD STYLE */
    .user-row {
        /* background: #fff; */
        /* border-radius: 12px; */
        /* padding: 14px 16px; */
        margin-bottom: 17px;
        position: relative;
        /* box-shadow: 0 4px 14px rgba(0,0,0,0.05); */
    }

    /* RESET TABLE CELLS */
    .user-row td {
        padding: 0;
        border: none;
    }

    /* STACK TEXT */
    .user-cell {
        display: block;
    }

    .user-cell.username {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .user-cell.name {
        font-size: 14px;
        color: #333;
        margin-bottom: 2px;
    }

    .user-cell.email {
        font-size: 13px;
        color: #777;
    }

    /* ACTION BUTTON POSITION */
    .user-row td.text-end {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
    }

    /* ICON BUTTON STYLE */
    .user-del-btn.icon-only {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /* border: 1px solid #dcdcdc; */
        display: grid;
        place-content: center;
        justify-content: center;
        /* background: #fff; */
        padding: 0;
        gap: 0;
    }

    /* HIDE DELETE TEXT */
    .user-del-btn.icon-only {
        font-size: 0;
    }

    .user-del-btn.icon-only svg {
        /* font-size: 16px; */
        color: var(--primary-300);
    }

    .dashboard-wrapper .container {
        padding: 0;
    }

    .dashboard-wrapper {
        padding-bottom: 0;
    }

    .dashboard-nav-link:hover {
        background: linear-gradient(180deg, rgb(255 247 230 / 12% 12%) 0%, rgba(255, 255, 255, 0) 88.65%);
    }

    .dashboard-nav-link.active {
        background: linear-gradient(180deg, rgba(154, 156, 240, 0.2) 15.63%, rgba(255, 255, 255, 0) 85.62%);
    }

    .dashboard-nav-link {
        border-radius: 16px 16px 0 0;
        padding: 16px;
        font-size: 12px;
        gap: 8px;
        position: relative;
    }

    .dashboard-nav-link:after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        background: linear-gradient(360deg, rgba(138, 140, 228, 0.2) 15.63%, rgba(255, 255, 255, 0) 85.62%);
        backdrop-filter: blur(26px);
        right: 0;
    }

    .dashboard-nav-link.active:after {
        display: none;
    }

    .dashboard-stat-card,
    .dashboard-card {
        padding: 0;
        border: 0;
        border-radius: 0;
        border-top: 1px solid var(--gray-400);
        padding: 32px 0 0;
    }


    .dash-events-main .events-box {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
        border-radius: 16px;
    }

    .dash-events-main .events-img {
        width: 100%;
        height: 280px;
    }

    .dash-events-main .events-text {
        width: 100%;
        padding: 20px;
    }

    .dash-events-main .events-manage {
        width: 100%;
        padding: 16px;
        border-radius: 0 0 16px 16px;
        border-top: 1px solid var(--gray-400);
        position: relative;
        flex-direction: column-reverse;
        display: flex;
    }

    .dash-events-main .events-manage .manage-btn {
        background: transparent;
        padding: 0 !important;
        border: 0;
        color: var(--gray-1400);
        box-shadow: none;
    }

    .manage-dropdown {
        width: 100%;
        background: transparent;
    }

    .events-manage {
        position: static;
        /* remove relative positioning */
    }

    .manage-dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
        position: static;
        /* no absolute/floating */
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0;
        border: 0;
    }

    .events-manage.active .manage-dropdown {
        max-height: 300px;
        /* enough to fit all items */
        background: transparent;
        padding: 0;
        border: 0;
        border-radius: 0;
    }

    /* Optional: style the manage btn for mobile */
    .manage-btn {
        width: 100%;
        justify-content: center;
    }


    .manage-dropdown::before {
        display: none;
    }

    .manage-dropdown a {
        padding: 8px 0;
        font-size: 13px;
    }

    .manage-dropdown a svg {
        width: 15px;
        height: 15px;
    }

    ul.library-filter-category li,
    .questions-filter-category li {
        font-size: 14px;
    }

    .faq-header .accordion-button {
        font-size: 15px;
        padding: 11px 15px;
    }

    .faq-header .accordion-button .faq-tag {
        padding: 0;
        color: var(--gray-1600);
        background: transparent;
        font-weight: 700;
        font-size: 10px;
        flex-shrink: 0;
        margin-left: auto;
        min-width: 84px;
        text-align: right;
        margin-right: 10px;
    }

    ul.library-filtered-content,
    .questions-filtered-content {
        padding: 32px 0;
    }

    .library-filter-wrapper,
    .questions-filter-wrapper {
        padding: 20px 0 0;
        background: transparent;
    }

    .notification-dropdown {
        padding: 0;
        border: 0;
        background: white;
        width: 372px;
        border-radius: 0;
    }

    .notif-header h4 {
        display: none;
    }

    .notification-dropdown::before {
        display: none;
    }

    .notif-header .d-flex {
        width: 100%;
        justify-content: space-between;
    }

    .notif-filters button {
        font-size: 12px;
        padding: 0 4px;
    }

    .notif-footer button {
        font-size: 10px;
    }

    .notif-footer button svg {
        width: 11px;
        height: 11px;
    }

    .notif-info p {
        font-size: 13px;
    }

    .notif-info span {
        font-size: 12px;
    }

    .notif-item {
        gap: 8px;
    }

    .form-submit-btn,
    .new-btn {
        font-size: 14px;
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .form-submit-btn .svg-icon {
        width: 15px;
        height: 15px;
    }

    .form-span {
        font-size: 12px;
    }

    .form-box label {
        font-size: 10px;
        margin: 0 0 .3rem;
    }

    .dashboard-breadcrumb p {
        margin: 0;
    }

    .dashboard-breadcrumb a {
        font-style: italic;
    }



}



@media screen and (max-width: 560px) {
    .wrapper {
        display: block;
    }
}






















