.content_input_container {
    box-shadow: 0px 4px 12px 0px #00000014 !important;
    border-radius: 12px;

}

.pdfSummarizerSection {
    background-color: #f7f8fc;
    padding: 64px 0;
}

.dropZoneOuter {
    display: flex;
    padding: 16px;
    height: 300px;
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dropZoneInner {
    width: 100%;
    height: 100%;
    border: 2px dashed #dce6f7;
    border-radius: 8px;
    margin: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropZoneMain {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    background-color: inherit;
    transition: background-color 0.3s ease;
}

.dropZoneMain:hover {
    background-color: #edf3fb;
    cursor: pointer;
}

.dropZoneMain p {
    font-size: 16px;
    line-height: 22px;
    color: #05103c;
    margin: 0;
}

.dropZoneMain span {
    font-size: 14px;
    color: #a2a5ae;
    line-height: 22px;
}

.dropZoneMain button {
    background-color: #fa565d;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.dropZoneMain button:hover {
    background-color: #ff2732;
    transform: translateY(-1px);
}

.dropZoneMain button:active {
    transform: translateY(1px);
}

.dropzone-icon {
    color: #6b7280;
    margin-bottom: 12px;
}

.dropZoneActive .dropZoneInner {
    background-color: #edf3fb;
}

.dropZoneFileHover {
    color: #a2a5ae;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
}

.file-preview-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    justify-content: space-between;
    align-items: center;
    padding: 9px 20px;
}

.file-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.pdf-viewer {
    width: 100%;
    height: 429px;
    background-color: #f7f8fc;
    overflow-y: scroll;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
}

.pdf-viewer canvas {
    border-radius: 8px;
    border: 1px solid #dce6f7;
    background-color: white;
}

.control-btn {
    border: none;
    color: white;
    background-color: transparent;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: background-color 0.2s;
}

.control-btn:hover {
    background-color: #ffffff59;
}

.control-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.zoom-controls {
    display: flex;
    gap: 8px;
}

.pdf-error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    width: 100%;
}

.pdf-loading {
    color: #0056b3;
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

.file-preview {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
}

.file-name-size {
    display: flex;
    flex-direction: column;
}

#fileName {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

#fileSize {
    font-size: 14px;
    color: #666;
}

/* #removeFile {
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

#removeFile:hover {
    background-color: #e60000;
} */
#removeFile {
    cursor: pointer;
}

.page-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 5px;
    background-color: #05103c;
    border-radius: 99px;
    position: absolute;
    bottom: 45px;
    right: 50%;
    transform: translateX(50%);
}

.page-info {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    min-width: 60px;
    text-align: center;
}

#currentPage {
    background: #ffffff59;
    border-radius: 4px;
    padding: 3px 12px;
}

.zoom-controls {
    display: flex;
    gap: 8px;
}

#pdfContainer {
    position: relative;
    /* padding: 20px; */
}

#output_content {
    line-height: 22px;
}

.pdfSumBtn {
    display: flex;
    justify-content: end;
    height: 60px;
    gap: 15px;
    align-items: center;
    padding: 7.5px;
    border-top: 1px solid #ddd;

    button {
        background-color: #ff4d4d;
        color: white;
        border: none;
        border-radius: 6px;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        outline: none;

        &:hover {
            background-color: #ff3838;
        }

        &:disabled {
            background-color: #ff7d7d;
            cursor: not-allowed;
        }
    }
}

.summary-output {
    display: none;
    width: 50%;
    flex-direction: column;
    justify-content: space-between;
}

.summary-output-div {
    padding: 10px 20px;
    height: 429px;
    overflow-y: scroll;
}

.summary-output-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;

    span {
        font-weight: 500;
    }
}

.result_options {
    height: 60px;
    padding: 20px;
    border-top: 1px solid #ddd;
}

.PDFbadge {
    padding: 6px 8px;
    background: #fee0dc;
    border: 1px solid #fcb3ad;
    border-radius: 6px;
    margin-right: 12px;

    span {
        font-weight: 500;
        font-size: 14px;
        line-height: 18px;
        text-align: center;
        color: #fa565d;
    }
}

.total_words {
    gap: 0px;
}

/* Accordion Styles */
.faqMain {
    margin-top: 40px;

    .faqHeader {
        margin-bottom: 12px;
        color: #FA565D;
        span {
            font-weight: 500;
            font-size: 12px !important;
            line-height: 18px;
            color: #6E6E6E;
        }
    }

}

.accordin {
    /* border-radius: 8px; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.accordion-item {
    background-color: #F7F8FC;
    padding: 4px 12px;
    border-radius: 6px;
}

.accordion-header {
    position: relative;
    /* border-bottom: none; */
}

.accordion-button {
    width: 100%;
    padding: 7px 0;
    background-color: transparent !important;
    /* border-bottom: 1px solid #DCE6F7; */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    p {
        color: #05103C;
        font-weight: 400;
        font-size: 14px !important;
        text-align: left;

    }

    img {
        width: 32px;
        height: 32px;
    }
}

.accordion-button:hover {
    /* background-color: #f0f0f0; */
}

.accordion-button:focus {
    border: none;
    outline: none;
}

/* .accordion-button:after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: transform 0.3s;
} */

.accordion-button:active {
    color: #000 !important;
    background-color: transparent !important;
}

.accordion-button.active {
    color: #000 !important;
    background-color: transparent !important;
}

/* .accordion-button.active:after {
    content: "−";
} */

.accordion-collapse {
    display: none;
}

.accordin-loader {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    align-items: center;
    justify-content: center;
}

.accordion-body {
    position: relative;
    padding-top: 8px;
    line-height: 1.6;
    /* background-color: #ffffff; */
    /* min-height: 100px; */
    font-size: 16px;

    p {
        max-width: 495px;
        width: 100%;
        font-weight: 400;
        font-size: 14px !important;
        line-height: 22px !important;
    }
}

.answer-content {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.answer-content.visible {
    opacity: 1;
}

@media (max-width: 1090px) {
    .page-controls {
        max-width: 270px;
        width: 100%;
    }
}

@media (max-width: 795px) {
    .dropZoneOuter {
        flex-direction: column;
    }

    .file-preview {
        border-right: none !important;
        width: 100% !important;
    }

    .file-info {
        justify-content: space-between;
    }

    .summary-output {
        border-top: 1px solid #ddd;
        width: 100% !important;
        display: none;
    }

    .mobile-view {
        display: flex !important;
    }
}

/*
@media (max-width: 610px) {

    .accordion-button {
        p {
            max-width: 400px;
            width: 100%;
        }
    }
}
@media (max-width: 515px) {

    .accordion-button {
        p {
            max-width: 300px;
            width: 100%;
        }
    }
} */
