.iet-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background: #000;
    border-radius: 10px;
    border:none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.iet-container h2 {
    color: white;
    margin-bottom:15px;
}

.iet-upload-section {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between buttons */
    justify-content: center; /* Center buttons horizontally */
}

/* Custom file input button */
.iet-upload-section .iet-file-input-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%; /* Default width for larger screens */
}

.iet-upload-section .iet-file-input-wrapper input[type="file"] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    
}

.iet-upload-section .iet-file-input-wrapper .iet-custom-file-input {
    background: #8f37ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    width: 100%; /* Full width for small screens */
    text-align: center; /* Center text inside the button */
    font-family:Verdana;
    font-size:16px;
    font-weight:bold;
}

.iet-upload-section .iet-file-input-wrapper .iet-custom-file-input:hover {
    background: #005177;
}

.iet-upload-section button {
    background: #8f37ff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%; /* Full width for small screens */
    text-align: center; /* Center text inside buttons */
    font-family:Verdana;
    font-size:16px;
    font-weight:bold;
}

.iet-upload-section button:hover {
    background: #005177;
}

/* Stack buttons vertically on small screens */
@media (max-width: 480px) {
    .iet-upload-section {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center buttons vertically */
    }
    
   

    .iet-upload-section .iet-file-input-wrapper,
    .iet-upload-section button {
        width: 100%; /* Full width for small screens */
    }
}

.iet-comparison {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.iet-before, .iet-after {
    width: 48%;
    border: 1px solid #ddd;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    background: #000;
    transition: transform 0.3s ease;
}

.iet-before:hover, .iet-after:hover {
    transform: scale(1.02);
}

.iet-before h3, .iet-after h3 {
    margin-top: 0;
    color: #fff;
}

canvas {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.iet-download-section {
    margin-top: 20px;
}

.iet-download-section button {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
   
}

.iet-download-section button:hover {
    background: #218838;
}

/* Scanning animation */
@keyframes scanning {
    0% { top: 0; }
    100% { top: 100%; }
}

.iet-scanning {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 115, 170, 0.8), rgba(0, 115, 170, 0));
    animation: scanning 1.5s linear infinite;
    z-index: 10;
    display: none;
}