html,body{margin:0;padding:0;font-family:Arial,sans-serif;transition:background-color .3s,color .3s}body.light{background-color:#f9f9f9;color:#222}body.dark{background-color:#1e1e1e;color:#eee}.container{max-width:900px;margin:20px auto;padding:20px;transition:all .3s ease}h1{font-family:Poppins,sans-serif;font-weight:800;font-size:4rem;background:linear-gradient(90deg,#6a11cb,#2575fc);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-align:center;margin-bottom:10px}p{text-align:center;font-size:1.1rem;margin-bottom:20px;opacity:.85}button,.generated-wrapper button,.action-buttons button,.theme-switcher button{padding:10px 18px;border-radius:14px;border:none;font-weight:700;cursor:pointer;color:#fff;background:linear-gradient(135deg,#6a11cb,#2575fc);box-shadow:0 4px 12px #00000026;transition:all .2s ease}button:hover,.generated-wrapper button:hover,.action-buttons button:hover,.theme-switcher button:hover{filter:brightness(1.05);box-shadow:0 6px 18px #00000040}body.dark button,body.dark .generated-wrapper button,body.dark .action-buttons button,body.dark .theme-switcher button{background:linear-gradient(135deg,#434343,#222);color:#fff}button.outline,.generated-wrapper button.outline,.action-buttons button.outline,.theme-switcher button.outline{background:transparent;border:2px solid #ff8c00;color:#ff8c00}button.outline:hover,.generated-wrapper button.outline:hover,.action-buttons button.outline:hover,.theme-switcher button.outline:hover{background:#ff8c00;color:#fff}.garment-select,.style-select{display:flex;gap:10px;justify-content:center;margin:15px 0;border-radius:18px;overflow:hidden}.garment-select input,.style-select input{display:none}.garment-select span,.style-select span{display:inline-block;box-sizing:border-box;font-weight:600;padding:10px 18px;border-radius:18px;background:#e0e0e0;color:#000;cursor:pointer;transition:all .2s ease;margin-left:-8px;-webkit-user-select:none;user-select:none;overflow:hidden;transform:translateZ(0);backface-visibility:hidden;will-change:transform}.garment-select span:hover,.style-select span:hover{background:#dcdcdc}.garment-select input:checked+span,.style-select input:checked+span{background:#2980b9;color:#fff;box-shadow:0 5px 12px #0003}body.dark .garment-select span,body.dark .style-select span{background:#555;color:#eee}body.dark .garment-select span:hover,body.dark .style-select span:hover{background:#666}body.dark .garment-select input:checked+span,body.dark .style-select input:checked+span{background:#2980b9;color:#fff;box-shadow:0 5px 12px #0003}input[type=color]{-webkit-appearance:none;border:none;width:100%;height:50px;border-radius:14px;cursor:pointer;transition:all .2s ease}input[type=color]::-webkit-color-swatch-wrapper{padding:0;border-radius:14px}input[type=color]::-webkit-color-swatch{border-radius:14px;border:none}.color-card{display:flex;align-items:center;justify-content:center;min-width:80px;min-height:80px;border-radius:14px;font-weight:700;cursor:pointer;transition:all .2s ease;position:relative;background:#fff}.color-card.fade-in{opacity:0;transform:translateY(10px);animation:fadeIn .3s forwards}@keyframes fadeIn{to{opacity:1;transform:translateY(0)}}.color-card.shimmer{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.2s infinite;min-width:80px;min-height:80px;border-radius:14px}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.saved-outfits{margin-top:30px;border-top:1px solid #ccc;padding-top:20px}.saved-outfits h3{text-align:center;margin-bottom:15px}.saved-outfits .color-card{width:100px;height:100px;font-size:.9rem;margin-bottom:5px;border:2px solid transparent;transition:all .2s ease}.saved-outfits .saved-outfit-name{width:90px;border-radius:8px;padding:4px 6px;text-align:center;font-weight:500;transition:all .2s ease}body.dark .saved-outfits .saved-outfit-name{background-color:#333;color:#eee;border:1px solid #555}.theme-switcher{display:flex;justify-content:flex-end;margin-bottom:15px}.share-link{display:flex;flex-direction:column;align-items:center;gap:5px}.generated-wrapper{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:24px}.link-generated{font-weight:700;color:#2980b9;font-size:.95rem}.action-buttons{display:flex;gap:10px;margin-top:10px;align-items:center}.button-save-cond{display:flex;flex-direction:column;align-items:center;gap:5px}.garment-select label,.style-select label{margin:10px}.color-row{display:flex;align-items:center;gap:12px}.color-row input[type=color]{flex:1;height:50px}.camera-btn{height:50px;min-width:50px;border-radius:14px;font-size:1.3rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}button,a,input[type=button],input[type=submit],input[type=reset],input[type=color],.color-card,.generated-wrapper button,.action-buttons button,div[role=button],span[role=button]{cursor:pointer;transition:all .2s ease}button:hover,a:hover,input[type=button]:hover,input[type=submit]:hover,input[type=reset]:hover,input[type=color]:hover,.color-card:hover,.generated-wrapper button:hover,.action-buttons button:hover,div[role=button]:hover,span[role=button]:hover{filter:brightness(1.05);box-shadow:0 4px 12px #0000002e}@keyframes rainbowText{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.footer{margin-top:40px;padding:20px;text-align:center;border-top:1px solid;font-size:.9rem;transition:all .3s ease}.footer a{margin:0 10px;text-decoration:none;font-weight:600;transition:all .2s ease}.footer a:hover{filter:brightness(1.1)}body.light .footer{border-color:#ccc;color:#333}body.light .footer a{color:#2980b9}body.dark .footer{border-color:#444;color:#eee}body.dark .footer a{color:#2980b9}.fade-in{opacity:0;animation:fadeIn .3s forwards}.fade-out{opacity:1;animation:fadeOut .3s forwards}@keyframes fadeIn{to{opacity:1}}@keyframes fadeOut{to{opacity:0}}
