    :root {
        --primary-color: #4361ee;
        --accent-color: #4cc9f0;
        --dark-color: #1a1a2e;
        --light-color: #f8f9fa;
        --success-color: #2ecc71;
        --warning-color: #f39c12;
        --danger-color: #e74c3c;
    }
    
    .premium-container {
        max-width: 1200px;
        margin: 0px auto;
        padding: 20px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .upload-area {
        border: 2px dashed #d1d5db;
        border-radius: 10px;
        padding: 40px 20px;
        text-align: center;
        background: #f8fafc;
        transition: all 0.3s ease;
        margin-bottom: 30px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
    
    .upload-area:hover {
        border-color: var(--primary-color);
        background: rgba(67, 97, 238, 0.03);
    }
    
    #imgInput {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        cursor: pointer;
    }
    
    .upload-area i {
        font-size: 48px;
        color: var(--primary-color);
        margin-bottom: 15px;
    }
    
        .controls-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
    
    .controls-title {
        font-weight: 600;
        color: var(--dark-color);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .controls-title i {
        color: var(--primary-color);
    }
    
    .action-buttons {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }
    
    .action-btn {
        flex: 1;
        padding: 12px;
        border: none;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
    }
    
    .primary-btn {
        background: var(--primary-color);
        color: white;
    }
    
    .primary-btn:hover {
        background: #3a56d4;
        transform: translateY(-2px);
    }
    
    .success-btn {
        background: var(--success-color);
        color: white;
    }
    
    .success-btn:hover {
        background: #27ae60;
        transform: translateY(-2px);
    }
    
    .form-control {
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 12px 15px;
        margin-bottom: 15px;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    }
    
    .input-group-text {
        background-color: #f8fafc;
        border: 1px solid #e2e8f0;
        padding: 12px 15px;
        font-weight: 500;
    }
    
    .results-container {
        background: white;
        border-radius: 10px;
        padding: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 20px;
    }
    
    .preview-row {
        display: flex;
        gap: 20px;
        margin-top: 20px;
    }
    
    .preview-col {
        flex: 1;
        text-align: center;
    }
    
    .preview-title {
        font-weight: 600;
        margin-bottom: 10px;
        color: var(--dark-color);
    }
    
    #canvascontainer, #svgcontainer {
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 15px;
        background: #f8fafc;
        width: 100%;
    }
    
    .loading-container {
        text-align: center;
        padding: 30px;
        display: none;
    }
    
    .spinner {
        width: 50px;
        height: 50px;
        border: 4px solid rgba(67, 97, 238, 0.2);
        border-top: 4px solid var(--primary-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 15px;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    @media (max-width: 768px) {
        .preview-row {
            flex-direction: column;
        }
        
        .action-buttons {
            flex-direction: column;
        }
    }
    .format-btn {
        flex: 1;
        min-width: 120px;
        padding: 12px;
        border: none;
        border-radius: 8px;
        background: white;
        color: var(--dark-color);
        font-weight: 500;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .format-btn:hover {
        background: #f8fafc;
        transform: translateY(-2px);
    }
    
    .format-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
    }
    .format-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }