.golo-ayurveda-form {
    --golo-primary: #23D3D3;
    --golo-primary-hover: #1db8b8;
    --golo-primary-light: rgba(35, 211, 211, 0.08);
    --golo-text: #1f2937;
    --golo-text-light: #374151;
    --golo-muted: #6b7280;
    --golo-border: #e5e7eb;
    --golo-border-hover: #d1d5db;
    --golo-bg: #ffffff;
    --golo-bg-alt: #f9fafb;
    --golo-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --golo-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --golo-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --golo-radius: 16px;
    --golo-radius-sm: 12px;
    
    max-width: 820px;
    border: 1px solid var(--golo-border);
    border-radius: var(--golo-radius);
    padding: 18px;
    background: #ffffff;
    box-shadow: var(--golo-shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Centered details (Step 4) */
.golo-ayurveda-form .form-step[data-step="4"] .details-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 10px 0 16px;
}
.golo-ayurveda-form .form-step[data-step="4"] .email-wrap,
.golo-ayurveda-form .form-step[data-step="4"] .phone-wrap{
    width: 100%;
    max-width: 420px;
    text-align: left;
}
.golo-ayurveda-form .form-step[data-step="4"] label{
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.golo-ayurveda-form .form-step[data-step="4"] input[type="email"],
.golo-ayurveda-form .form-step[data-step="4"] input[type="text"]{
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--golo-border);
    border-radius: 8px;
}
.golo-ayurveda-form .form-step[data-step="4"] .nav{
    display: flex;
    justify-content: center;
}
.email-wrap {
    color: #1f2937;
}


/* Inline loader style re-use */
.golo-ayurveda-form .golo-loader{ display:flex; align-items:center; justify-content:center; gap:10px; }
.golo-ayurveda-form .golo-loader .spinner{ width:18px; height:18px; border:2px solid #e5e7eb; border-top-color: var(--golo-primary); border-radius:50%; animation: spin 1s linear infinite; }
@keyframes spin{ to { transform: rotate(360deg); } }

.golo-ayurveda-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--golo-primary) 0%, #1db8b8 50%, var(--golo-primary) 100%);
}

/* Full overlay loader (centered) */
.golo-ayurveda-form .processing-overlay{
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.golo-ayurveda-form h2 {
    margin: 0.2em 0 0.8em;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--golo-text);
    letter-spacing: -0.02em;
}


/* Progress Bar Container */
.golo-progress-container {
    margin-bottom: 32px;
    position: relative;
}
.golo-progress-title {
    margin: 0 0 24px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--golo-text);
    letter-spacing: -0.02em;
}
.golo-progress-subtitle {
    margin: -10px 0 18px 0;
    font-size: 0.98rem;
    color: var(--golo-muted);
}
/* Progress Bar Background */
.golo-progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Progress Fill */
.golo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--golo-primary) 0%, #1db8b8 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.golo-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

/* Progress Steps */
.golo-progress-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: center;
    position: relative;
    margin: 0 0 18px 0;
    padding-top: 18px;
}

.golo-progress-fill-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--golo-primary);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.golo-progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
}

.golo-progress-step {
    z-index: 1;
}

.golo-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    margin: 0 auto 6px;
    position: relative;
    color: #9ca3af;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.golo-progress-step.active .golo-step-circle {
    background: var(--golo-primary);
    border-color: var(--golo-primary);
    color: #ffffff;
}

.golo-progress-step.completed .golo-step-circle {
    background: var(--golo-primary);
    border-color: var(--golo-primary);
    color: transparent;
}

.golo-progress-step.completed .golo-step-circle::after {
    content: '\2713' !important;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 800;
}

.golo-progress-step.upcoming .golo-step-circle {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}

.golo-step-label {
    font-weight: 700;
    font-size: 14px;
    color: #9ca3af;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.golo-progress-step.active .golo-step-label,
.golo-progress-step.completed .golo-step-label {
    color: var(--golo-primary);
}

/* Enhanced Buttons */
.golo-ayurveda-form .btn,
.golo-ayurveda-form button,
.golo-ayurveda-form a.btn {
    background: var(--golo-primary);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    text-decoration: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.golo-ayurveda-form .btn::before,
.golo-ayurveda-form button::before,
.golo-ayurveda-form a.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.golo-ayurveda-form .btn:hover::before,
.golo-ayurveda-form button:hover::before,
.golo-ayurveda-form a.btn:hover::before {
    left: 100%;
}

.golo-ayurveda-form .btn:hover,
.golo-ayurveda-form button:hover,
.golo-ayurveda-form a.btn:hover {
    background: var(--golo-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 211, 211, 0.3);
}

.golo-ayurveda-form .btn:active,
.golo-ayurveda-form button:active,
.golo-ayurveda-form a.btn:active {
    transform: translateY(0);
}

.golo-ayurveda-form .btn:focus-visible,
.golo-ayurveda-form button:focus-visible,
.golo-ayurveda-form a.btn:focus-visible {
    outline: 2px solid var(--golo-primary);
    outline-offset: 2px;
}

.golo-ayurveda-form .btn.is-disabled,
.golo-ayurveda-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form steps */
.golo-ayurveda-form .form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.golo-ayurveda-form .form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.golo-ayurveda-form .nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
#bodyTypeModal .golo-modal-content {
    width: unset;
    padding: unset;
}
#bodyTypeModal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px !important;
    cursor: pointer;
    display: block;
    border-radius: unset;
    color: #00d3d2;
    background: #fff;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    line-height: 23px;
    box-shadow: none;
    -webkit-transition: -webkit-transform 300ms ease;
    z-index: 999;
}
#bodyTypeModal .golo-modal-header {
    margin-bottom: unset;
}
/* Question Rows - Three Column Layout */
.golo-ayurveda-form .question-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

/* Option Cards */
.golo-ayurveda-form .option-card {
    position: relative;
    border-radius: var(--golo-radius-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.golo-ayurveda-form .option-card:hover {
    /* keep size constant on hover */
    transform: none;
}

.golo-ayurveda-form .card-label {
    display: block;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.golo-ayurveda-form .card-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.golo-ayurveda-form .card-content {
    background: #ffffff;
    border: 2px solid var(--golo-border);
    border-radius: var(--golo-radius-sm);
    padding: 20px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.golo-ayurveda-form .option-card:hover .card-content {
    border-color: var(--golo-primary);
    box-shadow: 0 4px 12px rgba(35, 211, 211, 0.15);
}

.golo-ayurveda-form .card-checkbox:checked + .card-content {
    border-color: var(--golo-primary);
    background: var(--golo-primary-light);
    box-shadow: 0 0 0 3px rgba(35, 211, 211, 0.1);
    transform: none;
}

.golo-ayurveda-form .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--golo-bg-alt);
    transition: all 0.3s ease;
}

.golo-ayurveda-form .card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.golo-ayurveda-form .card-checkbox:checked + .card-content .card-icon {
    background: var(--golo-primary);
    transform: none;
}

.golo-ayurveda-form .card-checkbox:checked + .card-content .card-icon img {
    filter: brightness(0) invert(1);
}

.golo-ayurveda-form .card-text {
    font-weight: 500;
    color: var(--golo-text);
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.golo-ayurveda-form .card-checkbox:checked + .card-content .card-text {
    color: var(--golo-primary);

}

.golo-ayurveda-form .card-checkmark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--golo-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.golo-ayurveda-form .card-checkbox:checked + .card-content .card-checkmark {
    opacity: 1;
    transform: scale(1);
}


/* Enhanced Phone Field */
.golo-ayurveda-form .phone-wrap {
    margin: 20px 0;
}

.golo-ayurveda-form .phone-wrap label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--golo-text);
}

.golo-ayurveda-form .phone-wrap input[type="text"] {
    width: 100%;
    max-width: 460px;
    border: 2px solid var(--golo-border);
    border-radius: var(--golo-radius-sm);
    padding: 16px 18px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.golo-ayurveda-form .phone-wrap input[type="text"]:focus {
    outline: none;
    border-color: var(--golo-primary);
    box-shadow: 0 0 0 3px rgba(35, 211, 211, 0.1);
    background: white;
}

/* Results Section */
.golo-ayurveda-form .results {
    margin-top: 24px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.golo-ayurveda-form .results .result-block {
    border: 1px solid var(--golo-border);
    border-radius: var(--golo-radius-sm);
    padding: 20px;
    margin-top: 16px;
    background: #ffffff;
    box-shadow: var(--golo-shadow-sm);
}

/* Enhanced Loader */
.golo-ayurveda-results .loading {
    opacity: 0.8;
}

.golo-ayurveda-form .golo-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
}

.golo-ayurveda-form .golo-loader .spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(35, 211, 211, 0.2);
    border-top-color: var(--golo-primary);
    border-radius: 50%;
    animation: golo-ayurveda-spin 1s linear infinite;
}

@keyframes golo-ayurveda-spin {
    to {
        transform: rotate(360deg);
    }
}

.golo-ayurveda-form .is-disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.golo-ayurveda-form.is-loading {
    position: relative;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .golo-ayurveda-form *,
    .golo-ayurveda-form *::before,
    .golo-ayurveda-form *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for better keyboard navigation */
.golo-ayurveda-form *:focus-visible {
    outline: 2px solid var(--golo-primary);
    outline-offset: 2px;
}

/* Checkout-style progress (reusable) */
.golo-checkout-progress {
    position: relative;
    margin: 12px 0 24px;
}
.golo-form-nav {
    text-align: right;
}
/* Responsive Enhancements */
@media (max-width: 768px) {
    .golo-progress-container {
        margin-bottom: 24px;
    }
    
    .golo-progress-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .golo-progress-subtitle {
        margin: -8px 0 16px 0;
        font-size: 0.95rem;
    }
    
    .golo-step-circle {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .golo-step-label {
        font-size: 11px;
        margin-top: 6px;
    }
       
    .golo-ayurveda-form .card-content {
        min-height: 120px;
        padding: 16px 12px;
    }
    
    .golo-ayurveda-form .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .golo-ayurveda-form .card-icon img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 640px) {
    .golo-ayurveda-form .question-row {
        grid-template-columns: repeat(2, 1fr);
        overflow: scroll;

    }
    .golo-progress-container {
        margin-bottom: 20px;
    }
    
    .golo-progress-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    .golo-progress-subtitle {
        margin: -6px 0 14px 0;
        font-size: 0.9rem;
    }
    
    .golo-progress-bar {
        height: 3px;
        margin-bottom: 16px;
    }
    
    .golo-step-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-width: 2px;
    }
    
    .golo-step-label {
        font-size: 10px;
        margin-top: 4px;
        letter-spacing: 0.3px;
    }
    
    .golo-ayurveda-form {
        border-radius: var(--golo-radius-sm);
        background: #ffffff;
        height: 100%;
    }
    .golo-ayurveda-form h2 {
        font-size: 1.3rem;
    }
    
    .golo-ayurveda-form .btn,
    .golo-ayurveda-form button,
    .golo-ayurveda-form a.btn {
        width: 100%;
        margin: 5px 0;
        justify-content: center;
    }
        
    .golo-ayurveda-form .card-content {
        min-height: 110px;
        padding: 16px 12px;
        flex-direction: column;
        text-align: left;
    }
    
    .golo-ayurveda-form .card-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .golo-ayurveda-form .card-icon img {
        width: 24px;
        height: 24px;
    }
    
    .golo-ayurveda-form .card-text {
        font-size: 0.85rem;
        text-align: left;
        justify-content: flex-start;
    }
    
    .golo-ayurveda-form .card-checkmark {
        top: 8px;
        right: 8px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    #bodyTypeModal .golo-modal-content {
        overflow-y: scroll;
        height: 80%;
    }
    #bodyTypeModal .close-modal {
        right: 10px !important;    
    }
    .golo-progress-container {
        z-index: 1000;
        width: 100%;
    }
    .golo-ayurveda-form .form-step.active {
        overflow: scroll;
    }
    .golo-ayurveda-form-el{
        height: 100%;
    }
}