:root { --primary: #1a73e8; --bg: #f8f9fa; --card: #ffffff; }
    body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; padding: 40px; background: var(--bg); color: #202124; margin: 0; transition: direction 0.3s; }
    .container { max-width: 700px; background: var(--card); padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin: auto; }
    h1 { margin-top: 0; font-size: 28px; color: var(--primary); text-align: center; margin-bottom: 30px; }
    
    .preview-container {
      width: 100%; height: 280px;
      background: #000 url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
      border-radius: 12px; margin-bottom: 30px;
      position: relative; display: flex; justify-content: center; align-items: flex-end; overflow: hidden;
      border: 4px solid #eee;
    }
    .preview-text { margin-bottom: 25px; text-align: center; padding: 0 30px; font-weight: bold; line-height: 1.3; }

    .row { display: flex; gap: 20px; margin-bottom: 20px; }
    .col { flex: 1; }
    .field { margin-bottom: 20px; }
    label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: #5f6368; }
    input, select { width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 8px; box-sizing: border-box; font-size: 15px; outline: none; }
    input:focus, select:focus { border-color: var(--primary); }
    input[type="color"] { height: 48px; padding: 4px; cursor: pointer; }
    
    button { width: 100%; padding: 16px; background: var(--primary); color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 17px; font-weight: bold; margin-top: 10px; transition: background 0.2s; }
    button:hover { background: #1557b0; }
    
    #progress-container { display: none; margin-top: 25px; }
    progress { width: 100%; height: 10px; border-radius: 5px; appearance: none; }
    progress::-webkit-progress-bar { background-color: #e8eaed; border-radius: 5px; }
    progress::-webkit-progress-value { background-color: var(--primary); border-radius: 5px; }
    #status { margin-top: 12px; font-size: 14px; text-align: center; color: #70757a; font-weight: 500; }
    #links { margin-top: 25px; }
    #links a { display: block; padding: 14px; background: #f1f3f4; color: var(--primary); text-decoration: none; border-radius: 8px; margin-bottom: 10px; text-align: center; font-weight: bold; border: 1px solid #dadce0; }