@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

body {
    background-color: #e1e1e1;
    color: #1e1f20;
    font-family: "Lexend Deca", sans-serif !important;
    overflow-x: hidden;
}

.card-header {
    background-color: transparent;
}

.logout {
    background-color: #c90032;
    color: white;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 15px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.logout-new {
    background-color: red;
}

.logout:hover {
    background-color: #a7002a;
}

form.new {
    width: calc(95%);
    max-width: calc(1000px);
    margin: 0 auto;
}

form.new .container {
    width: 100%;
    margin: 20px 0px;
}

.new-width {
    width: 100%;
}


.container-card {
    max-width: 500px;
    padding: 25px;
}


.dashboard-container {
    max-width: 1200px;
    width: 100%;
    padding: 25px;
}

.main-title {
    font-size: 45px;
    margin-bottom: 30px;
    text-align: center;
}

.input-group-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.input-group-wrapper>.input-group {
    width: 50%;
    margin-bottom: 0px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group.w-30 {
    width: 30%;
}

.input-group.w-70 {
    width: 70%;
}

.input-group.w-100 {
    width: 100%;
}

label {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
    color: #000;
}

input,
select,
textarea {
    font-family: "Lexend Deca", sans-serif !important;
    outline: none !important;
    box-shadow: none !important;
}

textarea {
    height: 120px;
    resize: vertical;
    font-family: "Lexend Deca", sans-serif !important;
}

.btn {
    padding: 8px 15px !important;
    /* background-color: green; */
    border: none;
    border-radius: 7px !important;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-size: 14px !important;
}

#result {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 20px;
}

.sub-heading {
    font-size: 25px;
    text-align: center;
    padding: 10px 0px;
}

#promptResult {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}

#mainFormResult .response,
#mainFormResult .response-footer {
    background: #efeff0;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#mainFormResult .response.inner {
    background: #fff;
}

#mainFormResult p.question {
    line-height: 25px;
    margin: 0;
}

#mainFormResult p.answer {
    line-height: 25px;
    margin: 0;
}

.response-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0px 6px;
}

.copy-btn,
.upload-btn,
.mic-btn {
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    padding: 10px !important;
    background-color: #f0f0f0 !important;
    font-weight: bold !important;
    width: max-content !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

i {
    line-height: 1 !important;
    pointer-events: none !important;
}

.upload-btn {
    padding: 12px !important;
}

.bi-clipboard::before,
.bi-mic::before,
.bi-cloud-upload::before,
.bi-paperclip::before {
    color: #000000 !important;
    line-height: 1 !important;
}

.mic-btn {
    padding: 6px 8px !important;
}

.bi-mic::before {
    font-size: 24px !important;
    color: #000 !important;
}


.bi::before {
    font-weight: bolder !important;
    font-size: 16px;
    line-height: 1;
}

.btn-center {
    display: block;
    margin: auto;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-header .btn-center {
    margin: 0%;
}

.user-card-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    flex-direction: column;
}

.user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    border: 1px solid #cccccc59;
    padding: 20px;
    border-radius: 10px;
}

.user-card-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.user-card-title {
    font-size: 20px;
    font-weight: bold;
}

.user-card-text {
    font-size: 16px;
}

.user-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}


.icon-btn {
    border: none;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 40px;
    width: 40px;
}

#LastNote {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

footer {
    width: 100%;
}

footer .container-new {
    border-radius: 10px;
    /* background-color: #f8f8f8; */
    color: #131314;
    font-weight: 600;
}

footer p {
    line-height: 1.5;
}

footer .text-center {
    text-align: center;
    margin-top: 10px;
}

.body-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
}

.tool-wrapper {
    width: calc(33.33% - 20px);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.tool-wrapper a {
    text-decoration: none;
    color: black;
}

.tool-wrapper h2 {
    font-size: 30px;
    text-align: center;
    margin: 10px auto;
    background-color: #c90032;
    color: white;
    width: fit-content;
    border-radius: 50%;
    padding: 11px 20px;
}

.tool-wrapper p {
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    padding: 10px;
}

.select2-container {
    position: relative;
    top: 3px;
    width: 100% !important;
}


.select2-container--default .select2-selection--single {
    height: 40px !important;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid #7d7d7d;
    color: #000;
}

#select2-taskInput-container {
    color: #000;
}


.select2-container--default .select2-selection--single>* {
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
}

/* 

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: white;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--below>* {
    color: white !important;
    background-color: #131314;
}

.select2-results__option--selected {
    color: #131314;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 7px;
    color: white !important;
} */


.dataTables_length label>*,
.dataTables_filter label>* {
    display: inline-block;
    width: max-content !important;
}

#usersTable .logout {
    background-color: transparent !important;
}

#usersTable .logout .fa-edit {
    color: royalblue;
}

#usersTable .logout .fa-trash-alt {
    color: #a7002a;
}

.header-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.header-btn-wrapper .btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #c90032;
    color: white;
    font-weight: 600;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .tool-wrapper {
        width: 100%;
    }

    .input-group-wrapper {
        flex-direction: column;
    }

    .input-group-wrapper>.input-group {
        width: 100%;
    }
}

.footer-copyright-para {
    text-align: center;
}


.anchor-styling li a {
    color: black;
    font-weight: bold;
}

table.documentation-table {
    border: 1px solid #aaaaaa;
    border-collapse: collapse;
    width: 100%;
}

table.documentation-table th {
    text-align: left;
}

table.documentation-table th,
table.documentation-table td {
    padding: 10px;
    border: 1px solid #aaaaaa;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.6;
}

table.documentation-table td:nth-child(2),
table.documentation-table td:nth-child(3) {
    text-wrap: nowrap;
}

table.documentation-table td:nth-child(4),
table.documentation-table td:nth-child(5),
table.documentation-table td:nth-child(6),
table.documentation-table td:nth-child(7) {
    width: 180px !important;
}

.response-header.border-bottom {
    border-bottom: 1px solid #ccc;
}


.documentation-table .logout {
    font-size: 10px;
    padding: 5px 9px;
}

.radio-group {
    display: flex;
    /* justify-content: space-between; */
    gap: 3rem;
    margin-top: 8px;
}

.radio-group .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    cursor: pointer;
}

.radio-group .radio-label input[type="radio"] {
    width: auto !important;
    margin: 0;
}


label.error {
    color: #dc3545;
    margin-top: 4px;
    font-size: 13px;
}

.textToSpeechWrapper .btn {
    width: 200px;
}

.main-repeater-container .card-body:first-child .repater-remove-btn {
    display: none;
}

/* Default styles for all screen sizes */
.modal-dialog {
    max-width: 1318px;
    /* Default max-width */
    position: relative;
    right: 8px;
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 514px;
        /* Adjust max-width for small devices */
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .modal-dialog {
        max-width: 694px;
        /* Adjust max-width for medium devices */
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    .modal-dialog {
        max-width: 934px;
        /* Adjust max-width for large devices */
    }
}

/* X-Large devices (1200px and up) */
@media (min-width: 1200px) {
    .modal-dialog {
        max-width: 1114px;
        /* Adjust max-width for extra-large devices */
    }
}

/* XX-Large devices (1400px and up) */
@media (min-width: 1400px) {
    .modal-dialog {
        max-width: 1294px;
        /* Adjust max-width for double extra-large devices */
    }
}

.modal-content {
    overflow: visible !important;
}


.user-guide-wrapper {
    max-width: 800px !important;

}

.user-guide-wrapper .modal-content {
    padding: 30px;
}

.close {
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: red;
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.close i {
    font-size: 20px;
    font-weight: bold;
    line-height: 0%;
    transform: scale(1.2);
}

.audio-modal {
    max-width: 700px;
}

.recoding-btns button {
    width: fit-content;
    padding: 10px !important;
    border-radius: 50px !important;
    line-height: 1;
}


.admin-dashboard .bi-mic::before {
    font-size: 16px !important;
    color: white !important;
}

.audio-started {
    padding: 30px;
    width: fit-content;
    position: relative;
    left: 0px;
}

.audio-started i {
    font-size: 25px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.audio-started::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff40;
    opacity: 0.5;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse 2s infinite;
}


@keyframes pulse {
    0% {
        width: 0;
        height: 0;
    }

    50% {
        width: 100%;
        height: 100%;
    }

    100% {

        width: 0;
        height: 0;
    }
}

.btn-danger {
    background-color: red !important;
}

.modal-scroe {
    max-width: 900px;
}

.upload-container {
    width: 100%;
}

.upload-description {
    font-size: 0.75rem;
    color: #888;
}

.hidden {
    display: none;
}

.file-label {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    padding: 25px;
    cursor: pointer;
    background-color: #e7e3e3;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all .2s linear;
}

.file-label-text {
    font-size: 0.75rem;
    font-weight: 300;
    text-align: center;
    color: #888;
}

.upload-icon {
    width: 2rem;
    height: 2rem;
    fill: #6574cd;
    margin-bottom: 10px;
}

/* Styles for dragover state */
.file-label.dragover {
    background-color: #f0f0f0;
    border: 2px dashed #6574cd;
}

.dataTables_wrapper  {
    overflow: auto !important;
}