.container {
            max-width: 800px;
            width: 100%;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }
        
        .header {
            background: #2575fc;
            color: white;
            padding: 25px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
        }
        
        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .content {
            padding: 30px;
        }
        
        .upload-area {
            border: 2px dashed #6a11cb;
            border-radius: 10px;
            padding: 40px 20px;
            text-align: center;
            margin-bottom: 30px;
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
        }
        
        .upload-area:hover {
            background: #f8f9ff;
            border-color: #2575fc;
        }
        
        .upload-area i {
            font-size: 3rem;
            color: #6a11cb;
            margin-bottom: 15px;
        }
        
        .upload-area h3 {
            margin-bottom: 10px;
            color: #333;
        }
        
        .upload-area p {
            color: #666;
            margin-bottom: 15px;
        }
        
        .btn {
            display: inline-block;
            background: #6a11cb;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
            border: none;
            font-size: 1rem;
        }
        
        .btn:hover {
            background: #2575fc;
        }
        
        .size-options {
            margin-bottom: 30px;
        }
        
        .size-options h3 {
            margin-bottom: 15px;
            color: #333;
        }
        
        .size-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
        }
        
        .size-option {
            display: flex;
            align-items: center;
            padding: 2px;
            border: 1px solid #ddd;
            border-radius: 15px;
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .size-option:hover {
            border-color: #6a11cb;
        }
        
        .size-option.selected {
            border-color: #2575fc;
            background-color: #e8f4fd;
        }
        
        .size-option input {
            margin-right: 10px;
        }
        
        .preview {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            border: 1px solid #eee;
            border-radius: 10px;
            background: #f9f9f9;
        }
        
        .preview h3 {
            margin-bottom: 15px;
            color: #333;
        }
        
        .preview-image {
            max-width: 200px;
            margin: 0 auto;
            border: 1px solid #ddd;
            border-radius: 5px;
            overflow: hidden;
        }
        
        .preview-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .generate-btn {
            display: block;
            width: 100%;
            padding: 15px;
            background: #6a11cb;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 1.2rem;
            cursor: pointer;
            transition: background 0.3s;
            text-align: center;
        }
        
        .generate-btn:hover {
            background: #2575fc;
        }
        
        .generate-btn:disabled {
            background: #cccccc;
            cursor: not-allowed;
        }
        
        .error {
            background: #ffe6e6;
            color: #d63031;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            border-left: 4px solid #d63031;
        }
        
        .success {
            background: #e6ffe6;
            color: #27ae60;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            border-left: 4px solid #27ae60;
        }
        
        .info {
            margin-top: 30px;
            padding: 20px;
            background: #e8f4fd;
            border-radius: 10px;
            border-left: 4px solid #2575fc;
        }
        
        .info h3 {
            color: #2575fc;
            margin-bottom: 10px;
        }
        
        .info ul {
            padding-left: 20px;
        }
        
        .info li {
            margin-bottom: 8px;
        }
        
        .size-info {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-size: 0.9rem;
            color: #666;
        }
        
        .recommended {
            background: #2575fc;
            color: white;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.8rem;
        }
        
        .download-area {
            display: none;
            text-align: center;
            margin-top: 20px;
            padding: 20px;
            border: 2px dashed #27ae60;
            border-radius: 10px;
            background: #e6ffe6;
        }
        
        .download-btn {
            display: inline-block;
            background: #27ae60;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            margin-top: 10px;
            transition: background 0.3s;
        }
        
        .download-btn:hover {
            background: #219653;
        }
        
        @media (max-width: 600px) {
            .container {
                margin: 10px;
            }
            
            .header h1 {
                font-size: 1.8rem;
            }
            
            .content {
                padding: 20px;
            }
            
            .size-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }