.swal2-confirm {
    margin: auto 10px !important;
}

/* SweetAlert2 icons use em-based geometry; isolate from global body font styles. */
.swal2-popup .swal2-icon {
    font-size: 1rem !important;
    font-weight: 400 !important;
    box-sizing: content-box !important;
}

.swal2-icon.swal2-success::before {
    display: none !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    box-sizing: content-box !important;
}

.btn {
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 999px !important;
    padding-inline: 1.2rem;
}

.navbar-brand-image {
    height: auto !important;
}

body.theme-light .navbar-light {
    background-color: #3b38eb0d !important;
}

.theme-dark .navbar {
    background-color: #13161d !important;
}

body.theme-light {
    background-color: #e5edf7;
    background-image: radial-gradient(circle at top left, rgba(96, 165, 250, 0.28), transparent 50%), radial-gradient(circle at bottom right, rgba(94, 234, 212, 0.22), transparent 52%), linear-gradient(160deg, #e8eef5 0%, #f0f4ff 50%, #e0e8f5 100%);
}

.theme-dark {
    background-color: #050816;
    background-image: radial-gradient(circle at top, rgba(94, 234, 212, 0.15), transparent 55%), radial-gradient(circle at bottom, rgba(94, 92, 255, 0.25), #050816 65%);
}

.page.page-center {
    background: transparent;
}

.nav-item.active {
    font-weight: bolder;
    color: #121d5e;
}


/* .theme-dark .navbar-brand-image {
    filter: brightness(4.5);
} */


/* ----------------------------------------------------------
   Glassmorphism + Neumorphism Hybrid Theme (Admin)
   ---------------------------------------------------------- */

html,
body,
.wrapper,
.page-wrapper {
    transition: background-color 220ms ease-out, color 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out;
}

body {
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
}


/* Hide global scrollbar, keep inner containers scrollable */

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.page-wrapper {
    height: 100vh;
    overflow-y: auto;
    transition: margin 280ms ease-out;
}

/* Sidebar toggle – collapse off-screen, content full width */
body.sidebar-collapsed #admin-sidebar.glass-sidebar {
    transform: translateX(-100%);
    transition: transform 280ms ease-out;
}
html[dir="rtl"] body.sidebar-collapsed #admin-sidebar.glass-sidebar {
    transform: translateX(100%);
}
body.sidebar-collapsed .page-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
html[dir="rtl"] body.sidebar-collapsed .page-wrapper {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.sidebar-collapsed .glass-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.sidebar-toggle-btn {
    cursor: pointer;
    color: inherit;
}
.sidebar-toggle-btn:hover {
    opacity: 0.85;
}

.glass-sidebar {
    overflow: hidden;
    padding-bottom: 20px;
}

.glass-sidebar .navbar-nav {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: 72px;
}

.glass-sidebar .navbar-nav .nav-item:last-child {
    margin-bottom: 8px;
}

.glass-sidebar .navbar-nav::-webkit-scrollbar {
    width: 6px;
}

.glass-sidebar .navbar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.glass-sidebar .navbar-nav::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}


/* Floating glass sidebar – transparent, blurred */

.glass-sidebar {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
    margin: 18px 0 18px 18px;
}

.theme-dark .glass-sidebar {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}

.glass-sidebar .navbar-nav .nav-link {
    border-radius: 999px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    margin-bottom: 0.45rem;
    transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}

.glass-sidebar .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.theme-dark .glass-sidebar .navbar-nav .nav-link:hover {
    background-color: rgba(15, 23, 42, 0.95);
}


/* Glass top navbar – transparent, blurred */

.glass-nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(241, 245, 249, 0.6) 100%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    margin: 16px 18px 0 26px;
    padding-inline: 18px !important;
}

.theme-dark .glass-nav {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.88) 0%, rgba(15, 23, 42, 0.75) 100%);
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}


/* Main content surface – glass, transparent, blurred */

.neo-shell {
    border-radius: 24px;
    margin: 18px 26px 30px 26px;
    padding: 22px 26px 30px;
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.5);
}

.theme-dark .neo-shell {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.75);
}

body.theme-light .neo-shell {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.75) 0%, rgba(226, 232, 240, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}


/* Soft cards for bento stats / widgets (no dual shadows) */

.bento-card {
    border-radius: 18px;
    padding: 18px 22px;
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
}

.theme-dark .bento-card {
    background: rgba(15, 23, 42, 0.98);
}

body.theme-light .bento-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.85) 0%, rgba(241, 245, 249, 0.7) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}


/* Rounded, modern primary buttons (no inset/raised neo shadows) */

.btn-neo {
    border-radius: 999px !important;
    padding: 0.7rem 1.8rem !important;
    background: #22c55e !important;
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.45);
    border: none !important;
    color: #0b1120 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.82rem;
    gap: 0.35rem;
    transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}

.btn-neo:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.6);
}

.btn-neo:active {
    transform: translateY(1px);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.6);
}

.theme-dark .btn-neo {
    background: #22c55e !important;
    color: #020617 !important;
}

.theme-dark .btn-neo:hover {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.95), -3px -3px 10px rgba(55, 65, 81, 0.8);
}


/* Rounded inputs with soft flat look (no inset neo) */

.input-neo {
    border-radius: 999px;
    padding: 0.6rem 1rem;
    background: #020617;
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.7);
    outline: none;
    font-size: 0.85rem;
    transition: box-shadow 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out;
}

.input-neo::placeholder {
    color: rgba(148, 163, 184, 0.85);
}

.input-neo:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.5), 0 18px 40px rgba(15, 23, 42, 0.65);
    border-color: rgba(94, 234, 212, 0.8);
}

.theme-dark .input-neo {
    background: #020617;
    color: #e5e7eb;
    box-shadow: none;
}

.theme-dark .input-neo:focus {
    box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.7), 0 18px 40px rgba(15, 23, 42, 0.85);
}

body.theme-light .input-neo {
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    border-color: rgba(203, 213, 225, 0.8);
}

body.theme-light .input-neo::placeholder {
    color: rgba(100, 116, 139, 0.8);
}


/* Generic hover micro-animation helper */

.hover-soft {
    transition: transform 160ms ease-out, box-shadow 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}

.hover-soft:hover {
    transform: translateY(-2px);
}


/* Generic admin form elements: rounded and padded across all pages */


/* All cards (create/edit/show and other pages) – same glass as content-body */

.page-body .container-xl .card {
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.45);
    overflow: hidden;
}

body.theme-light .page-body .container-xl .card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.6) 0%, rgba(226, 232, 240, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.theme-dark .page-body .container-xl .card {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(148, 163, 184, 0.5);
}

.page-body .container-xl .card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1rem 1.5rem;
}

body.theme-light .page-body .container-xl .card .card-header {
    border-bottom-color: rgba(226, 232, 240, 0.8);
}

.page-body .container-xl .card .card-body {
    background: transparent;
}


/* Price offer create/edit: card-header 40% transparent, color #aaa */

.price-offer-form .card>.card-header {
    background: rgba(30, 41, 59, 0.6) !important;
    color: #aaa !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

body.theme-light .price-offer-form .card>.card-header {
    background: rgba(241, 245, 249, 0.6) !important;
    color: #aaa !important;
    border-bottom-color: rgba(226, 232, 240, 0.8);
}

.price-offer-form .card>.card-header .card-title {
    color: #aaa !important;
}

#price-offer-app .item-card .card-header {
    background: rgba(30, 41, 59, 0.6) !important;
    color: #aaa !important;
}

#price-offer-app .row-type-title .card-header {
    background: rgba(232, 244, 253, 0.6) !important;
    color: #aaa !important;
}

#price-offer-app .row-type-product .card-header {
    background: rgba(255, 243, 205, 0.6) !important;
    color: #aaa !important;
}

#price-offer-app .row-type-service .card-header {
    background: rgba(204, 229, 255, 0.6) !important;
    color: #aaa !important;
}

#price-offer-app .row-type-total .card-header {
    background: rgba(212, 237, 218, 0.6) !important;
    color: #aaa !important;
}

/* In dark mode, make item titles clearly visible */
body.theme-dark #price-offer-app .item-card .card-header span {
    color: #ffffff !important;
}

.page-body .container-xl .card .card-footer,
.content-body .card-footer {
    background: transparent !important;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

body.theme-light .page-body .container-xl .card .card-footer,
body.theme-light .content-body .card-footer {
    border-top-color: rgba(226, 232, 240, 0.8);
}


/* ---------- CRUD tables & search inputs (match navbar) ---------- */

.content-body {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 24px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.45);
}

body.theme-light .content-body {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.6) 0%, rgba(226, 232, 240, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.table_buttons .btn-outline-info,
.table_buttons .btn-primary {
    border-radius: 999px !important;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.table_buttons .btn-outline-info:hover,
.table_buttons .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}


/* Search / filter row – glass 40%, pill inputs */

.content-body .controls {
    border-radius: 999px !important;
    border: 1px solid rgba(148, 163, 184, 0.5) !important;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

body.theme-light .content-body .controls {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(203, 213, 225, 0.8) !important;
}

.content-body .controls .form-control.search-input,
.content-body .controls .search-input {
    border: none !important;
    background: transparent !important;
    border-radius: 999px !important;
    padding: 0.55rem 2rem 0.55rem 1rem !important;
}

body.theme-light .content-body .controls .form-control.search-input,
body.theme-light .content-body .controls .search-input {
    color: #0f172a;
}

.content-body .controls .clean-input {
    right: 12px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.3);
    border: none;
}

[dir="rtl"] .content-body .controls .clean-input,
html[dir="rtl"] .content-body .controls .clean-input {
    right: auto;
    left: 12px;
}


/* Table wrapper – glass 40%, blurred */

.table_content_append {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

body.theme-light .table_content_append {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(226, 232, 240, 0.8);
}

.page-body .table_content_append .table,
.content-body .table_content_append .table {
    margin: 0 !important;
    border-radius: 18px;
    overflow: hidden;
    border: none !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.theme-light .page-body .table_content_append .table,
body.theme-light .content-body .table_content_append .table {
    background: rgba(255, 255, 255, 0.6) !important;
}

.page-body .table_content_append .table thead tr,
.content-body .table_content_append .table thead tr {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.theme-light .page-body .table_content_append .table thead tr,
body.theme-light .content-body .table_content_append .table thead tr {
    background: rgba(241, 245, 249, 0.6) !important;
}

.page-body .table_content_append .table thead th,
.content-body .table_content_append .table thead th {
    border: none !important;
    padding: 0.85rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.8rem;
}

.page-body .table_content_append .table tbody tr,
.content-body .table_content_append .table tbody tr {
    background: transparent !important;
}

.page-body .table_content_append .table tbody td,
.content-body .table_content_append .table tbody td {
    padding: 0.85rem 1.25rem !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
    background: transparent !important;
}

body.theme-light .page-body .table_content_append .table tbody td,
body.theme-light .content-body .table_content_append .table tbody td {
    border-bottom-color: rgba(226, 232, 240, 0.9) !important;
}

.page-body .table_content_append .table tbody tr:hover,
.content-body .table_content_append .table tbody tr:hover {
    background: rgba(148, 163, 184, 0.2) !important;
    transform: none;
}

body.theme-light .page-body .table_content_append .table tbody tr:hover,
body.theme-light .content-body .table_content_append .table tbody tr:hover {
    background: rgba(241, 245, 249, 0.6) !important;
}


/* All other tables (inside cards, show pages, etc.) – glass 40%, blurred */

.page-body .container-xl .table {
    margin: 0 !important;
    border-radius: 18px;
    overflow: hidden;
    border: none !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.theme-light .page-body .container-xl .table {
    background: rgba(255, 255, 255, 0.6) !important;
}

.page-body .container-xl .table thead tr {
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.theme-light .page-body .container-xl .table thead tr {
    background: rgba(241, 245, 249, 0.6) !important;
}

.page-body .container-xl .table thead th {
    border: none !important;
    padding: 0.85rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.8rem;
}

.page-body .container-xl .table tbody tr {
    background: transparent !important;
}

.page-body .container-xl .table tbody td {
    padding: 0.85rem 1.25rem !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
    background: transparent !important;
}

body.theme-light .page-body .container-xl .table tbody td {
    border-bottom-color: rgba(226, 232, 240, 0.9) !important;
}

.page-body .container-xl .table tbody tr:hover {
    background: rgba(148, 163, 184, 0.2) !important;
    transform: none;
}

body.theme-light .page-body .container-xl .table tbody tr:hover {
    background: rgba(241, 245, 249, 0.6) !important;
}


/* Force 40% table transparency over any other stylesheet (index_page, Tabler, etc.) */

body .page-body .table_content_append .table,
body .content-body .table_content_append .table,
body .page-body .container-xl .table {
    background-color: rgba(15, 23, 42, 0.6) !important;
    background-image: none !important;
}

body.theme-light .page-body .table_content_append .table,
body.theme-light .content-body .table_content_append .table,
body.theme-light .page-body .container-xl .table {
    background-color: rgba(255, 255, 255, 0.6) !important;
    background-image: none !important;
}

body .page-body .table_content_append .table thead tr,
body .content-body .table_content_append .table thead tr,
body .page-body .container-xl .table thead tr {
    background-color: rgba(30, 41, 59, 0.6) !important;
    background-image: none !important;
}

body.theme-light .page-body .table_content_append .table thead tr,
body.theme-light .content-body .table_content_append .table thead tr,
body.theme-light .page-body .container-xl .table thead tr {
    background-color: rgba(241, 245, 249, 0.6) !important;
    background-image: none !important;
}

body .page-body .table_content_append .table tbody tr,
body .content-body .table_content_append .table tbody tr,
body .page-body .container-xl .table tbody tr {
    background-color: transparent !important;
    background-image: none !important;
}

body .page-body .table_content_append .table tbody td,
body .content-body .table_content_append .table tbody td,
body .page-body .container-xl .table tbody td {
    background-color: transparent !important;
    background-image: none !important;
}

.pagination .page-item .page-link {
    border-radius: 999px !important;
    padding: 0.4rem 0.85rem;
    margin: 0 2px;
}

.page-body .container-xl {
    padding-top: 18px;
    padding-bottom: 26px;
}

.files_uploader_container {
    border-radius: 18px;
    padding: 12px !important;
    background: rgba(15, 23, 42, 0.95);
    border: 1px dashed rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 110px;
    position: relative;
    cursor: pointer;
}

body.theme-light .files_uploader_container {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(148, 163, 184, 0.6);
}

.files_uploader_container img,
.files_uploader_container video {
    border-radius: 12px;
    max-height: 84px;
    object-fit: cover;
}

.files_uploader_container.empty::before {
    content: "";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.8);
    margin-inline-end: 8px;
    position: relative;
    background-color: rgba(148, 163, 184, 0.5);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 17V19C4 20.1046 4.89543 21 6 21H18C19.1046 21 20 20.1046 20 19V17' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 3V15' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 7L12 3L16 7' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.files_uploader_container.empty::after {
    content: attr(data-placeholder);
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.8rem;
    white-space: nowrap;
}


/* All inputs & selects – glass 40%, blurred (all admin blades) */

.form-control,
.form-select {
    border-radius: 999px !important;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    padding-inline: 1rem;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.theme-light .form-control,
body.theme-light .form-select {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(203, 213, 225, 0.8) !important;
}

textarea.form-control {
    border-radius: 25px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.theme-light textarea.form-control {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(203, 213, 225, 0.8) !important;
}


/* Custom style for file inputs (hidden; exclude from glass) */

input[type="file"].form-control,
input[type="file"] {
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    position: absolute;
    z-index: -1;
}


/* file name text */

input[type="file"]::-webkit-file-upload-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.theme-light input[type="file"].form-control,
body.theme-light input[type="file"] {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.6);
}


/* Style the "choose file" button part */

input[type="file"]::file-selector-button {
    display: none;
}

input[type="file"]::file-selector-button:hover {}

input[type="file"]::file-selector-button:active {}