/* ============================================================
   PUTE Image Transparency Checker Styles
   ============================================================ */

/* --- Stats Row --- */
.putptc-stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.putptc-stat-card {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, #f0f4ff 0%, #eef2ff 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 14px;
}

.putptc-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff4d00;
    line-height: 1;
}

.putptc-stat-label {
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #6b7280;
}

/* --- Check Card --- */
.putptc-check-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.putptc-check-card:hover {
    border-color: #ff4d00;
}

.putptc-check-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
}

.putptc-check-header .dashicons {
    color: #ff4d00;
    font-size: 1.2rem;
}

.putptc-check-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1a2e;
}

.putptc-check-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.putptc-check-badge.has-alpha {
    background: #fef3c7;
    color: #92400e;
}

.putptc-check-badge.no-alpha {
    background: #d1fae5;
    color: #065f46;
}

.putptc-check-body {
    padding: 20px;
}

.putptc-check-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.putptc-check-img-box {
    text-align: center;
}

.putptc-check-img-label {
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.putptc-check-img-box img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: repeating-conic-gradient(#f3f4f6 0% 25%, #ffffff 0% 50%) 50% / 16px 16px;
}

.putptc-check-dims {
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #6b7280;
}

/* --- Stat Bar --- */
.putptc-check-stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}

.putptc-stat-bar {
    flex: 1;
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
}

.putptc-stat-bar-opaque {
    background: #10b981;
}

.putptc-stat-bar-semi {
    background: #f59e0b;
}

.putptc-stat-bar-trans {
    background: #ef4444;
}

.putptc-stat-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.putptc-stat-dot.opaque { background: #10b981; }
.putptc-stat-dot.semi { background: #f59e0b; }
.putptc-stat-dot.trans { background: #ef4444; }

/* --- Error --- */
.putptc-result-error {
    padding: 14px 18px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 16px;
}

/* --- Thumb --- */
.putptc-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    flex-shrink: 0;
    background: #f9fafb;
}

/* --- Actions --- */
.putptc-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.putptc-check-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff1744 0%, #ff4d00 40%, #ff8c00 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 77, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.putptc-check-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(255, 77, 0, 0.45);
}

.putptc-check-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.putptc-check-btn .dashicons {
    font-size: 1.1rem;
    width: 22px;
    height: 22px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .putptc-stats-row {
        flex-direction: column;
    }

    .putptc-check-images {
        grid-template-columns: 1fr;
    }

    .putptc-actions {
        flex-direction: column;
    }

    .putptc-check-btn {
        width: 100%;
    }
}
