/* Import PrimeReact's default theme */
@import 'primereact/resources/themes/lara-light-indigo/theme.css';

/* Import PrimeReact's core styles */
@import 'primereact/resources/primereact.min.css';

/* Import PrimeIcons for icons (if needed) */
@import 'primeicons/primeicons.css';

:root {
    --primary-color: rgb(6 6 6);
    /* --primary-color: rgb(70, 128, 255); */
    --primary-color-100: rgba(70, 128, 255, 0.08);
    --text-color: rgb(29, 38, 48);
    --body-color: rgb(248, 249, 250);
    --sidebar-color: rgb(91, 107, 121);

    --text-dark: #323232;

    --white-color: #FFFFFF;

    --font: "Inter", serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    color: var(--text-color);
    background-color: var(--body-color);
}

/* utils */
button {
    border: 0;
}

h2 {
    font-size: 1.875rem;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
}

.button {
    padding: 8px 25px;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    min-height: 44px;
    font-size: 14px;
    transition: all .3s ease;
}

.button.sm {
    padding: 8px 10px;
    min-height: auto;
}

.button.button-trans {
    color: rgb(63, 120, 255);
    background: transparent;
}

.button.button-secondary:hover,
.button.button-trans:hover {
    color: rgb(63, 120, 255);
    background: rgb(233, 240, 255);
}

.button.button-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.button.button-primary:hover {
    background-color: var(--text-color);
    color: var(--white-color);
}

.button.button-secondary {
    color: #121212;
    background-color: #eee;
}

.form-select,
.form-control {
    box-shadow: unset !important;
}

:is(.form-select, .form-control).theme-control {
    padding: 10px 14px;
    border-radius: 8px !important;
    font-size: 14px;
    min-height: 44px;
}

.form-control.theme-contorl:focus {
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-dark {
    color: rgba(61, 67, 72, 1);
}

.font-sm {
    font-size: .875rem;
}

.font-xs {
    font-size: .75rem;
}

.input-wrap :is(i,svg) {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    text-align: center;
    color: var(--sidebar-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
border-color: var(--primary-color);
}
.form-check-input:focus {
border-color: rgba(0,0,0,0.6);}

/* dashboard */
.dashboard-wrapper {
    display: flex;
    height: 100dvh;
}

.dashboard-wrapper .dashboard-sidebar {
    background-color: var(--white-color);
}

.dashboard-wrapper .dashboard-container {
    width: calc(100% - 250px);
}

/* sidebar */
.sidebar-wrap {
    width: 15.625rem;
}

.sidebar-wrap .sidebar-logo {
    padding: .625rem 1.5rem;
    text-align: center;
}

.sidebar-wrap .sidebar-logo img {
    height: 3.5rem;
}

.menu-group {
    max-height: calc(100dvh - 76px);
    overflow: auto;
}

.menu-block ul a {
    display: flex;
    align-items: center;
    gap: .9375rem;
    border-radius: .5rem;
    padding: .95rem 1.25rem;
    font-size: .875rem;
    margin-top: .375rem;
    color: var(--sidebar-color);
}

.menu-block ul a.active,
.menu-block ul a:hover {
    color: var(--primary-color);
    background-color: var(--primary-color-100);
}

.menu-block {
    padding: .75rem;
}

.menu-block:not(:last-child) {
    padding-bottom: 0;
}

/* dashboard header */
.dash-header {
    padding: .75rem 3rem;
}

.icon-base {
    height: 2.75rem;
    width: 2.75rem;
    border-radius: .625rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(91, 107, 121, 0.9);
    transition: all .3s ease;
    cursor: pointer;
}

.icon-base:hover,
.hamburger:hover {
    background-color: rgba(91, 107, 121, 0.1);
}

.avatar {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 3.125rem;
    overflow: hidden;
}

.avatar img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.dropdown__menu {
    position: absolute;
    top: 100%;
    right: 0;
    border-radius: 8px;
    z-index: 8;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}
.dropdown-wrap.option .dropdown__menu :is(a, div) {
    padding: 5px 30px 5px 15px;
    min-width: 70px;
width: 135px;
display: inline-block;
}
.dropdown__menu :is(a, div) {
    padding: 15px 20px;
    min-width: 180px;
    background: white;
}
.dropdown__menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* dashboard content */
.dash-content {
    height: calc(100dvh - 72px);
    overflow: auto;
    padding: 2rem 3rem 0 3rem;
}

/* dashboard footer */
.dash-footer {
    padding: 1.25rem 0;
}
.table-responsive {
    border-inline: 1px solid hsla(0, 0%, 0%, 0.1);
}
.table {
    font-size: 13px;
/* min-height: 300px; */
    border-block: 1px solid hsla(0, 0%, 0%, 0.1);
}
.table-responsive thead th {
    background: rgba(239,239,239,.1) !important;
}
.table-controls,
.table-title {
    padding: 1rem 1.5rem;
}
.table th {
    text-wrap: nowrap;
}
table.table:not(.custom-table) tr :is(th, td):first-child {
    padding-left: 1.5rem;
}
table.table:not(.custom-table) tr :is(th, td):last-child {
    padding-right: 1.5rem;
}
table.table tr :is(th, td) {
    padding-block: 12px;
    white-space: nowrap;
}
table.table tr td span {
    --color: 218, 134, 0;
    padding: 4px 8px;
line-height: 1;
    font-weight: 600;
    font-size: 11px;
min-width: 40px;
display: inline-block;
    border-radius: 20px;
    color: rgb(var(--color));
    border: 1px solid rgba(var(--color), 0.2);
    background-color: rgba(var(--color),.1);
}
table.table tr td span.danger-tag {
    --color: 255,0,0;
}
table.table tr td span.domain-tag {
    --color: 0, 112, 255;
}
table.table tr td span.rd-tag {
    --color: 136, 0, 255;
}
table.table.custom-table {
    table-layout: fixed;
}

table.table.custom-table tr :is(th, td):nth-child(2) {
    width: 20%;
    word-break: break-all;
    text-wrap: nowrap;
}

table.table.custom-table tr :is(td):nth-child(2) {
    overflow: hidden;
}

table.table.custom-table tr :is(th, td):nth-child(1) {
    width: 4%;
    text-align: center;
}

table.table.custom-table tr :is(th, td):nth-child(3) {
    text-align: center;
    width: 7%;
}

table.table.custom-table tr :is(th, td):nth-child(4) {
    width: 6%;
    text-align: center;
}

table.table.custom-table tr :is(th, td):nth-child(5) {
    text-align: center;
    width: 6%;
}

table.table.custom-table tr :is(th, td):nth-child(6) {
    width: 10%;
}

table.table.custom-table tr :is(th, td):nth-child(7) {
    width: 20%;
    text-wrap: wrap;
    word-break: break-all;
}

table.table.custom-table tr :is(th, td):nth-child(8) {
    width: 13%;
}

table.table.custom-table tr :is(th, td):nth-child(9),
table.table.custom-table tr :is(th, td):nth-child(10),
table.table.custom-table tr :is(th, td):nth-child(11) {
    width: 12%;
}

table.table.custom-table tr :is(td) {
    overflow: hidden;
}

.theme-label {
    font-size: 14px;
    font-weight: 600;
    color: #121212;
}

.upload-label {
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    gap: 5px;
    color: #777777;
}

.cross-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    cursor: pointer;
}

/* add domain */
.right-sidebar {
    max-width: 370px;
    width: 100%;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    background: var(--white-color);
    transform: translateX(100%);
    transition: all .3s ease;
    z-index: 9;
}

.right-sidebar.active {
    transform: translateX(0);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.right-sidebar.active + .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.right-sidebar .sidebar-head {
    padding: 15px 20px;
}

.right-sidebar .sidebar-body {
    padding: 20px 20px 40px 20px;
    overflow: auto;
    height: calc(100% - 54px);
}

.theme-control .react-select__control {
    border-radius: 8px;
    min-height: 44px;
    border-color: #dee2e6;
}

.theme-control.filter-select .react-select__control {
    min-height: unset;
min-width: 150px;
}   

.theme-control.th-select .react-select__control {
    min-height: unset;
min-width: unset;
border: 0;
}
.theme-control.th-select .react-select__indicator {
    display: none;
}

.theme-control.th-select .react-select__value-container {
color: #121212;
padding: 0;
}

.theme-control .react-select__indicator-separator {
    display: none;
}

.head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.head-left img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.domain-base {
    padding: 10px;
}

.domain-content .content-row {
    display: grid;
    grid-template-columns: 55% 45%;
}

.domain-content .content-row .content-item {
    font-size: 14px;
}

.domain-head {
    padding: 20px;
}

.domain-content .content-row .content-item.left {
    padding: 12px 12px 12px 24px;
}

.domain-content .content-row .content-item.right {
    padding: 12px 24px 12px 12px;
}

/* add domain ends */
/* login pages */
.scrollable-dvh {
    height: 100dvh;
    overflow: auto
}

/* login pages ends */
.form-control.is-invalid,
.was-validated .form-control:invalid {
    background-image: unset;
}

/* form design */
.theme-tabs .p-tabview-nav {
    width: fit-content;
    padding: 5px;
    margin-inline: auto;
    border: 1px solid rgb(225 225 225);
    background: rgb(245 245 245);
    border-radius: 50px;
}

.theme-tabs .p-tabview-nav .p-unselectable-text {
    width: 100%;
}

.theme-tabs .p-tabview-nav .p-tabview-nav-link {
    border: 0;
    background: transparent;
    overflow: visible;
    justify-content: center;
    padding: 14px 20px;
    min-width: 100px;
    color: var(--primary-color);
    border-radius: 50px;
}

.theme-tabs .p-tabview-nav .p-tabview-selected .p-tabview-nav-link {
    /* border: 1px solid rgba(0, 0, 0, 0.1); */
    background: var(--primary-color);
    color: var(--white-color);
}

/* form design ends */


.invalid-feedback {
    display: inline-block;
}

.invalid-feedback:empty {
    display: none;
}
.react-tel-input .flag-dropdown.open .selected-flag,
.react-tel-input .flag-dropdown {
    border-radius: 8px 0 0 8px !important;
    background: transparent !important;
    /* overflow: hidden; */
}
.react-tel-input .selected-flag:hover, .react-tel-input .selected-flag:focus {
    background: transparent !important;
}

.auth-wrap {
    background: rgb(6 6 6);
    border: 10px solid var(--white-color);
    border-radius: 30px;
}

/* modal design */
.theme-modal {
    border-radius: 15px;
    width: 100%;
    background: var(--white-color);
}
.theme-modal div[data-pc-section="header"] {
    padding: 15px 20px;
}
.theme-modal.p-dialog .p-dialog-header {
    background: transparent;
}
.theme-modal .p-dialog-content {
    background: transparent;
    padding: 0 20px 15px;
}

/* modal design ends */
.permission-wrap {
    max-height: 310px;
    overflow: auto;
    scrollbar-width: thin;
}

.percentage,
.team-card .team-head .initials {
    height: 40px;
    width: 40px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-weight: 700;
    background-color: rgba(6,6,6,.1);
}

.p-paginator {
    background: transparent;
}
.p-paginator .p-paginator-pages .p-paginator-page {
    border-radius: 50px;
}
.p-paginator .p-paginator-pages .p-paginator-page.p-highlight {
    background: rgba(6,6,6,.1);
    color: rgba(6,6,6,1);
}
.table th button {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}
.table th .dropdown-menu {
    font-size: 13px;
}
.react-select__option--is-selected {
color: var(--primary-color) !important;
background-color: transparent !important;}