@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
    --craveo-bg: #fafafa;
    --craveo-surface: #ffffff;
    --craveo-soft: #f1f1f1;
    --craveo-border: #ededed;
    --craveo-text: #111111;
    --craveo-muted: #8a8a8a;
    --craveo-dark: #191919;
    --craveo-shadow: 0 18px 50px rgba(17, 17, 17, 0.075);
    --craveo-soft-shadow: 0 10px 28px rgba(17, 17, 17, 0.055);
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(25, 25, 25, 0.045), transparent 24%),
        radial-gradient(circle at 92% 7%, rgba(0, 0, 0, 0.035), transparent 22%),
        var(--craveo-bg);
    color: var(--craveo-text);
    font-family: "Inter", sans-serif;
}

body.rtl {
    direction: rtl;
    text-align: right;
    font-family: "Tajawal", "Inter", sans-serif;
}

body.rtl * {
    letter-spacing: normal !important;
}

.container,
.dashboard-content-inner {
    max-width: 1180px;
}

#wrapper,
.dashboard-container,
.dashboard-content-container,
.dashboard-content-inner {
    background: transparent;
}

#header,
#header-container,
.dashboard-header {
    border: 0;
    background: rgba(250, 250, 250, 0.9);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.045);
    backdrop-filter: blur(18px);
}

#logo img,
.dashboard-avatar img,
.user-avatar img {
    border-radius: 50%;
}

.intro-banner,
.single-page-header,
.dashboard-box,
.boxed-widget,
.pricing-plan,
.blog-post,
.payment-tab,
.submit-field,
.notification,
.dashboard-box-list,
.dashboard-box .content,
.boxed-list,
.fun-fact,
.card,
.table-box {
    border: 1px solid var(--craveo-border);
    border-radius: 28px;
    background: var(--craveo-surface);
    box-shadow: var(--craveo-soft-shadow);
}

.dashboard-box .headline,
.boxed-widget-headline,
.boxed-list-headline {
    border-bottom: 1px solid var(--craveo-border);
    border-radius: 28px 28px 0 0;
    background: #fff;
}

.dashboard-headline h3,
.section-headline h3,
.headline h3,
h1,
h2,
h3 {
    color: var(--craveo-text);
    font-weight: 900;
}

p,
.dashboard-headline span,
.section-headline span,
.headline span,
.boxed-widget p,
.blog-post-content p {
    color: var(--craveo-muted);
}

.button,
button.button,
input[type="button"],
input[type="submit"],
.button.dark,
.button.gray:hover,
.btn-primary,
.pagination ul li a.current-page {
    border: 0;
    border-radius: 999px;
    background: var(--craveo-dark);
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.14);
    color: #fff;
    font-weight: 900;
}

.button:hover,
button.button:hover,
input[type="submit"]:hover,
.btn-primary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select,
.bootstrap-select .dropdown-toggle,
.chosen-container-single .chosen-single {
    min-height: 48px;
    border: 1px solid var(--craveo-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
    color: var(--craveo-text);
    font-weight: 700;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(25, 25, 25, 0.25);
    box-shadow: 0 0 0 4px rgba(25, 25, 25, 0.055);
}

.dashboard-sidebar {
    border-inline-end: 1px solid var(--craveo-border);
    background: #fff;
}

.dashboard-nav ul li a {
    border-radius: 16px;
    color: #555;
    font-weight: 800;
}

.dashboard-nav ul li.active-submenu a,
.dashboard-nav ul li a:hover,
.dashboard-nav ul li.active a {
    color: var(--craveo-text);
    background: var(--craveo-soft);
}

.dashboard-box-list > li,
.boxed-list-item,
.notification {
    border-bottom-color: var(--craveo-border);
}

table.basic-table,
.dataTables_wrapper {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
}

table.basic-table th,
table.basic-table td,
table.dataTable th,
table.dataTable td {
    border-color: var(--craveo-border);
}

.template-card,
.template-item,
.radio-card,
.restaurant-template,
.post-template-card,
.qr-template-card {
    border-radius: 24px !important;
    box-shadow: var(--craveo-soft-shadow) !important;
}

.craveo-mobile-app-panel {
    position: relative;
    margin: 18px 0;
    padding: 20px;
    border: 1px solid var(--craveo-border);
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--craveo-shadow);
}

.craveo-mobile-app-panel::before {
    content: '';
    position: absolute;
    inset-inline-start: 28px;
    top: -8px;
    width: 58px;
    height: 5px;
    border-radius: 999px;
    background: var(--craveo-dark);
    opacity: 0.9;
}

.blog-post-thumbnail img,
.listing-item img,
.payment-logo img,
.avatar-wrapper img,
.image-preview img {
    border-radius: 22px;
}

.footer,
#footer {
    background: #111;
    color: #fff;
}

body.rtl .dashboard-nav ul,
body.rtl .dashboard-headline,
body.rtl .headline,
body.rtl .submit-field,
body.rtl .dashboard-box,
body.rtl .boxed-widget,
body.rtl .blog-post-content,
body.rtl .pricing-plan {
    direction: rtl;
    text-align: right;
}

body.rtl .headline-right,
body.rtl .float-right {
    float: left !important;
}

body.rtl .ml-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

@media (max-width: 768px) {
    body {
        background: var(--craveo-bg);
    }

    .dashboard-content-inner {
        padding-inline: 16px;
        padding-bottom: 120px;
    }

    .dashboard-box,
    .boxed-widget,
    .pricing-plan,
    .blog-post {
        border-radius: 24px;
    }

    .button,
    button.button,
    input[type="submit"] {
        min-height: 50px;
    }
}
