html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}
.input-label {
    border: 1px solid #d3d3d3;
    padding: 12px 16px;
    max-width: 100%;
    width: 568px;
    color: #757575;
    height: 32px;
    background-color: white;
    font-size: 16px;
    font-weight: 500;
}
.custom-label {
    font-size: 12px !important;
    font-weight: 400px !important;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px !important;
}

/* UTILITIES CSS */
.d-none {
    display: none !important;
}

.visibility-hidden {
    visibility: hidden;
}

/* Feedback Popup Start */

/* Overlay */
.feedback__modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* backdrop-filter: blur(3px); */
    z-index: 9998;
    display: none;
}

/* Modal Container */
.feedback__modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

.modal__content {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    width: 266px;
    height: 284px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__inner__content {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.star {
    transition: transform 0.2s;
}
.star:hover {
    transform: scale(1.2);
}
.star img {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.question {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 10px 0;
}

.feedback__textarea {
    width: 100% !important;
    height: 80px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    padding: 12px !important;
    resize: none !important;
    background-color: #fafafa !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.errorfeedback {
    margin-top: -8px;
    font-size: 13px;
    color: red;
}

.modal__buttons {
    margin: 10px 0;
    border-top: 1px solid #eee;
    padding: 12px 0 0 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn.cancel {
    background: #f5f5f5;
    border: 1px solid #ccc;
    color: #333;
}
.btn.cancel:hover {
    background: #eaeaea;
}

.btn.submit {
    background: #007bff;
    color: #fff;
    font-weight: 500;
    border: none;
}
.btn.submit:hover {
    background: #0069d9;
}

/* Button Container */
.action-btn-feedback {
    padding: 6px 12px;
    border: 1px solid #d3d3d3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ffffff;
    gap: 4px;
}

.btn-tertiary {
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 14px;
   
    font-weight: 500;
}

.hidden {
    display: none;
}

  

/* Feedback Popup End */

/* UTILITIES CSS END */
textarea {
    height: 200px !important;
    overflow-y: auto;
    border: 1px solid #ddd !important;
    background-color: #f9f9f9 !important;
    padding: 5px 10px !important;
    resize: none !important;
    width: 100% !important;
}
/* .border_new{
    border: 1px solid red !important;
} */
.drag-over {
    border: 2px dashed #ccc !important;
    padding: 10px;
}

.submit-section {
    margin-top: 10px;
}

.source {
    overflow: auto;
    min-height: 150px;
    height: fit-content;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* Error Popup */

.server-message {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.server-message,
.server-success-message {
    display: none;
    position: fixed;
    top: 105px;
    left: 50%;

    transform: translate(-50%, 0%);
    width: 330px;
    min-height: 172px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding-top: 20px;
    /* text-align: left; */
}

.error_content {
    display: flex;
    gap: 8px;
}
.error_header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.error_header strong {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #000000;
}

.server-message p {
    font-size: 14px;
    font-weight: 400;
    color: #757575;
    margin-top: 5px;
    line-height: 24px;
}

.server-message img {
    width: 20px;
    height: 20px;
}

/* End Error Popup */

/* popup for Success  */
.server-success-message {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.server-message,
.server-success-message {
    display: none;
    position: fixed;
    top: 105px;
    left: 50%;

    transform: translate(-50%, 0%);
    width: 300px;
    min-height: 172px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding-top: 20px;
    /* text-align: left; */
}

.success_content {
    display: flex;
    gap: 8px;
    align-items: center;
}
.success_header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.success_header strong {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #000000;
}

.server-success-message p {
    font-size: 14px;
    font-weight: 400;
    color: #757575;
    margin-top: 5px;
    line-height: 24px;
}

.server-success-message img {
    width: 20px;
    height: 20px;
}

/* End Popup Success */

.close_modal_icon {
    margin: 0;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    border-radius: 0 0 18px 10px;
    border: 1.5px solid #F1F1F1;
    justify-content: flex-end;
    background-color: #F9F9F9;
}



.close_modal_icon .close_modal {
    background-color: #FFFFFF;
    color: #24292E;
    border: 1.5px solid #D3D3D3;
    border-radius: 6px;
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    margin-right: 10px;
    padding: 6px 12px;
    cursor: pointer;
}

.close_modal_icon .done_modal {
    background-color: #007bff;
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    color: #fff;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .server-message,
    .server-success-message {
        width: 90%;
        max-width: 250px;
        font-size: 0.9em;
    }

}

/* .server-message .success{
    display: none;
    margin-top: 15px;
    background-color: #06a84fa4;
    color: #fff;
    padding: 15px;
    width: 100%;
} */
.font-bold {
    font-weight: bold;
}

.nav-title {
    text-decoration: none;
    color: inherit;
}

footer a {
    color: inherit;
}

.submit-section {
    display: flex;
    justify-content: space-between;
}

.action-btns {
    display: flex;
    justify-content: flex-end;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid #D3D3D3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 5px;
    cursor: pointer;
    gap: 4px;
}
.action-btn span {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #24292E;
}


/* OTHER TOOLS STYLING */
.other-tools-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.other-tools {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    column-gap: 0.725rem;
    margin-inline: auto;
}

.other-tools .single-tool {
    width: min(200px, calc(100% / 6) + 50px);
    text-decoration: none;
    color: inherit;
    text-align: center;
    font-weight: 600;
    padding: 16px 16px;
    flex: 0 1 calc(25% - 10px);
    background-color: #ffffff;
    box-sizing: border-box;
    border-radius: 8px;
    font-weight: normal;
    /* box-shadow: 0px 1px 2px #aaaaaa47; */
}

.other-tools .single-tool:hover {
    /* color: #007bff; */
    text-decoration: underline;
}

/* OTHER TOOLS STYLING END */

/* TOOLTIP CSS */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]:before,
[data-tooltip]:after {
    line-height: 1.1;
    font-size: 0.9em;
    pointer-events: none;
    position: absolute;
    box-sizing: border-box;
    display: none;
    opacity: 0;
}

[data-tooltip]:before {
    content: "";
    border: 5px solid transparent;
    z-index: 100;
}

[data-tooltip]:after {
    content: attr(data-tooltip);
    text-align: center;
    min-width: 3em;
    max-width: 21em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 12px;
    border-radius: 9px;
    background: #e9e9e9;
    color: black;
    z-index: 99;
    /* text-shadow: 2px 0px 0px #800000; */
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    display: block;
    opacity: 1;
}

[data-tooltip]:not([data-flow])::before,
[data-tooltip][data-flow="top"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: #e9e9e9;
}

[data-tooltip]:not([data-flow])::after,
[data-tooltip][data-flow="top"]::after {
    bottom: calc(100% + 5px);
}

[data-tooltip]:not([data-flow])::before,
[tooltip]:not([data-flow])::after,
[data-tooltip][data-flow="top"]::before,
[data-tooltip][data-flow="top"]::after {
    left: 50%;
    -webkit-transform: translate(-50%, -4px);
    transform: translate(-50%, -4px);
}

[data-tooltip][data-flow="bottom"]::before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #e9e9e9;
}

[data-tooltip][data-flow="bottom"]::after {
    top: calc(100% + 5px);
}

[data-tooltip][data-flow="bottom"]::before,
[data-tooltip][data-flow="bottom"]::after {
    left: 50%;
    -webkit-transform: translate(-50%, 8px);
    transform: translate(-50%, 8px);
}

[data-tooltip][data-flow="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #e9e9e9;
    left: calc(0em - 5px);
    -webkit-transform: translate(-8px, -50%);
    transform: translate(-8px, -50%);
}

[data-tooltip][data-flow="left"]::after {
    top: 50%;
    right: calc(100% + 5px);
    -webkit-transform: translate(-8px, -50%);
    transform: translate(-8px, -50%);
}

[data-tooltip][data-flow="right"]::before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #e9e9e9;
    right: calc(0em - 5px);
    -webkit-transform: translate(8px, -50%);
    transform: translate(8px, -50%);
}

[data-tooltip][data-flow="right"]::after {
    top: 50%;
    left: calc(100% + 5px);
    -webkit-transform: translate(8px, -50%);
    transform: translate(8px, -50%);
}

[data-tooltip=""]::after,
[data-tooltip=""]::before {
    display: none !important;
}

textarea:focus {
    outline: none !important;
}

.source {
    overflow: auto !important;
}

.main_heading {
    text-align: center;
}

/* TOOLTIP CSS END */
.captcha_parent {
    position: relative;
}

.captcha_position {
    position: absolute;
    top: 10px;
}

@media (width <=768px) {
    .other-tools .single-tool {
        flex: 0 1 calc(32% - 10px);
    }

    .container {
        padding: 10px;
    }

    .panel {
        width: 95%;
    }
}

@media (width <=425px) {
    .other-tools .single-tool {
        flex: 0 1 calc(50% - 10px);
    }
}

@media (width <=375px) {
    .other-tools .single-tool {
        flex: 0 1 100%;
    }
}

div:has(> table) {
    overflow: auto;
}
