.musef-3d-printing-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.musef-3d-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.musef-3d-preview-section h2,
.musef-3d-config-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.musef-upload-area {
    text-align: center;
    padding: 30px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    margin-bottom: 20px;
}

.musef-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.musef-upload-btn:hover {
    background: #45a049;
}

.musef-file-info {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.musef-3d-viewer {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.musef-viewer-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
}

.musef-model-info {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.musef-model-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.musef-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.musef-info-row:last-child {
    border-bottom: none;
}

.musef-config-group {
    margin-bottom: 25px;
}

.musef-config-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.musef-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: white;
    transition: border-color 0.3s;
}

.musef-select:focus {
    outline: none;
    border-color: #4CAF50;
}

.musef-infill-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.musef-radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.musef-radio-label:hover {
    border-color: #4CAF50;
    background: #f0f8f0;
}

.musef-radio-label input {
    display: none;
}

.musef-radio-label input:checked + span {
    font-weight: 600;
}

.musef-radio-label:has(input:checked) {
    border-color: #4CAF50;
    background: #e8f5e9;
}

.musef-price-section {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.musef-price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px;
}

.musef-total-price {
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #4CAF50;
}

.musef-order-btn {
    width: 100%;
    padding: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.musef-order-btn:hover:not(:disabled) {
    background: #45a049;
}

.musef-order-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.musef-error-message {
    margin-top: 15px;
    padding: 12px;
    background: #ffebee;
    color: #c62828;
    border-radius: 6px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .musef-3d-main-content {
        grid-template-columns: 1fr;
    }
    
    .musef-infill-options {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Loading Animation Styles */
.musef-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.musef-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: musef-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.musef-spinner-small {
    display: inline-block;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: musef-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes musef-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.musef-loading-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 10px 0 5px;
}

.musef-loading-subtext {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Enhanced Model Info */
.musef-model-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.musef-model-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: white;
}

.musef-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.musef-info-row:last-child {
    border-bottom: none;
}

.musef-info-row span {
    font-size: 14px;
    opacity: 0.9;
}

.musef-info-row strong {
    font-size: 16px;
    font-weight: 600;
}

/* Infill Density Styles */
.musef-help-text {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    font-style: italic;
}

.musef-infill-info {
    margin-top: 10px;
    padding: 8px 12px;
    background: #e3f2fd;
    border-left: 3px solid #2196F3;
    border-radius: 4px;
    font-size: 13px;
    color: #1976D2;
    font-weight: 500;
}

#musef-infill-charge-row {
    color: #ff5722;
    font-weight: 500;
}

/* Enhanced Radio Buttons */
.musef-radio-label {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.musef-radio-label:hover {
    transform: translateY(-2px);
}

.musef-radio-label input[type="radio"]:checked + span {
    /* Removed purple gradient background */
    font-weight: 600;
    color: #333;
}

/* Error Message Animation */
.musef-error-message {
    animation: musef-shake 0.5s;
}

@keyframes musef-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Improved Button Styles */
.musef-order-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.musef-order-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.musef-order-btn:active:not(:disabled) {
    transform: translateY(0);
}

.musef-order-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* File Upload Button Enhancement */
.musef-upload-btn {
    transition: all 0.3s ease;
}

.musef-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.musef-upload-btn:active {
    transform: translateY(0);
}

/* 3D Viewer Enhancement */
.musef-3d-viewer {
    position: relative;
    transition: opacity 0.3s ease;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .musef-loading {
        padding: 20px;
        width: 80%;
        max-width: 300px;
    }
    
    .musef-spinner {
        width: 40px;
        height: 40px;
    }
    
    .musef-loading-text {
        font-size: 14px;
    }
    
    .musef-loading-subtext {
        font-size: 12px;
    }
    
    .musef-model-info h3 {
        font-size: 16px;
    }
    
    .musef-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Fade-in animation for info panels */
@keyframes musef-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.musef-model-info {
    animation: musef-fadeIn 0.5s ease;
}

/* Price section - removed blinking animation */
.musef-total-price {
    /* Animation removed for cleaner look */
}

/* Removed pulse animation keyframes */

/* Delivery Note */
.musef-delivery-note {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 13px;
    color: #856404;
    font-weight: 500;
}
