.tool-flex {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
}
.tool-flex > div {
    flex: 1;
}
.tool-box {
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0px 2px 60px 0px #0000000d;
    background-color: white;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    position: relative;
}
.inner__tool-box {
    border: 2px dashed #00000080;
    padding: 2rem 1rem;
    border-radius: 0.5rem;
    min-height: fit-content;
    width: 100%;
    resize: none;
    overflow: auto;
}
.upload-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 0 2rem;
}
.upload-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.btn__upload-btns {
    min-width: 100px;
    padding: 5px 15px;
    border: 1px solid transparent;
    background-color: unset;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px #1018280d;
}
.upload-btn {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #44b0ff;
}
.upload-section strong {
    font-size: 20px;
}
.before-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.selected-images-card {
    border: 1px solid #cbd5e199;
    padding: 1rem;
    border-radius: 8px;
}
.upload-count {
    border-radius: 50%;
    padding: 5px 10px;
    background-color: #2e6ace;
    color: #fff;
    font-size: 14px;
}
.uploaded-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.upload-image-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.uploaded-images__box {
    border: 1px solid #cbd5e199;
    display: flex;
    justify-content: space-between;
    padding: 0.725rem;
}
.uploaded-images__box .left {
    display: flex;
    gap: 0.725rem;
}
.uploaded-images__box .left img {
    width: 100px;
    object-fit: contain;
    aspect-ratio: 4 / 3;
}
.img-size-name {
    display: flex;
    flex-direction: column;
}

.delete-image {
    line-height: 1.5;
    border-radius: 50%;
    padding: 0 10px;
    background-color: #fef1f1;
    color: #ef4343;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.remove-all {
    border: 1px solid #cbd5e199;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
}

.convert-btn-row {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}
.convert-btn {
    padding: 5px 10px;
    background-color: #2e6ace;
    color: #fff;
    border-radius: 8px;
    border: unset;
    min-width: 150px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
.converted-images__box {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    align-items: flex-start;
}
.converted-images__box .left {
    display: flex;
    flex-direction: column;
    max-width: 100px;
    width: 100%;
    word-break: break-word;
    align-items: center;
}
.base64-img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    width: 100%;
}
.converted-images__box .right {
    flex: 1;
    position: relative;
}
.utilities-btn {
    position: absolute;
    top: 5px;
    padding: 5px;
    z-index: 99;
    right: 5px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
.utilities-btn > span {
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    padding: 5px;
}
.image__text {
    border: 1px solid #ccc;
    min-height: 120px;
    border-radius: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    font-size: small;
    padding: 0 0.5rem;
    resize: none;
}
.text-not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.result__loading {
    width: calc(100% - 10px);
    height: 5px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 5px 5px;
    background-color: #f9fafb;
    margin-top: -10px;
    margin-inline: auto;
}

.after-result-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.reset {
    background-color: #2e6ace;
    border-radius: 8px;
    padding: 5px 10px;
    color: #fff;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 5px;
}

.download {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    gap: 5px;
}
.img-size-name span {
    font-weight: 700;
    font-size: small;
}
.img-size-name small {
    font-size: small;
    color: #969db2;
}
.text-not-found strong {
    color: #ef4444;
}
.text-not-found p {
    font-size: 14px;
    color: #9ca3af;
}
