/* JPG to PNG Converter — Professional Scoped CSS */

.is-tool-wrapper {
    max-width: 950px;
    margin: 40px auto;
    padding: 40px;
    background: #020617;
    border: 3px solid rgba(220, 38, 38, 0.9);
    border-radius: 24px;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.is-brand-tag {
    font-size: 11px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.is-main-title {
    font-size: 32px;
    font-weight: 900;
    margin: 0;
    color: #fff;
}

.is-text-red {
    color: #dc2626;
}

.is-main-desc {
    color: #94a3b8;
    font-size: 15px;
    margin-top: 8px;
}

/* Drop Zone */
.is-drop-zone {
    margin: 30px 0;
    padding: 60px 20px;
    border: 2px dashed rgba(220, 38, 38, 0.3);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.is-drop-zone.drag-over {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.is-upload-h {
    font-size: 18px;
    margin: 15px 0 5px;
    color: #fff;
}

.is-upload-p {
    font-size: 14px;
    color: #64748b;
}

/* Stat Bar */
.is-stat-bar {
    background: #0f172a;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #1e293b;
    margin-bottom: 30px;
}

.is-stat-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.is-bar-bg {
    height: 10px;
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.is-bar-fill {
    height: 100%;
    background: #dc2626;
    transition: width 0.3s ease;
}

/* Buttons */
.is-primary-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}

.is-primary-btn:hover:not(:disabled) {
    background: #b91c1c;
}

.is-primary-btn:disabled {
    background: #334155;
    cursor: not-allowed;
    opacity: 0.6;
}

.is-outline-btn {
    background: transparent;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.is-outline-btn:hover {
    border-color: #dc2626;
    color: #fff;
}

/* Preview Grid */
.is-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.is-img-card {
    background: #1e293b;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #334155;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.is-img-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: #000;
}

.is-img-name {
    font-size: 11px;
    color: #94a3b8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Download Button */
.is-dl-btn {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
    padding: 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    pointer-events: none;
    opacity: 0.4;
    transition: 0.2s;
}

.is-dl-btn.active {
    pointer-events: auto;
    opacity: 1;
    border-color: #dc2626;
}

.is-dl-btn.active:hover {
    background: #dc2626;
    color: white;
}

/* Action Row */
.is-action-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}
