.app-container{min-height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:20px;display:flex;flex-direction:column;align-items:center}.header{text-align:center;color:#fff;margin-bottom:40px;margin-top:20px}.header h1{font-size:2.5em;margin-bottom:10px;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.header p{font-size:1.1em;opacity:.95}.main-content{display:grid;grid-template-columns:1fr 1fr;gap:30px;max-width:1200px;width:100%;margin-bottom:40px}.upload-section{background:white;border-radius:15px;padding:30px;box-shadow:0 10px 40px #0003;display:flex;flex-direction:column;align-items:center}.upload-area{width:100%;border:3px dashed #667eea;border-radius:10px;padding:40px 20px;text-align:center;cursor:pointer;transition:all .3s ease;background:#f8f9fa;margin-bottom:20px}.upload-area:hover{border-color:#764ba2;background:#f0f0ff}.upload-area.drag-over{border-color:#764ba2;background:#e8e4ff;transform:scale(1.02)}.upload-area input[type=file]{display:none}.upload-icon{font-size:3em;margin-bottom:10px}.upload-text{font-size:1.1em;color:#667eea;margin-bottom:5px;font-weight:500}.upload-subtext{font-size:.9em;color:#999}.preview-section{background:white;border-radius:15px;padding:30px;box-shadow:0 10px 40px #0003;display:flex;flex-direction:column;align-items:center}.image-preview{width:100%;max-width:300px;height:auto;border-radius:10px;margin-bottom:20px;box-shadow:0 4px 15px #0000001a}.hairstyles-section{background:white;border-radius:15px;padding:30px;box-shadow:0 10px 40px #0003;width:100%;max-width:1200px}.hairstyles-title{font-size:1.5em;margin-bottom:20px;color:#333;text-align:center}.hairstyles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px}.hairstyle-card{border:3px solid #e0e0e0;border-radius:10px;padding:15px;text-align:center;cursor:pointer;transition:all .3s ease;background:#f9f9f9}.hairstyle-card:hover{border-color:#667eea;box-shadow:0 4px 15px #667eea33;transform:translateY(-5px)}.hairstyle-card.active{border-color:#667eea;background:#f0f0ff;box-shadow:0 4px 15px #667eea4d}.hairstyle-icon{font-size:2.5em;margin-bottom:10px}.hairstyle-name{font-weight:500;color:#333;font-size:.95em}.button-group{display:flex;gap:10px;margin-top:20px;width:100%;flex-wrap:wrap;justify-content:center}button{padding:12px 24px;border:none;border-radius:8px;font-size:1em;font-weight:600;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px}.btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-secondary{background:#f0f0f0;color:#667eea;border:2px solid #667eea}.btn-secondary:hover{background:#667eea;color:#fff}.message{text-align:center;padding:20px;margin:20px 0;border-radius:10px;font-weight:500}.message.info{background:#e3f2fd;color:#1976d2;border-left:4px solid #1976d2}.message.success{background:#e8f5e9;color:#388e3c;border-left:4px solid #388e3c}.message.error{background:#ffebee;color:#c62828;border-left:4px solid #c62828}.message.loading{background:#fff3e0;color:#f57c00;border-left:4px solid #f57c00}.spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .8s linear infinite;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:40px 20px;color:#999}.empty-state-icon{font-size:3em;margin-bottom:15px}.empty-state-text{font-size:1.1em;color:#666}@media (max-width: 768px){.main-content{grid-template-columns:1fr}.header h1{font-size:2em}.hairstyles-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.app-container{padding:10px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);min-height:100vh;color:#333}html,body,#root{height:100%}
