.main_tool {
    border: 1.5px dashed #e62828;
    padding: 20px;
    margin: 15px 50px;
    border-radius: 10px;
    margin-top: 20px;
    height: 100%;
}

.lang_select {
    margin: 0 50px;
}

.main_tool_preview_image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.main_btn {
    display: flex;
    justify-content: center;
    align-items: center;
}
.converter_btn {
    background-color: #000;
    padding: 8px 40px;
    border-radius: 5px;
    color: #fff;
    border: none;
}
.converter_btn:hover {
    color: #fff;
    box-shadow: 0 0 15px #000000;
    transition: box-shadow 0.3s ease;
}

.custom-dropdown select {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1.5px dashed #e62828;
    border-radius: 5px;
    outline: none;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border 0.3s ease, background-color 0.3s ease;
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown::after {
    content: "▼";
    font-size: 12px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #000;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}
.spinner-border {
    width: 4rem;
    height: 4rem;
    color: #fff;
}

.add-more-file-button {
    background-color: #db1e1e;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    height: 44px;
    margin-top: 20px;
    padding: 8px 40px;
    border-radius: 20px;
}
.add-more-file-button:hover {
    box-shadow: 0 0 15px #db1e1e;
    color: #fff !important;
}

.preview_buttons {
    background-color: #db1e1e;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 20px;
}
.preview_buttons:hover {
    box-shadow: 0 0 15px #db1e1e;
    color: #fff !important;
}
.main_tool_styling {
    overflow-y: scroll;
    overflow-x: hidden;
}

.main_tool_styling::-webkit-scrollbar {
    width: 16px;
}
.main_tool_styling::-webkit-scrollbar-thumb {
    background-clip: content-box;
    background-color: #000;
    border: 4px solid transparent;
    border-radius: 8px;
    height: 56px;
}
.main_tool_styling::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.preview_image_area {
    padding: 8px;
    border: 1.5px dashed #e62828;
    border-radius: 5px;
    margin: 10px 50px;
}
.upload_preview_image img {
    height: 120px;
    max-width: 120px;
    border-radius: 5px;
}

.d-flex {
    display: flex;
}
.justify-content-center {
    justify-content: center;
}
.align-items-center {
    align-items: center;
}
.gap-2 {
    gap: 10px;
}
.text-black {
    color: #000000;
}

.d-none {
    display: none !important;
}

.upload-section-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

section.main_tool_area {
    padding: 100px 0;
}

.upload-file-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
