.custom-event-form{display:flex;flex-direction:column;gap:0}.form-section{background:white;border:2px solid #000;border-radius:12px;padding:2rem;margin-bottom:2rem}.form-section:last-child{margin-bottom:0}.section-title{font-size:1.5rem;font-weight:600;color:black;margin:0 0 1.5rem;font-family:Cantarell,sans-serif;line-height:1.6}.form-row{display:grid;grid-template-columns:1fr;grid-gap:1rem;gap:1rem;margin-bottom:1rem}.form-row:has(.form-group:nth-child(2)){grid-template-columns:1fr 1fr}.form-row.three-cols{grid-template-columns:1fr 1fr 1fr}.form-row.desktop-two-cols{grid-template-columns:1fr 1fr}.details-size-container{display:grid;grid-template-columns:2fr 1fr;grid-gap:2rem;gap:2rem;margin-bottom:2rem}.details-size-container .form-section{margin:0}.details-size-section{padding-bottom:1.5rem!important}.single-line-details{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:1rem;gap:1rem;margin-bottom:.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600}.form-group input,.form-group label,.form-group textarea{font-size:1rem;color:black;font-family:Cantarell,sans-serif}.form-group input,.form-group textarea{padding:1rem;border:2px solid #e5e5e5;border-radius:8px;background:white;transition:border-color .3s ease}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#8ecae6}.form-group input.error,.form-group textarea.error{border-color:#8ecae6}.error-message{font-size:.875rem;color:#8ecae6;font-family:Cantarell,sans-serif;margin-top:.25rem}.delivery-toggle-container{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.delivery-toggle{display:flex;gap:1rem;background:#000;border-radius:8px;padding:.5rem;border:1px solid #e5e5e5}.toggle-option{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:700;color:#fff;transition:all .3s ease;font-family:Cantarell,sans-serif}.toggle-option:hover{background:white;color:#333}.toggle-option input[type=radio]{width:16px;height:16px;margin:0;cursor:pointer;accent-color:#000}.toggle-option input[type=radio]:checked+span{color:#000;font-weight:700}.toggle-option:has(input[type=radio]:checked){background:white;color:#8ecae6}.delivery-info{margin-bottom:1.5rem}.delivery-helper-text{font-size:.9rem;color:#666;font-style:italic;margin:0}.radio-group{display:flex;gap:1rem;flex-wrap:wrap}.radio-option{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-family:Cantarell,sans-serif;font-size:1rem;color:black}.radio-option input[type=radio]{width:18px;height:18px;margin:0;cursor:pointer;accent-color:#000}.radio-option span{font-weight:500}.horizontal-radio-line{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:2rem;gap:2rem;align-items:flex-start}.specialty-ice-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1.5rem;gap:1.5rem}.specialty-ice-grid.desktop-four-cols{grid-template-columns:repeat(4,1fr);gap:1rem}.specialty-item{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:1rem;border:2px solid #e5e5e5;border-radius:8px;transition:border-color .3s ease}.specialty-item:hover{border-color:#8ecae6}.product-image{width:100px;height:100px;border-radius:8px;overflow:hidden;background:#f5f5f5}.product-image img{width:100%;height:100%;object-fit:cover}.product-details{text-align:center;width:100%}.product-details label{font-size:1rem;font-weight:600;color:black;margin-bottom:.5rem;display:block}.count-input{width:100%}.count-input input{width:100%;max-width:150px;text-align:center}.form-group input[type=number]{-webkit-appearance:none;-moz-appearance:textfield;appearance:none;background:white;border:2px solid #e5e5e5;border-radius:8px;padding:1rem;font-size:1rem;font-family:Cantarell,sans-serif;font-weight:500;text-align:center;transition:border-color .3s ease}.form-group input[type=number]:focus{outline:none;border-color:#8ecae6}.form-group input[type=number]::-webkit-inner-spin-button,.form-group input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.count-input input[type=number]{background:white;border:2px solid #e5e5e5;border-radius:8px;padding:.75rem 1rem;font-size:1rem;font-family:Cantarell,sans-serif;font-weight:600;text-align:center;transition:all .2s ease;max-width:120px}.count-input input[type=number]:focus{outline:none;border-color:#8ecae6;background:#fff}.count-input input[type=number]::-webkit-inner-spin-button,.count-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}@media (max-width:1040px){.form-row.desktop-two-cols,.form-row.three-cols{grid-template-columns:1fr;gap:1rem}.details-size-container{grid-template-columns:2fr 1fr;gap:2rem}.single-line-details{grid-template-columns:1fr;gap:1rem}.specialty-ice-grid.desktop-four-cols{grid-template-columns:repeat(4,1fr);gap:1rem}}@media (max-width:440px){.form-section{padding:1rem;border-radius:8px;margin-bottom:2rem}.section-title{font-size:1.2rem}.details-size-section{padding-bottom:1rem!important}.form-row:has(.form-group:nth-child(2)){grid-template-columns:1fr;gap:1rem}.form-group input,.form-group textarea{padding:.75rem}.radio-group{gap:.75rem}.radio-option{font-size:.9rem}.horizontal-radio-line{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;gap:1rem}.horizontal-radio-line .form-group{min-width:0}.details-size-container{grid-template-columns:1fr 1fr;gap:1rem}.single-line-details{grid-template-columns:1fr;gap:1rem}.specialty-ice-grid,.specialty-ice-grid.desktop-four-cols{grid-template-columns:repeat(2,1fr);gap:1rem}.product-image{width:80px;height:80px}.product-details label{font-size:.9rem}.count-input input{max-width:120px;font-size:.9rem}.delivery-toggle{width:auto;justify-content:flex-start;margin-top:-5px}.toggle-option{padding:.8rem;font-size:.9rem}.delivery-toggle-container{flex-direction:column;align-items:flex-start;gap:0}}.image-attachment-status{background:#8ecae6;border:1px solid #8ecae6;border-radius:8px;padding:1rem;margin:0 0 2rem;text-align:center}.status-indicator{color:#fff;font-weight:600;font-size:.95rem;display:flex;align-items:center;justify-content:center;gap:.5rem}.status-indicator:before{font-size:1.1rem}@media (max-width:1040px){.image-attachment-status{margin:0 0 2rem;padding:.8rem}}@media (max-width:440px){.image-attachment-status{padding:.7rem}.status-indicator{font-size:.9rem}}.image-generator-content{display:flex;flex-direction:column;gap:2rem}.prompt-section{gap:1rem}.prompt-section,.style-toggles{display:flex;flex-direction:column}.style-toggles{gap:.5rem}.style-label{font-size:.9rem;font-weight:600;color:#666;margin:0}.style-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.style-toggle{padding:.4rem .8rem;border:2px solid #e5e5e5;background:white;border-radius:20px;font-size:.85rem;font-family:Cantarell,sans-serif;cursor:pointer;transition:all .3s ease;font-weight:500}.style-toggle:hover{border-color:#8ecae6}.style-toggle.active{background:#8ecae6;border-color:#8ecae6;color:white}.style-toggle:disabled{opacity:.5;cursor:not-allowed}.generate-btn{padding:1rem 2rem;background:white;color:black;border:2px solid black;border-radius:8px;font-size:1rem;font-weight:600;font-family:Cantarell,sans-serif;cursor:pointer;transition:all .3s ease;text-transform:uppercase}.generate-btn:hover:not(:disabled){background:#000;color:white}.generate-btn:disabled{opacity:.5;cursor:not-allowed}.preview-section{display:flex;flex-direction:column;gap:1.5rem;border:2px solid #e5e5e5;border-radius:12px;padding:1.5rem;background:#fafafa}.image-preview-container{display:flex;flex-direction:column;gap:1rem;align-items:center}.preview-box{position:relative;width:512px;height:512px;border:2px solid #ddd;border-radius:8px;overflow:hidden;background:white}.preview-image{width:100%;height:100%;object-fit:cover;display:block}.mask-canvas{position:absolute;top:0;left:0;width:100%;height:100%;cursor:crosshair;z-index:10}.image-history{display:flex;flex-direction:column;gap:.5rem;align-items:center}.history-label{font-size:.9rem;font-weight:600;color:#666;margin:0}.history-thumbnails{display:flex;gap:.5rem}.history-thumbnail{width:60px;height:60px;border:2px solid #ddd;border-radius:6px;overflow:hidden;background:white;cursor:pointer;transition:all .3s ease}.history-thumbnail:hover{border-color:#8ecae6}.history-thumbnail.active{border-color:#8ecae6;box-shadow:0 0 0 2px rgba(142,202,230,.3)}.history-thumbnail img{width:100%;height:100%;object-fit:cover}.image-actions{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}.action-btn{padding:.75rem 1.5rem;border:2px solid #000;background:white;color:#000;border-radius:8px;font-size:.9rem;font-weight:700;font-family:Cantarell,sans-serif;cursor:pointer;transition:all .3s ease;text-transform:uppercase}.action-btn:hover{background:#000;color:white}.use-btn{border-color:#000;color:#000}.use-btn:hover{background:#000;color:white}.refine-section{border-top:1px solid #e5e5e5;padding-top:1.5rem}.refine-actions{display:flex;justify-content:center;margin-top:1rem}.refine-btn{padding:.75rem 1.5rem;background:#fff;color:black;border:2px #000;border-radius:8px;font-size:.9rem;font-weight:700;font-family:Cantarell,sans-serif;cursor:pointer;transition:all .3s ease;text-transform:uppercase}.refine-btn:hover:not(:disabled){background:#000;color:white}.refine-btn:disabled{opacity:.5;cursor:not-allowed}.edit-section{border-top:1px solid #e5e5e5;padding-top:1.5rem}.edit-header{text-align:center;margin-bottom:1rem}.edit-title{font-size:1.2rem;font-weight:600;color:black;margin:0 0 .5rem}.edit-note{font-size:.85rem;color:#666;margin:0;font-style:italic}.edit-controls{display:flex;justify-content:center;gap:1rem;margin-bottom:1rem}.mask-toggle-btn{padding:.75rem 1.5rem;border:2px solid #000;background:#fff;color:#000;border-radius:8px;font-size:.9rem;font-weight:700;font-family:Cantarell,sans-serif;cursor:pointer;transition:all .3s ease;text-transform:uppercase}.mask-toggle-btn:hover:not(:disabled){background:#000;color:#fff}.mask-toggle-btn.active{background:#fff;color:#000}.mask-toggle-btn:disabled{opacity:.5;cursor:not-allowed}.clear-mask-btn{padding:.75rem 1rem;border:2px solid #000;background:white;color:#000;border-radius:8px;font-size:.85rem;font-weight:700;text-transform:uppercase;font-family:Cantarell,sans-serif;cursor:pointer;transition:all .3s ease}.clear-mask-btn:hover{background:#000;color:#fff}.edit-prompt-section{display:flex;flex-direction:column;width:auto;gap:1rem}.apply-edit-btn{padding:.75rem 1.5rem;background:#fff;color:black;border:2px solid #000;border-radius:8px;font-size:.9rem;font-weight:700;font-family:Cantarell,sans-serif;cursor:pointer;transition:all .3s ease;text-transform:uppercase}.apply-edit-btn:hover{background:#000;color:#fff}.generation-status{text-align:center;padding:1rem;border:1px solid #e5e5e5;border-radius:8px;background:#fff}.generation-count{font-size:.9rem;font-weight:600;color:#000;margin:0 0 .5rem}.generation-limit{font-size:.85rem;color:#8ecae6;margin:.5rem 0 0;font-style:italic}.usage-instructions{background:#f0f8ff;border:1px solid #8ecae6;border-radius:8px;padding:1.5rem}.usage-instructions h4{margin:0 0 1rem;font-size:1rem;font-weight:600;color:black}.usage-instructions ol{margin:0;padding-left:1.5rem;font-size:.9rem;line-height:1.6;color:#333}.usage-instructions li{margin-bottom:.5rem}@media (max-width:1040px){.preview-box{width:400px;height:400px}.edit-controls,.image-actions{flex-direction:column;align-items:center}}@media (max-width:440px){.preview-box{width:280px;height:280px}.style-buttons{justify-content:center}.style-toggle{font-size:.8rem;padding:.3rem .6rem}.action-btn,.apply-edit-btn,.generate-btn,.mask-toggle-btn,.refine-btn{width:100%;max-width:300px;font-size:.9rem}.image-actions{width:100%}.action-btn{flex:1 1;min-width:0}.usage-instructions{padding:1rem}.usage-instructions h4{font-size:.95rem}.usage-instructions ol{font-size:.85rem;padding-left:1.2rem}}.use-btn.selected-for-order{background:#fff;color:black;border-color:#000}.use-btn.selected-for-order:hover{background:#000;color:white;border-color:#000}.use-confirmation{background:#8ecae6;color:#fff;padding:.75rem 1rem;border-radius:6px;border:1px solid #8ecae6;margin-top:1rem;text-align:center;font-weight:700;animation:slideInFade .3s ease-out}@keyframes slideInFade{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}