.ai-tryon-wrapper {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    text-align: center;
}

.ai-tryon-status {
    padding: 20px;
}

.ai-tryon-status .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: ai-spin 1s ease infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.ai-tryon-quality-checks {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: left;
}

.ai-tryon-quality-checks h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.quality-checks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.check-item .check-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #999;
    font-weight: bold;
    flex-shrink: 0;
}

.check-item .check-icon::before {
    content: "\2022"; /* Bullet as default */
}

.check-item.passed {
    color: #333;
}

.check-item.passed .check-icon {
    background: #6fba3b; /* Green from memory */
    color: #fff;
}

.check-item.passed .check-icon::before {
    content: "\2713"; /* Checkmark */
}

.check-item.failed .check-icon {
    background: #e22d36; /* Red from memory */
    color: #fff;
}

.check-item.failed .check-icon::before {
    content: "\2715"; /* Cross */
}

@keyframes ai-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-tryon-result .result-image-container {
    margin: 15px 0;
    max-width: 100%;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
}

.ai-tryon-result img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ai-tryon-result-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.ai-tryon-column-content {
    line-height: 1.5;
}

.ai-tryon-sync-btn.updating {
    opacity: 0.6;
    cursor: not-allowed;
}
