/* Big Customizer Frontend Styles */

.bigcustomizer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.bigcustomizer-header {
    text-align: center;
    margin-bottom: 30px;
}

.bigcustomizer-header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.bigcustomizer-header p {
    color: #666;
    font-size: 1.1em;
}

.bigcustomizer-main {
    display: flex;
    gap: 30px;
    min-height: 600px;
}

.bigcustomizer-viewer {
    flex: 2;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bigcustomizer-canvas {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.bigcustomizer-controls {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 600px;
    overflow-y: auto;
}

.bigcustomizer-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.bigcustomizer-section:last-child {
    border-bottom: none;
}

.bigcustomizer-section h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007cba;
}

.color-picker-group {
    margin-bottom: 15px;
}

.color-picker-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.color-picker {
    width: 100%;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.color-picker:hover {
    border-color: #007cba;
}

.color-picker:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.bigcustomizer-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bigcustomizer-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.bigcustomizer-btn-primary {
    background: #007cba;
    color: white;
}

.bigcustomizer-btn-primary:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.bigcustomizer-btn-secondary {
    background: #6c757d;
    color: white;
}

.bigcustomizer-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.bigcustomizer-btn-success {
    background: #28a745;
    color: white;
}

.bigcustomizer-btn-success:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

.bigcustomizer-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.bigcustomizer-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.bigcustomizer-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.bigcustomizer-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bigcustomizer-main {
        flex-direction: column;
    }
    
    .bigcustomizer-canvas {
        height: 400px;
    }
    
    .bigcustomizer-header h1 {
        font-size: 2em;
    }
}

/* Loading Animation */
.bigcustomizer-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Part Selection Styles */
.part-selector {
    margin-bottom: 15px;
}

.part-selector select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.part-selector select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Camera Controls */
.camera-controls {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.camera-controls h4 {
    margin-bottom: 10px;
    color: #333;
}

.camera-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.camera-btn {
    padding: 8px 12px;
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.camera-btn:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}
