.sjc-widget-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.sjc-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 600;
}

.sjc-description {
    margin: 0 0 20px;
    opacity: 0.8;
    font-size: 14px;
}

.sjc-dropzone {
    border: 2px dashed rgba(100, 100, 100, 0.5);
    border-radius: 12px;
    padding: 40px 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.02);
}

.sjc-dropzone:hover, .sjc-dropzone.dragover {
    border-color: #4a90e2;
    background: rgba(74, 144, 226, 0.05);
}

.sjc-dropzone.dragover {
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.4);
}

.sjc-file-input {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.sjc-icon-wrap {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    color: #4a90e2;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.sjc-btn, .sjc-download-btn {
    background: linear-gradient(135deg, #4a90e2, #63b3ed);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
}

.sjc-btn:hover, .sjc-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.sjc-format-hint {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.6;
}

/* Progress */
.sjc-progress-area {
    margin-top: 20px;
}
.sjc-progress-bar {
    height: 6px;
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}
.sjc-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4a90e2, #63b3ed);
    transition: width 0.3s ease;
}
.sjc-status-text {
    font-size: 13px;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Results */
.sjc-result-area {
    margin-top: 20px;
    animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sjc-message-banner {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 14px;
}
.sjc-message-banner.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}
.sjc-message-banner.info {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
}

.sjc-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}
.sjc-stat-box {
    flex: 1;
    background: rgba(0,0,0,0.03);
    padding: 15px 10px;
    border-radius: 8px;
}
.sjc-stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}
.sjc-stat-val {
    font-size: 18px;
    font-weight: 600;
}

.sjc-previews {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.sjc-preview-box {
    flex: 1;
    text-align: center;
}
.sjc-preview-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 8px;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.sjc-preview-box span {
    font-size: 12px;
    opacity: 0.7;
}

.sjc-download-btn {
    width: 100%;
}
