/* CONTAINER */
.uploader-container {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    color: #ddd;
}

/* DROP ZONE */
#drop-zone {
    border: 2px dashed #444;
    padding: 40px;
    cursor: pointer;
    border-radius: 10px;
    background: #1a1a1a;
    color: #aaa;
    transition: all 0.2s ease;
}

#drop-zone:hover {
    border-color: #cc0000;
    color: #fff;
}

#drop-zone.dragging {
    background: #2a0000;
    border-color: #ff0000;
    color: #fff;
}

#drop-zone input {
    display: none;
}

/* PROGRESS BAR */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #222;
    margin-top: 10px;
    display: none;
    border-radius: 3px;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #cc0000, #ff3333);
}

/* RESULT AREA */
.result-wrapper {
    margin-top: 25px;
}

/* IMAGE PREVIEW */
.img-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.img-preview img {
    max-width: 100%;
    border-radius: 8px;
    border: 3px solid #550000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);

    /* optional color boost (Edge-like look) */
    filter: contrast(1.05) saturate(1.1);
}

/* FIELDS */
.img-field {
    margin-bottom: 14px;
}

.img-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #ff4444;
}

/* INPUT + BUTTON */
.input-group {
    display: flex;
    justify-content: center;
}

.input-group input {
    width: 70%;
    padding: 9px;
    border: 1px solid #333;
    border-radius: 5px 0 0 5px;
    background: #111;
    color: #eee;
}

/* COPY BUTTON */
.copy-btn {
    padding: 9px 14px !important;
    border: none !important;
    background: #930002 !important;
    color: white !important;
    cursor: pointer !important;
    border-radius: 0 5px 5px 0 !important;
    font-weight: bold !important;
    transition: all 0.2s ease !important;
}

.copy-btn:hover {
    background: #b30000 !important;
}

.copy-btn:active {
    transform: scale(0.95);
}

/* MOBILE */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }

    .input-group input {
        width: 100%;
        border-radius: 5px;
    }

    .copy-btn {
        margin-top: 5px;
        border-radius: 5px;
    }
}