.lp-form {
    padding: 2rem !important;
    border: 1px solid #fff !important;
    border-top: none !important;
    border-radius: 0 0 1rem 1rem !important;
    box-shadow: 2px 4px 8px rgba(210, 210, 210, 0.1) !important;
    background-color: #1c1c1c !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.lp-inner-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.lp-field-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.lp-field-group-50 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

@media (max-width: 1412px) {
    .lp-field-group-50 {
        flex-direction: column;
        gap: 0;
    }
    .lp-field-group-50 .lp-field-group {
        flex: 1 1 100%;
    }
}

.lp-label {
    color: #e0e0e0 !important;
    font-size: 1rem;
    font-weight: 600;
}

.lp-question {
    opacity: 60%;
}

.lp-input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #f6f6f6;
    color: #333;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border 0.3s ease, background-color 0.3s ease;
    opacity: 90%;
}

.lp-input:focus {
    border-color: #00cdff;
    outline: none;
}

.lp-input.lp-readonly {
    color: #999;
    background-color: #212121;
    border: none;
}

input[type="date"],
input[type="tel"],
input[type="text"],
input[type="email"] {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: #f6f6f6;
    color: #333;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border 0.3s ease, background-color 0.3s ease;
}

input[type="date"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus {
    border-color: #00cdff;
    outline: none;
}

.lp-button-container {
    margin-top: 2rem;
}

.lp-button {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 0.5rem !important;
    background-color: #00cdff !important;
    color: #fff !important;
    font-weight: bold !important;
    text-align: center !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0, 115, 170, 0.2) !important;
}

.lp-button:hover {
    background-color: #212121 !important;
    color: #00cdff !important;
    box-shadow: 0 6px 12px rgba(0, 115, 170, 0.3) !important;
}

.lp-radio {
    margin-right: 0.75rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    cursor: pointer !important;
    appearance: none !important;
    border: 2px solid #00cdff !important;
    border-radius: 50% !important;
    background-color: #212121 !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.lp-radio:checked {
    background-color: #00cdff !important;
    border-color: #00cdff !important;
}

.lp-radio-label {
    display: flex !important;
    align-items: center !important;
    color: #fff !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    gap: 0.5rem !important;
}

.lp-checkbox {
    appearance: none !important;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #00cdff !important;
    border-radius: 4px;
    background-color: #212121 !important;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lp-checkbox:checked {
    background-color: #00cdff !important;
    border-color: #00cdff !important;
}

.lp-checkbox-label {
    color: #e0e0e0 !important;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
}

.lp-inline-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem !important;
}

.lp-inline-options {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem !important;
}

.lp-field-group {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
}

#medical-questionnaire-form .lp-field-group {
    margin-bottom: 1.5rem !important;
}

#medical-questionnaire-form .lp-label {
    color: #fff !important;
}

.lp-button {
    transition: all 0.3s ease; /* Smooth transition for color and text changes */
}

.lp-button.submitted {
    background-color: #28a745 !important; /* Green for success */
    color: white !important;
}

.lp-button.error {
    background-color: #dc3545 !important; /* Red for error */
    color: white !important;
}

.lp-product-card,
.stripe-product-widget {
    background: #f6f9fc;
    border: 1px solid #e1e7ed;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.stripe-product-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.stripe-product-disabled .stripe-checkout-link {
    display: none;
}

.stripe-disabled-message {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
}

.stripe-product-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #32325d;
    margin-bottom: 10px;
}

.stripe-product-description {
    font-size: 1rem;
    color: #525f7f;
    margin-bottom: 15px;
}

.stripe-product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #32325d;
    margin-bottom: 20px;
}

.ssa-upcoming-appointments {
    color: #fff !important;
}

.lp-product-card {
    background: #f6f9fc;
    border: 1px solid #e1e7ed;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 1rem auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lp-product-card:hover {
    transform: translateY(-2px);
}

/* Disabled product style */
.stripe-product-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Title & Description */
.stripe-product-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #32325d;
    margin-bottom: 10px;
}

.stripe-product-description {
    font-size: 1rem;
    color: #525f7f;
    margin-bottom: 20px;
}

#product-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 4rem;
}

.lp-product-card {
    display: block;
    width: 100%;
    min-width: 286px;
}

.stripe-product-disabled {
    width: 70%;
    min-width: none;
}
