/* USM JonyFit Form Styles */

.jonyfit-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.jonyfit-header {
    text-align: center;
    margin-bottom: 40px;
}

.jonyfit-cta-box {
    background: #e0f606;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.jonyfit-progress-container {
    max-width: 300px;
    margin: 0 auto;
}

.jonyfit-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.jonyfit-progress-fill {
    height: 100%;
    background: #e0f606;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.jonyfit-progress-text {
    font-size: 12px;
    color: #666;
}

.jonyfit-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 0 20px;
}

.jonyfit-form-centered {
    max-width: 500px;
    width: 100%;
}

.jonyfit-form-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.jonyfit-step {
    display: none;
}

.jonyfit-step.active {
    display: block;
}

.jonyfit-step h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
}

.jonyfit-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.jonyfit-option {
    background: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.jonyfit-option:hover {
    background: #e0f606;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(240, 208, 0, 0.3);
}

.jonyfit-option.selected {
    background: #e0f606;
    color: #000;
}

.jonyfit-textarea-container {
    margin-bottom: 25px;
}

.jonyfit-textarea-container textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-size: 16px;
    resize: vertical;
    font-family: inherit;
}

.jonyfit-textarea-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.jonyfit-textarea-container textarea:focus {
    outline: none;
    border-color: #e0f606;
    background: rgba(255, 255, 255, 0.15);
}

.jonyfit-form-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.jonyfit-form-fields input,
.jonyfit-form-fields select {
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #000;
    font-size: 16px;
    font-family: inherit;
}

.jonyfit-form-fields input::placeholder {
    color: #9f9f9f;
}

.jonyfit-form-fields input:focus,
.jonyfit-form-fields select:focus {
    outline: none;
    border-color: #e0f606;
    background: rgba(255, 255, 255, 0.15);
}

.jonyfit-form-fields input:valid:not(:placeholder-shown),
.jonyfit-form-fields select:valid:not([value=""]) {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.jonyfit-textarea-container textarea:valid:not(:placeholder-shown) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.jonyfit-privacy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.4;
}

.jonyfit-privacy a {
    color: #e0f606;
    text-decoration: none;
}

.jonyfit-privacy a:hover {
    text-decoration: underline;
}

/* Consent checkbox styles */
.jonyfit-consent {
    margin-bottom: 20px;
}

.jonyfit-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
}

.jonyfit-consent-label input[type="checkbox"] {
    display: none;
}

.jonyfit-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.jonyfit-consent-label input[type="checkbox"]:checked + .jonyfit-checkmark {
    background: #e0f606;
    border-color: #e0f606;
}

.jonyfit-consent-label input[type="checkbox"]:checked + .jonyfit-checkmark::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: -2px;
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.jonyfit-consent-text a {
    color: #e0f606;
    text-decoration: none;
}

.jonyfit-consent-text a:hover {
    text-decoration: underline;
}

/* Loading spinner styles */
.jonyfit-loading {
    text-align: center;
    padding: 40px 20px;
}

.jonyfit-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #e0f606;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.jonyfit-loading p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
}

.jonyfit-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.jonyfit-btn-back,
.jonyfit-btn-next,
.jonyfit-btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.jonyfit-btn-back {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.jonyfit-btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
}

.jonyfit-btn-next,
.jonyfit-btn-submit {
    background: linear-gradient(135deg, #e91e63, #ad1457);
    color: #fff;
    margin-left: auto;
}

.jonyfit-btn-next:hover,
.jonyfit-btn-submit:hover {
    background: linear-gradient(135deg, #ad1457, #880e4f);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* Step 6 - Thank You Page Full Replacement */
.jonyfit-thank-you-full {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 20px;
    min-height: 80vh;
}

.jonyfit-thank-you-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.jonyfit-thank-you-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.jonyfit-thank-you-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #e0f606;
    font-weight: 600;
}

.jonyfit-thank-you-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    font-weight: 400;
    color: #fff;
}

.jonyfit-final-layout {
    display: flex;
    gap: 40px;
    margin-top: 0;
    align-items: flex-start;
    width: 100%;
}

.jonyfit-video-section {
    flex: 1;
    min-width: 0;
}

.jonyfit-video-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jonyfit-video-wrapper iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px;
}

.jonyfit-calendar-section {
    flex: 1;
    min-width: 0;
}

.jonyfit-calendar-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#jonyfit-calendly-container {
    width: 100%;
    min-height: 400px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

/* Dark background for the form */
body .jonyfit-form-wrapper {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 20px;
    margin: 20px auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jonyfit-content {
        flex-direction: column;
        gap: 30px;
    }

    .jonyfit-left {
        padding-right: 0;
        text-align: center;
    }

    .jonyfit-title {
        font-size: 2.5rem;
    }

    .jonyfit-right {
        max-width: 100%;
    }

    .jonyfit-final-layout {
        flex-direction: column;
        gap: 30px;
    }

    .jonyfit-thank-you-header h2 {
        font-size: 2rem;
    }

    .jonyfit-thank-you-header h3 {
        font-size: 1.2rem;
    }

    .jonyfit-navigation {
        flex-direction: column;
    }

    .jonyfit-btn-next,
    .jonyfit-btn-submit {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .jonyfit-form-wrapper {
        padding: 15px;
    }

    .jonyfit-form-card {
        padding: 20px;
    }

    .jonyfit-title {
        font-size: 2rem;
    }
}