.essayWriterWrapper {
    width: 100%;
    margin-left: auto;
    padding: 26px 25px 23px;
    min-height: 100vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    background: #F8FAFC;
    position: relative;
}

h1 {
    font-size: 30px;
    color: #0F172A;
    line-height: 40px;
    margin-bottom: 24px;
    font-weight: 600;
}

.outputTypesWrapper {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.outputTypesWrapper a {
    background-color: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #64748B;
    height: 37px;
    max-width: 100%;
    width: 100%;
    position: relative;
    cursor: pointer;
    border-radius: 5px 5px 0px 0px;
    border-bottom: 2px solid #E2E8F0;
    max-width: max-content;
    padding: 0 50px;
}

.outputTypesWrapper a::after {
    content: "";
    height: 2px;
    width: 0;
    background: transparent;
    position: absolute;
    left: 50%;
    bottom: -2px;
    display: block;
    transform: translateX(-50%);
    transition: all .5s ease;
    opacity: 0;
}

.outputTypesWrapper a:hover::after {
    width: 15px;
    opacity: 1;
    background: #05ada3;
}

.outputTypesWrapper a:hover {
    color: #05ada3;
}

.outputTypesWrapper a.active {
    background: #E0E7FF;
    color: #05ada3;
}

.outputTypesWrapper a.active:after {
    content: "";
    height: 2px;
    width: 100% !important;
    background: #05ada3 !important;
    position: absolute;
    left: 50%;
    bottom: -2;
    display: block;
    transform: translateX(-50%);
    transition: all .5s ease;
    opacity: 1;
}


.outputsWrapper {
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    display: none;
}

.outputsWrapper.show {
    display: flex;
}

.singleOutput {
    padding: 20px;
    transition: all ease .1s;
    background-color: #fff;
    border-radius: 16px;
    border: 2px solid #E2E8F0;
    max-width: 330px;
    width: 100%;
}

.singleOutput:hover {
    box-shadow: 2px 2px 39px -10px rgba(0, 0, 0, 0.15);
    border-width: 2px;
}

.outputTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.toolActions {
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.iconBtn {
    border-radius: 5px;
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.iconBtn svg {
    pointer-events: none;
}

.iconBtn:hover svg path {
    fill: #1E293B;
}

.iconBtn:hover {
    border: 1px solid #E2E8F0;
}

#downloadBtn:hover::before {
    position: absolute;
    content: 'Download';
    font-size: 10px;
    min-width: max-content;
    background-color: #000;
    color: #fff;
    padding: 6px;
    left: -2px;
    top: 38px;
    z-index: 99999999999;
    background: #262F3D;
    border-radius: 5px;
    right: 0;
    text-align: center;
}

#copyBtn:hover::before {
    position: absolute;
    content: 'Copy';
    font-size: 10px;
    min-width: max-content;
    background-color: #000;
    color: #fff;
    padding: 6px;
    left: -2px;
    top: 38px;
    z-index: 99999999999;
    background: #262F3D;
    border-radius: 5px;
    right: 0;
    text-align: center;
}
#deleteBtn:hover::before {
    position: absolute;
    content: 'Delete';
    font-size: 10px;
    min-width: max-content;
    background-color: #000;
    color: #fff;
    padding: 6px;
    left: -2px;
    top: 38px;
    z-index: 99999999999;
    background: #262F3D;
    border-radius: 5px;
    right: 0;
    text-align: center;
}

.toolName {
    font-size: 16px;
    color: #9CA3AF;
    line-height: 20px;
}

.outputData {
    overflow-wrap: break-word;
    font-size: 16px;
    color: #0F172A;
    line-height: 21px;
    height: 315px;
    margin-bottom: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 15;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    cursor: pointer;
}

.outputData.prewrap {
    white-space: pre-wrap;
}

.daysAgo {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 16px;
}

.outputPreview {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: none;
}

.outputOverlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.outputPreviewModal {
    max-width: 864px;
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.previewTop .toolName {
    font-weight: 500;
    color: #475569;
}

.previewTextBox {
    padding: 16px;
    border: 1px solid #E5E7EB;
    max-height: 410px;
    overflow-y: scroll;
    white-space: pre-wrap;
}

.previewWrapper {
    margin-top: 43px;
    position: relative;
}

.previewBtn {
    padding: 4px 8px;
    border-radius: 4px 4px 0 0;
    position: absolute;
    top: -29px;
    left: 0;
    border: 1px solid #E5E7EB;
    border-bottom-color: transparent;
    font-size: 16px;
    color: #0F172A;
    background-color: #fff;
}

.clipboardMsg {
    background: black;
    color: white;
    font-weight: 500;
    position: fixed;
    font-size: 14px;
    padding: 6px 18px;
    left: 50%;
    transition: .43s all ease-in;
    transform: translate(-50%, 0px);
    border-radius: 3px;
    line-height: 18px;
    bottom: -60px;
    max-width: max-content;
    width: 100%;
}

.clipboardMsg.show {
    transform: translate(-50%, -113px);
    z-index: 1111;
}

.clipicon {
    padding-right: 5px;
    display: inline-flex;
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    display: none;
}

.loading > img {
    width: 100%;
    max-width: 250px;
    object-fit: contain;
}
.zeroScreenData{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: none;
}
.zeroScreenData p{
    font-size: 17px;
line-height: 21px;
color: #83A4CC;
margin-top: 30px;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{
    background-color: #05ADA3;
}
.closePreviewBtn{
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
}
.closePreviewBtn:hover{
    opacity: .7;
}
@media (max-width: 460px) {
    .singleOutput {
        max-width: 100%;
    }
    .outputTypesWrapper a{
        max-width: unset;
        padding: 0 15px;
    }
    .outputPreviewModal{
        max-width: calc(100% - 30px);
    }
}