﻿:root {
    --secondry-color: #026c86;
    /* --icon-bg-color: #F6F6F6; */
    --icon-bg-color: #A4A4A4;
    --main-text-color: #444444;
    --border-color: rgba(255, 255, 255, 0.79);
    --chat-box-color: #ffffff;
    --dashboard-primary-color: #f1f1f1;
    --delete-color: #dc3545;
    --template-color: #626262;
    --dashboard-hover: #102864;
    --received-message-color: #5E83DC;
    --white-color: #ffffff;
    --border-main-color: #d5d5d5;
    --hover-color: linear-gradient(90deg, rgb(255 205 88 / 48%), #ffffff00);
    --chat-bg-color: #FAF8F3;
    --body-bg-color: #fafafa;
}
/*.super-admin-sidebar {
    width: 18%;
}*/

.admin-delete {
    background: var(--delete-color);
    color: var(--chat-box-color) !important;
}
.super-admin-status {
    justify-content: space-between !important;
    display: flex;
    width: 100%;
    align-items: center;
}

/*.active-nav > a {
    color: var(--primary-color) !important;
}*/

.card-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-left: 0.6rem;
}

    .card-container .col {
        margin-top: 0.5rem;
        width: 24.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        cursor: pointer;
        border: 1px solid #d5d5d5;
    }

        .card-container .col .item-name {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 1px solid var(--border-main-color);
            padding-bottom: 0.5rem;
            color: var(--main-text-color);
        }



.not-found-template {
    width: 100%;
    height: 100%;
}


.card-btn {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.view-btn {
    width: 5rem;
    border-radius: 6px;
    color: white !important;
}

    .view-btn:hover {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px 3px 6px 0px;
    }

.card-label {
    font-size: 1rem;
}

.site-nav-icon {
    display: none !important;
}

@media screen and (max-width:1600px) {
    .site-wrap {
        width: 100vw;
    }
}


@media screen and (max-width: 768px) {
    /*    .site-nav {
        display: none;
    }*/

    .main-header-section {
        margin-left: 1rem;
    }

    /*    .site-nav-icon {
        display: block !important;
        position: absolute;
        top: 2.5rem;
        left: 1rem;
        font-size: 1rem;
    }*/
}

.empty_validation {
    outline: solid 1px red;
}

.dashboard-body {
    font-size: 12px;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    overflow-y: hidden;
}

/*.site-wrap {
    width: 120rem;
    position: relative;
    display: flex;
    height:96%;
}*/

.site-wrap {
    display: grid;
    height: 95vh;
    width: 120rem;
    /*grid-template-columns: 280px 1fr;*/
    position: relative;
    grid-template-columns: 14% 86%;
}

.password-show {
    -webkit-text-security: none;
}

.password-hide {
    -webkit-text-security: disc;
}

.title:focus {
    outline: none;
}

.title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--main-text-color);
    text-align: center;
}

.site-nav {
    color: black;
    /*    border-top-left-radius: 2rem;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    /*width: 30%;*/
    background: var(--chat-bg-color);
    border-right: 1px solid var(--border-main-color);
}


    .site-nav a {
        color: var(--primary-color);
    }

        .site-nav a ul {
            margin-bottom: auto;
        }

            .site-nav a ul li {
                color: var(--primary-color);
            }

    .site-nav ul li a {
        display: block;
        text-decoration: none;
        /* padding: 0.75rem 0.5rem 0.75rem 2rem; */
        /* position: relative; */
        font-size: 1.2rem;
        color: var(--main-text-color);
        margin-top: 0.1rem;
        height: 4rem;
        display: flex;
        align-items: center;
        padding-left: 1rem;
    }

/*ul li a:hover {*/
/*background: linear-gradient(90deg, rgb(255 205 88 / 48%), #ffffff00);*/
/* margin-left: 1rem; */
/*margin-right: 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--main-text-color);
}*/

.active-nav {
    background: var(--secondry-color);
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 15px;
}

    .active-nav:hover ul li a {
        background: var(--secondry-color);
        color: #ffff;
    }

    .active-nav .nav-link {
        color: var(--primary-color) !important;
        background: transparent;
        border: none;
    }

    .active-nav > a ul {
        padding-left: 1rem;
        margin-bottom: 0.5rem;
    }

        .active-nav > a ul a {
            padding-top: 0.4rem;
            padding-bottom: 0.4rem;
            color: var(--primary-color);
        }

            .active-nav > a ul a:hover {
                background: var(--main-text-color);
            }


.active-super {
    background: var(--rz-primary);
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 15px;
    color: var(--white-color);
}

    .active-super > a {
        color: white !important;
    }


.site-nav-list li {
    color: var(--primary-color);
}

header {
    height: 5rem;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 2px solid white;
    position: relative;
    background: var(--chat-bg-color);
    display:flex;
    border-bottom: 1px solid var(--border-main-color);
}

.header-flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    /*border-bottom: 1px solid var(--border-main-color);*/
    border: 1px solid #e5e5e5;
    border-top-left-radius: 1rem;
                    border-top-right-radius: 1rem;
    background: var(--chat-box-color);
}



.template-header {
    display: flex;
    justify-content: space-between;
}

header .main-header-section {
    text-align: center;
    font-size: 1.2rem;
    height: 2rem;
    width: 100%;
    display: flex;
    gap: 1rem;
    justify-content: end;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
}

.open-model-lable {
    width: fit-content;
    cursor: pointer;
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 5px;
    background: var(--rz-primary);
    color: var(--chat-box-color);
    font-size: 1rem;
    transition: all 0.2s;
    font-weight: normal;
    height:35px;
}

    .open-model-lable:hover {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px 3px 6px 0px;
    }

.note {
    width: calc(50% - 100%)rem;
    border-radius: 10px;
    position: absolute;
    bottom: -2rem;
    left: 4.5rem;
    text-align: center;
}

    .note h3 {
        font-size: 0.9rem;
        margin: 0 0 0.4rem 0;
    }

    .note p {
        color: var(--secondry-color);
    }

        .note p a {
            color: var(--secondry-color);
        }

    .note a p {
        color: var(--secondry-color);
    }

    .note a h3 {
        color: var(--secondry-color);
        font-weight: bold;
    }


.status-title {
    font-size: 1.2rem;
    color: var(--main-text-color);
}

.not-found-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    margin-top: 5rem;
    color: #d5d5d5;
}


.dashboard-name {
    font-size: 1rem;
    font-weight: bolder;
    position: relative;
    color: var(--main-text-color);
    text-align: center;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 94%;
}
.dashboard-body .site-wrap main {
    background: var(--chat-box-color);
    height: 100%;
    border-bottom: 2px solid #ffff;
    /*min-width: 82%;*/
}

.content-columns {
    height: 92vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 2rem;
    align-content: flex-start;
    overflow: auto;
}

   .col {
        min-height: 10rem;
        height: fit-content;
        min-width: 18.5rem;
        width: 17rem;
        padding: 1rem;
        box-shadow: 0 0 5px rgba(black, 0.04);
        border-radius: 5px;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        background: #fafafa;
        transition: all 0.5s;
        border: 1px solid #e5e5e5;
    }

        .col .item-name {
            min-height: 3rem;
            font-size: 0.9rem;
            /*font-weight: 600;*/
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }


    .col:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

.agent-name {
    color: var(--white-color);
}

.btn-alert {
    width: fit-content;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    background: var(--delete-color);
    border-radius: 5px;
    cursor: pointer;
}

    .btn-alert:hover {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px 3px 6px 0px;
    }

.department-columns {
    border-radius: 3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    width: 100%;
    background: var(--border-color);
}

.agent-columns {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow: auto;
    gap: 1rem;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: var(--chat-box-color);
    height: 100vh;
}

.item-label {
    font-size: 0.9rem;
    min-height: 1.5rem;
    color: var(--main-text-color);
}

.item {
    background: white;
    box-shadow: 0 2px 4px rgba(black, 0.07);
    min-height: 3rem;
    border-radius: 5px;
    font-size: 1rem;
    border: 1px solid var(--border-main-color);
    display: flex;
    padding-left: 1rem;
    align-items: center;
    color: var(--main-text-color);
}

.button {
    background: none;
    border: none;
    color: inherit;
}

.item-input {
    width: 100%;
    display: flex;
}

.item-password {
    position: inherit;
    width: 100%;
    height: 100%;
}

.item-input button {
    margin-left: -2rem;
}

.dashboard-user {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.nav-tabs a {
    margin-right: 2rem;
    display: inline-block;
    padding: 1rem 0 1rem 0;
    font-size: 1.15rem;
    color: #8c939e;
    position: relative;
}

.nav-tabs .active {
    color: var(--secondry-color);
    font-weight: 600;
}

    .nav-tabs .active span {
        background: var(--secondry-color);
        color: var(--primary-color);
    }

        .nav-tabs .active span::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: #457ace;
            border-top-right-radius: 10px;
            border-top-left-radius: 10px;
        }

.nav-tabs a .active span::after span {
    border-radius: 10px;
    font-size: 0.8rem;
    padding: 0.25rem 0.4rem;
    font-weight: 600;
    vertical-align: middle;
    position: relative;
    top: -2px;
    background: #dfe0e2;
    color: #868d99;
}

.edit-database {
    font-weight: normal;
    cursor: pointer;
}

.templates-panel {
    font-size: 0.9rem;
}

.grid-container {
    /*    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    column-gap: 0px;
    max-width: 85vw;*/
    width: 100%;
}

.text-center {
    text-align: center;
}

.approved, .rejected, .pending {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem;
    color: white;
    height: 2rem;
    border-radius: 5px;
    background: #218754;
}

.rejected {
    background-color: var(--delete-color);
}

.pending {
    background-color: lightcoral;
}

.grid-item {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    border-bottom: 1.5px solid var(--border-color);
}

.grid-header {
    background-color: var(--secondry-color);
    color: var(--primary-color);
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.grid-item i {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    cursor: pointer;
}




.modal-inline-input {
    display: flex;
    gap: 0.5rem;
    padding-left: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.button-modal-send {
    background: var(--secondry-color);
    padding: 0.6rem;
    border-radius: 5px;
    font-size: 1rem;
    color: #ffffff !important;
}

.template-input-body {
    height: 15rem;
    width: 80%;
    font-size: 1.2rem;
    padding: 0.3rem;
    border-radius: 5px;
}


.input-template {
    width: 80%;
}


.input-class {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--main-text-color);
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background: #F7F7F7;
}

    .input-class:focus {
        text-align: left;
        color: var(--main-text-color);
        background-color: var(--primary-color);
        border-color: var(--border-main-color);
        outline: 0;
    }


.department-required {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--main-text-color);
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background: #F7F7F7;
}

    .department-required:focus {
        text-align: left;
        color: var(--main-text-color);
        background-color: var(--primary-color);
        border-color: var(--border-main-color);
        outline: 0;
    }


.padding-left-2 {
    margin-left: 2rem;
    margin-right: 2rem;
}

.padding-left-1 {
    padding-left: 1rem;
}

.department-header {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
}

.header-template-section {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
}

.department-header .input-class {
    width: 15rem;
    margin-top: -1rem;
    background: var(--chat-box-color);
}

.btn-create {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem;
    color: var(--primary-color);
    border-radius: .3rem;
    background: var(--secondry-color);
}

.creat-btn {
    color: var(--chat-box-color) !important;
    border: none !important;
}

.border {
    border-radius: 0.375rem;
    border: 1px solid var(--border-main-color);
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
}


.agent-info-col {
    padding-left: 1rem;
    border: 1px solid #e5e5e5;
}
/*---template-css---*/
.table {
    width: 100%;
    border-collapse: collapse;
}

.table-header {
    width: 100%;
    background: var(--secondry-color);
    position: sticky;
    top: 0;
}

.heading-container {
    background: var(--secondry-color);
}

td {
    border-bottom: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
    color: var(--main-text-color);
}

tr:nth-child(even) {
    background-color: #fff;
}

th {
    text-align: left;
    font-size: 1.1rem;
    padding: 0.7rem;
    color: var(--primary-color);
}

.center-heading {
    text-align: center;
}

.content-body {
    width: 50%;
    padding: 8px 2rem;
}

.table-row:hover {
    background: antiquewhite;
    cursor: pointer;
}

.id-row {
    width: 10%;
    text-align: left;
}

.template-name {
    width: 10%;
    text-align: left;
}

.category-row {
    text-align: left;
}

.row-button {
    text-align: center;
    min-width: 6rem;
}

    .row-button i {
        padding-right: 10px;
    }

.edit {
    cursor: pointer;
}

.as-start {
    align-self: flex-start;
}

.light-gray-color {
    color: #626262;
}

.mt-1 {
    margin-top: .5rem;
}


/*404 Server Error Page*/
.server-error-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .server-error-container img {
        width: 40%;
        margin-inline: auto;
    }


.server-error-button {
    background: #263238;
    border: none;
    font-size: 14px;
    color: white;
    margin-inline: auto;
    padding: 6px;
    border-radius: 5px;
}

.server-error-text-container {
    color: #5F5F5F;
    text-align: center;
    margin-top: -3rem;
}

    .server-error-text-container p:nth-child(1) {
        font-size: 22px;
    }

    .server-error-text-container p:nth-child(2) {
        font-size: 18px;
        margin-bottom: 10px
    }

