/* Hazır Etiketler - Tasarım Yükleme Stilleri v3.3 */

.hazir-etiketler-upload-wrapper {
    margin: 30px 0;
    padding: 0;
}

/* Bilgi Bölümü */
.hazir-etiketler-info-section {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #333;
}

.info-header svg {
    color: #fc5000;
    flex-shrink: 0;
}

.info-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.info-content {
    margin-bottom: 15px;
}

.info-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #fc5000;
    line-height: 1.8;
}

.info-item strong {
    color: #333;
}

.warning-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warning-item {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #856404;
}

.warning-item a {
    color: #856404;
    text-decoration: underline;
    font-weight: 600;
}

/* Upload Bölümü */
.hazir-etiketler-upload-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

/* Yöntem Seçici */
.upload-method-selector {
    margin-bottom: 20px;
}

.upload-method-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.design-method-select {
    width: 100%;
    max-width: 300px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.design-method-select:focus {
    outline: none;
    border-color: #fc5000;
    box-shadow: 0 0 0 3px rgba(252, 80, 0, 0.1);
}

/* Upload Area */
.upload-area {
    margin-top: 20px;
}

.design-file-input {
    display: none;
}

/* Dropzone */
.upload-dropzone {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-dropzone:hover {
    border-color: #fc5000;
    background: #fff5f0;
}

.upload-dropzone.drag-over {
    border-color: #fc5000;
    background: #fff5f0;
    transform: scale(1.02);
}

.upload-icon {
    color: #fc5000;
    margin-bottom: 20px;
}

.upload-dropzone h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.upload-dropzone p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.select-file-btn {
    background: #fc5000;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 15px 0 10px 0;
    transition: all 0.3s ease;
}

.select-file-btn:hover {
    background: #e04500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 80, 0, 0.3);
}

.file-hint {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}

/* Upload Status */
.upload-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

.upload-status.processing {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.upload-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.upload-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Preview Container */
.design-preview-container {
    margin-top: 20px;
}

.design-success-message {
    text-align: center;
    padding: 30px;
    background: #f0f8f0;
    border: 2px solid #28a745;
    border-radius: 12px;
}

.design-success-message svg {
    margin-bottom: 15px;
}

.design-success-message h3 {
    color: #28a745;
    margin: 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.design-success-message p {
    color: #666;
    margin: 10px 0 20px 0;
    font-size: 14px;
}

.change-file-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-file-btn:hover {
    background: #5a6268;
}

/* Link Input */
.link-input-wrapper {
    padding: 20px;
}

.link-input-wrapper label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
}

.design-link-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.design-link-input:focus {
    outline: none;
    border-color: #fc5000;
    box-shadow: 0 0 0 3px rgba(252, 80, 0, 0.1);
}

.link-hint {
    margin-top: 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .hazir-etiketler-info-section,
    .hazir-etiketler-upload-section {
        padding: 15px;
    }
    
    .upload-dropzone {
        padding: 30px 15px;
    }
    
    .upload-dropzone h3 {
        font-size: 18px;
    }
    
    .select-file-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .design-method-select {
        max-width: 100%;
    }
}

/* Admin Sipariş Ekranı */
.item-design {
    text-align: center;
}

.item-design .button {
    margin: 5px 0;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.upload-status.processing::before {
    content: "⏳";
    display: inline-block;
    margin-right: 8px;
    animation: spin 2s linear infinite;
}