#elementor-customizer-toggle {
 border-radius: 99px;
 background: linear-gradient(135deg, 
        rgba(100,103,248,1) 0%, 
        rgba(141,60,237,1) 50%, 
        rgba(215,62,185,1) 100%
    );
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: fit-content;
    height: 45px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    font-size: 15px;
    transition: transform 0.2s ease;
    gap: 10px;
    padding: 10px;
}

#elementor-customizer-toggle:hover {
    transform: scale(1.1);
}

#elementor-customizer-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: #f0f2f5;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', 'Inter', sans-serif;
}

#elementor-customizer-sidebar.open {
    right: 0;
}

.customizer-header {
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customizer-header h3 {
    margin: 0;
    font-size: 20px !important;
    font-weight: 600;
    color: #111;
}

#close-customizer {
    cursor: pointer;
    font-size: 28px;
    color: #666;
    line-height: 1;
}

.customizer-body {
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(0,0,0,0.1);
}

.customizer-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.customizer-body .customizer-card:last-child {
  margin-bottom: 0;
}

.customizer-card h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px !important;
    font-weight: 700;
    color: #111;
}

.fa-palette:before {
    content: "\f53f";
    color: rebeccapurple;
}

.color-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.color-option-btn {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.color-option-btn:hover {
    border-color: #007bff;
    background: #fff;
}

.color-circle {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 10px;
}

.color-label {
    font-size: 14px;
    color: #495057;
}

.custom-trigger {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    justify-content: center;
}

.custom-color-controls {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.color-control-group {
    margin-bottom: 15px;
}

.color-control-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.custom-color-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
    
}

.custom-color-input-group input[type="text"] {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    height: 40px;
    box-sizing: border-box;
}

.color-picker-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
    position: relative;
    flex-shrink: 0;
}

.color-picker-wrapper input[type="color"] {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    cursor: pointer;
    border: none;
    padding: 0;
}

.btn-apply {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.font-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.font-option {
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
    transition: all 0.2s;
}

.font-option:hover {
    background: #fff;
    border-color: #007bff;
}

.file-input-wrapper {
    margin-bottom: 15px;
}

.file-label {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    background: #f8f9fa;
}

.btn-choose {
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-right: 10px;
}

#file-name {
    font-size: 12px;
    color: #6c757d;
}

.logo-actions {
    display: flex;
    gap: 10px;
}

.btn-gradient {
     background: linear-gradient(135deg, 
        rgba(100,103,248,1) 0%, 
        rgba(141,60,237,1) 50%, 
        rgba(215,62,185,1) 100%
    );
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-gradient:hover {
    opacity: 0.9;
}

.btn-light {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.full-width {
    width: 100%;
}

.full-width-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.full-width-select:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.center-text {
    text-align: center;
}

.small-text {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

form#enquiry-form {
    margin-top: 10px;
}

#enquiry-form input, #enquiry-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    font-size: 14px;
}

.customizer-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

/* AI Generation Styles */
.ai-generation-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
}

.ai-generation-card label {
   display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}


.ai-prompt-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#ai-prompt {
    width: 100%;
    height: 80px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    background: white;
}

#ai-prompt:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-ai-generate {
     background: linear-gradient(135deg, 
        rgba(100,103,248,1) 0%, 
        rgba(141,60,237,1) 50%, 
        rgba(215,62,185,1) 100%
    );
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    gap:10px;
}

.btn-ai-generate:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-ai-generate:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success Modal Styles */
.customizer-modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.customizer-modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 300px;
}

.modal-icon {
    font-size: 50px;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: block;
}

.modal-icon i {
    font-size: 50px;
}

.modal-icon .dashicons {
    display: inline;
}

.modal-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #111;
}

.modal-content p {
    margin: 0 0 25px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.btn-gradient-ok {
    background: linear-gradient(135deg, rgba(100, 103, 248, 1) 0%, rgba(141, 60, 237, 1) 50%, rgba(215, 62, 185, 1) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    transition: opacity 0.2s;
}

.btn-gradient-ok:hover {
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media screen and (max-width: 480px) {
    #elementor-customizer-sidebar {
        width: 100% !important;
        right: -100%;
    }

    #elementor-customizer-sidebar.open {
        right: 0;
    }

    /* .color-presets {
        grid-template-columns: 1fr;
    }

    .font-presets {
        grid-template-columns: 1fr;
    } */

    .custom-color-input-group {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .custom-color-input-group input[type="text"] {
        flex: 1;
        min-width: 0;
    }

    .color-picker-wrapper {
        width: 40px;
        flex-shrink: 0;
    }
}
