@keyframes ctSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes ctFadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.curved-text-wrapper .hidden{display:none !important}
.curved-text-wrapper .cd-image-status{background:#e8f5e8;border:1px solid #4caf50;border-radius:8px;padding:12px 16px;margin:10px 0;display:none}
.curved-text-wrapper .cd-image-status.success{background:#e8f5e8;border-color:#4caf50;color:#2e7d32}
.curved-text-wrapper .cd-image-status.warning{background:#fff3e0;border-color:#ff9800;color:#e65100}
.curved-text-wrapper .cd-image-status.error{background:#ffebee;border-color:#f44336;color:#c62828}
.curved-text-wrapper .cd-image-status.info{background:#e3f2fd;border-color:#2196f3;color:#1565c0}
.curved-text-wrapper .cd-image-status .status-text{font-weight:600;margin-bottom:4px}
.curved-text-wrapper .cd-image-status .status-details{font-size:13px;opacity:0.85}
#hero.content-grid-mod .curved-text-wrapper .cd-image-status{background:rgba(255,255,255,0.1);border-color:rgba(255,255,255,0.3);color:#fff}
#hero.content-grid-mod .curved-text-wrapper .cd-image-status.success{background:rgba(76,175,80,0.2);border-color:rgba(76,175,80,0.5)}
#hero.content-grid-mod .curved-text-wrapper .cd-image-status.warning{background:rgba(255,152,0,0.2);border-color:rgba(255,152,0,0.5)}
#hero.content-grid-mod .curved-text-wrapper .cd-image-status.error{background:rgba(244,67,54,0.2);border-color:rgba(244,67,54,0.5)}
#hero.content-grid-mod .curved-text-wrapper .cd-image-status.info{background:rgba(33,150,243,0.2);border-color:rgba(33,150,243,0.5)}
.curved-text-wrapper .upload-button{border:0;background-color:#4FAFFC;color:#fff;text-transform:uppercase;font-weight:700;border-radius:2em;padding:.7em 1.2em .7em 3.6em;font-size:1em;position:relative;cursor:pointer;transition:all 0.3s ease}
.curved-text-wrapper .upload-button:hover{background-color:#3a9ae8;transform:translateY(-2px)}
.curved-text-wrapper .upload-button:before{display:flex;align-items:center;justify-content:center;content:"^";font-size:1.6em;font-weight:700;background-color:#fff;color:#4FAFFC;border:1px solid currentColor;position:absolute;border-radius:50%;width:1.7em;height:1.7em;left:3px;top:0;bottom:0;margin-top:auto;margin-bottom:auto;box-shadow:0 0 0 3px #fff}
.curved-text-wrapper .cd-editor-container{animation:ctFadeIn 0.3s ease;background:rgba(35,67,106,0.5);border-radius:16px;padding:18px;display:flex;gap:18px;align-items:flex-start}
.curved-text-wrapper .cd-preview-section{flex:0 0 50%;min-width:0;position:sticky;top:20px;align-self:flex-start}
.curved-text-wrapper .cd-preview-header{display:flex;justify-content:space-between;align-items:center;height:36px;margin-bottom:10px}
.curved-text-wrapper .cd-preview-header h3{color:#fff;font-size:18px;font-weight:600;margin:0}
.curved-text-wrapper .cd-image-canvas-wrapper{background:#0f2840;border-radius:12px;padding:15px;display:flex;justify-content:center;align-items:center}
.curved-text-wrapper .cd-image-canvas{position:relative;background:#000;border-radius:8px;overflow:hidden;width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
.curved-text-wrapper #ct-preview{max-width:92%;max-height:92%;object-fit:contain;display:block}
.curved-text-wrapper .cd-image-overlay-loader{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);display:flex;align-items:center;justify-content:center;border-radius:8px;z-index:5}
.curved-text-wrapper .cd-preview-spinner{width:36px;height:36px;border:3px solid rgba(255,255,255,0.2);border-top-color:#4FAFFC;border-radius:50%;animation:ctSpin 0.8s linear infinite}
.curved-text-wrapper .cd-image-info{display:flex;flex-direction:column;gap:4px;color:rgba(255,255,255,0.8);font-size:13px}
.curved-text-wrapper .cd-controls-column{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;margin-top:46px}
.curved-text-wrapper .cd-panel{background:#1a3a5c;border-radius:10px;padding:10px 12px;text-align:left}
.curved-text-wrapper .cd-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.curved-text-wrapper .cd-section-header h4{color:#fff;font-size:14px;font-weight:600;margin:0}
.curved-text-wrapper .cd-slider-group{margin-bottom:10px}
.curved-text-wrapper .cd-slider-group:last-child{margin-bottom:0}
.curved-text-wrapper .cd-slider-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}
.curved-text-wrapper .cd-slider-header label{color:rgba(255,255,255,0.9);font-size:12px;font-weight:500;margin:0}
.curved-text-wrapper .cd-slider-value{color:#4FAFFC;font-size:12px;font-weight:600;min-width:30px;text-align:right}
.curved-text-wrapper .cd-range-slider{-webkit-appearance:none;appearance:none;width:100%;height:5px;background:rgba(255,255,255,0.15);border-radius:3px;outline:none;cursor:pointer}
.curved-text-wrapper .cd-range-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;background:#4FAFFC;border-radius:50%;cursor:pointer;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,0.3);transition:transform 0.15s ease}
.curved-text-wrapper .cd-range-slider::-webkit-slider-thumb:hover{transform:scale(1.15)}
.curved-text-wrapper .cd-range-slider::-moz-range-thumb{width:14px;height:14px;background:#4FAFFC;border-radius:50%;cursor:pointer;border:2px solid #fff}
.curved-text-wrapper .cd-range-slider::-moz-range-track{height:5px;background:rgba(255,255,255,0.15);border-radius:3px;border:none}
.curved-text-wrapper .cd-custom-hint{font-size:12px;color:rgba(255,255,255,0.55);margin:8px 0 0;line-height:1.5}
.curved-text-wrapper .cd-settings-row{display:flex;gap:10px}
.curved-text-wrapper .cd-settings-group{flex:1;min-width:0;margin-top:10px}
.curved-text-wrapper .cd-settings-group label{display:block;color:rgba(255,255,255,0.9);font-size:12px;font-weight:500;margin-bottom:4px}
.curved-text-wrapper .cd-control-select{width:100%;padding:6px 10px;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);border-radius:6px;color:#fff;font-size:13px;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:30px}
.curved-text-wrapper .cd-control-select:focus{outline:none;border-color:#4FAFFC}
.curved-text-wrapper .cd-control-select option{background:#1a3a5c;color:#fff}
.curved-text-wrapper .cd-buttons-row{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.curved-text-wrapper .cd-action-buttons{display:flex}
.curved-text-wrapper .cd-download-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 20px;background:linear-gradient(135deg,#48C4D8,#4FAFFC);border:none;border-radius:8px;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.3s ease;box-shadow:0 2px 8px rgba(72,196,216,0.3)}
.curved-text-wrapper .cd-download-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(72,196,216,0.4)}
.curved-text-wrapper .cd-download-btn svg{fill:currentColor;width:14px;height:14px}
.curved-text-wrapper .cd-start-over-section{display:flex;gap:10px}
.curved-text-wrapper .cd-start-over-btn{padding:8px 16px;background:transparent;border:1px solid rgba(255,255,255,0.3);border-radius:8px;color:rgba(255,255,255,0.7);font-size:13px;cursor:pointer;transition:all 0.3s ease}
.curved-text-wrapper .cd-start-over-btn:hover{border-color:rgba(255,255,255,0.6);color:#fff}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets{display:flex;align-items:center;justify-content:center;gap:20px;width:100%}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .info{text-align:left}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .info h4{font-size:20px;font-weight:500;color:#fff;line-height:1.3;margin-bottom:0}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .cd-stock-assets-items{display:flex;gap:15px}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .cd-stock-assets-item img{max-width:140px;max-height:100px;border-radius:8px;border:3px solid #fff;cursor:pointer;transition:transform 0.2s ease;object-fit:cover}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .cd-stock-assets-item img:hover{transform:scale(1.05)}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .cd-mini-upload-area{width:80px;height:80px;background-image:url("../../../../assets/img/upload_area.svg");background-size:cover;background-repeat:no-repeat;display:none;border-radius:8px;background-color:#23436a;cursor:pointer}
.preview-active#hero.content-grid-mod .converter-wrapper .cd-stock-assets .cd-mini-upload-area{display:unset}
.preview-active#hero.content-grid-mod .converter-wrapper .cd-stock-assets{justify-content:flex-start}
.curved-text-wrapper .cd-tool-file-preview-wrapper{display:none}
.curved-text-wrapper .cd-tool-file-preview-wrapper.active{display:flex;align-items:center;justify-content:center}
.curved-text-wrapper .cd-tool-preview-loader{display:flex;flex-direction:column;align-items:center;gap:15px;padding:30px}
.curved-text-wrapper .cd-tool-preview-loader[data-loader-view="full"]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(17,17,17,0.9);z-index:9999;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(5px)}
.curved-text-wrapper .cd-tool-preview-loader img{width:50px;height:50px;animation:ctSpin 1s infinite linear}
.curved-text-wrapper .cd-tool-preview-loader span{color:#fff;font-size:16px;font-weight:500}
#hero .cd_header_top_bar{display:none}
.cd_header_top_bar{width:100%;background:#3f5fff;color:#fff;display:flex;align-items:center;justify-content:center;padding:10px 30px;height:auto;z-index:99;position:relative;font-size:14px}
.cd_header_top_bar .cd_header_top_bar_content a{color:#fff;text-transform:uppercase;text-decoration:underline;margin-left:8px}
#hero.content-grid-mod .converter-wrapper{background-color:#23436A;padding:50px;border-radius:24px;margin-top:76px;transition:height 0.3s ease-out}
.preview-active#hero.content-grid-mod .converter-wrapper.curved-text-wrapper{padding:30px;max-width:100%;width:100%}
#hero.content-grid-mod .curved-text-wrapper .cd-image-info span{font-size:13px!important}
.curved-text-wrapper .cd-ct-intro{text-align:center;margin-bottom:20px}
.curved-text-wrapper .cd-ct-intro h2{color:#fff;font-weight:300;font-size:40px;line-height:1.2;margin:0 0 10px}
.curved-text-wrapper .cd-upload-subtitle{max-width:640px;margin:0 auto;color:rgba(255,255,255,0.75);line-height:1.5}
.curved-text-wrapper .cd-image-canvas.is-transparent{background:repeating-conic-gradient(#d9dee5 0 25%,#fff 0 50%) 0 0/22px 22px}
.curved-text-wrapper .cd-size-badge{padding:4px 10px;border-radius:999px;background:rgba(79,175,252,0.15);border:1px solid rgba(79,175,252,0.4);color:#fff;font-size:12px;font-weight:600;white-space:nowrap}
.curved-text-wrapper .cd-section-header h4 label{margin:0;font:inherit;color:inherit}
.curved-text-wrapper .cd-control-input{width:100%;padding:8px 10px;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);border-radius:6px;color:#fff;font-size:15px;box-sizing:border-box}
.curved-text-wrapper .cd-control-input:focus{outline:none;border-color:#4FAFFC}
.curved-text-wrapper .cd-field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.curved-text-wrapper .cd-color-row{display:flex;align-items:center;gap:12px}
.curved-text-wrapper input[type=color]{width:44px;height:34px;padding:2px;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);border-radius:6px;cursor:pointer}
.curved-text-wrapper .cd-check-label{display:inline-flex;align-items:center;gap:6px;margin:0;color:rgba(255,255,255,0.9);font-size:13px;font-weight:500;cursor:pointer}
.curved-text-wrapper .cd-slider-group{margin-top:10px}
.curved-text-wrapper .cd-seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.1);border-radius:999px}
.curved-text-wrapper .cd-seg-btn{padding:6px 14px;background:transparent;border:none;border-radius:999px;color:rgba(255,255,255,0.78);font-size:13px;font-weight:600;cursor:pointer}
.curved-text-wrapper .cd-seg-btn:hover{background:rgba(255,255,255,0.1);color:#fff}
.curved-text-wrapper .cd-seg-btn.active{background:#4FAFFC;color:#fff}
.curved-text-wrapper .cd-outline-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.curved-text-wrapper #ct-photo-controls{margin-top:10px}
.curved-text-wrapper .cd-photo-pick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.curved-text-wrapper .cd-photo-pick .cd-stock-media{width:56px;height:42px;object-fit:cover;border-radius:6px;border:2px solid transparent;cursor:pointer}
.curved-text-wrapper .cd-photo-pick .cd-stock-media.active{border-color:#4FAFFC}
.curved-text-wrapper .cd-apply-btn{padding:7px 14px;background:#4FAFFC;border:none;border-radius:6px;color:#fff;font-size:13px;font-weight:600;cursor:pointer}
.curved-text-wrapper a.cd-download-btn{text-decoration:none}
.curved-text-wrapper a.cd-download-btn:hover,.curved-text-wrapper a.cd-download-btn:focus{color:#fff;text-decoration:none}
.curved-text-wrapper .cd-download-btn.is-disabled{opacity:0.5;pointer-events:none}
#hero.content-grid-mod .curved-text-wrapper .cd-upload-subtitle{font-size:15px!important}
#hero.content-grid-mod .curved-text-wrapper .cd-custom-hint{font-size:12px!important;line-height:1.5!important}
@media (max-width:1199px){
.curved-text-wrapper .cd-editor-container{flex-direction:column}
.curved-text-wrapper .cd-preview-section{position:static;flex:none;width:100%}
.curved-text-wrapper .cd-controls-column{margin-top:0;width:100%}
}
@media (max-width:991px){
#hero.content-grid-mod .converter-wrapper{padding:25px}
.preview-active#hero.content-grid-mod .converter-wrapper.curved-text-wrapper{padding:20px}
}
@media (max-width:767px){
.curved-text-wrapper .cd-ct-intro h2{font-size:26px}
.curved-text-wrapper .cd-field-row{grid-template-columns:1fr}
#hero.content-grid-mod .converter-wrapper{padding:15px;margin-top:40px;border-radius:12px}
.preview-active#hero.content-grid-mod .converter-wrapper.curved-text-wrapper{padding:12px}
.curved-text-wrapper .cd-buttons-row{flex-direction:column;align-items:stretch}
.curved-text-wrapper .cd-buttons-row .cd-action-buttons,.curved-text-wrapper .cd-buttons-row .cd-start-over-section{justify-content:center}
.curved-text-wrapper .cd-download-btn{width:100%}
.cd_header_top_bar{padding:10px 16px;font-size:13px;text-align:center}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets{flex-direction:column;align-items:flex-start}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .cd-stock-assets-items{flex-wrap:wrap}
#hero.content-grid-mod .converter-wrapper .cd-stock-assets .cd-stock-assets-item img{max-width:100px;max-height:75px}
.curved-text-wrapper .cd-controls-column{width:100%}
}
@media print{
.curved-text-wrapper .cd-editor-container,.curved-text-wrapper .cd-action-buttons,.cd_header_top_bar{display:none !important}
}
