/* AI 设计工作室样式 */
.design-studio-container {
    max-width: 1200px;
    margin: 80px auto 4rem;
    padding: 2rem 1rem;
}

.studio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.studio-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.studio-section {
    margin-bottom: 3rem;
}

.studio-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.upload-zone {
    border: 2px dashed #e8e8e8;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.upload-zone:hover {
    border-color: #2c2c2c;
    background-color: #f5f5f5;
}

.upload-zone.dragover {
    border-color: #2c2c2c;
    background-color: #f5f5f5;
}

.upload-placeholder {
    transition: opacity 0.3s;
}

.upload-placeholder[style*="opacity: 0.5"] {
    cursor: not-allowed;
}

.upload-placeholder[style*="pointer-events: none"] {
    cursor: not-allowed;
}

.upload-placeholder svg {
    margin-bottom: 1rem;
}

.upload-hint {
    display: block;
    font-size: 0.85rem;
    color: #6b6b6b;
    margin-top: 0.5rem;
}

.preview-images {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.preview-image-item {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.preview-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-image-item .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.preview-image-item .remove-image:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: scale(1.1);
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.style-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.style-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.style-card.selected {
    border-color: #2c2c2c;
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.style-card.selected .style-overlay {
    opacity: 1;
}

.studio-actions {
    text-align: center;
    margin: 3rem 0;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.results-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e8e8e8;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
}

.result-card.selected {
    border-color: #2c2c2c;
}

.result-card img {
    width: 100%;
    height: auto;
}

.result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s;
}

.result-card:hover .result-overlay {
    opacity: 1;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 设计方式选择器 */
.design-mode-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mode-card {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.mode-card:hover {
    border-color: #2c2c2c;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.mode-card.selected {
    border-color: #2c2c2c;
    background: #f9f9f9;
}

.mode-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mode-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.mode-card p {
    color: #6b6b6b;
    margin-bottom: 1.5rem;
}

.mode-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.mode-features li {
    padding: 0.5rem 0;
    color: #2c2c2c;
    font-size: 0.9rem;
}

/* 表单组 */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c2c2c;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: #2c2c2c;
}

/* 小尺寸上传区域 */
.upload-zone-small {
    border: 2px dashed #e8e8e8;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-zone-small:hover {
    border-color: #2c2c2c;
    background-color: #f5f5f5;
}

.upload-placeholder-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #6b6b6b;
}

.upload-placeholder-small p {
    margin: 0;
    font-size: 0.9rem;
}

.preview-images-small {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.preview-images-small img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.section-description {
    color: #6b6b6b;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* 订单状态卡片 */
.order-status-section {
    margin-top: 3rem;
}

.status-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #f9f9f9;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.status-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.status-card p {
    color: #6b6b6b;
    margin-bottom: 2rem;
}

.status-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
}

.status-info p {
    margin: 0.5rem 0;
    color: #2c2c2c;
}

.status-info span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .style-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .design-mode-selector {
        grid-template-columns: 1fr;
    }
    
    .status-card {
        padding: 2rem 1.5rem;
    }
}

