body.path-en-suture-sample-promo #one-Column .flex-wrapper,
body.page-node-type--campaign #one-Column .flex-wrapper {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

/* Center the flex-main content wrapper (contains campaign content) */
body.path-en-suture-sample-promo #one-Column .flex-main,
body.page-node-type--campaign #one-Column .flex-main {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Campaign content inherits centering from flex-main */
body.path-en-suture-sample-promo .suture-sample-campaign-content,
body.page-node-type--campaign .suture-sample-campaign-content {
    text-align: center !important;
    margin-top: 40px !important;
}

/* Center form container at 50% width on desktop, full width on mobile */
body.path-en-suture-sample-promo #one-Column .flex-aside.form-wrapper,
body.page-node-type--campaign #one-Column .flex-aside.form-wrapper {
    width: 50% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    float: none !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    body.path-en-suture-sample-promo #one-Column .flex-aside.form-wrapper,
    body.page-node-type--campaign #one-Column .flex-aside.form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
    }
}

/* Force ALL form items in the webform to stack vertically (override Campaign theme's 50% width 2-column layout) */
.webform-submission-suture-sample-qr-promo-add-form .form-item,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-item {
    width: 100% !important;
    display: block !important;
    float: none !important;
    padding-right: 0 !important;
    clear: both !important;
    margin-bottom: 25px !important;
    text-align: left !important;
}

/* ==========================================================================
   Form Fields - Clean stacked layout
   ========================================================================== */

/* Labels - Override Campaign theme floats */
.webform-submission-suture-sample-qr-promo-add-form label,
.webform-submission-suture-sample-qr-promo-node-68520-add-form label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    float: none !important;
    width: 100% !important;
}

.webform-submission-suture-sample-qr-promo-add-form .form-required::after,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-required::after {
    content: " *";
    color: #f42534;
    font-weight: 700;
}

/* Input Fields - Override Campaign theme floats */
.webform-submission-suture-sample-qr-promo-add-form input[type="text"],
.webform-submission-suture-sample-qr-promo-add-form input[type="email"],
.webform-submission-suture-sample-qr-promo-node-68520-add-form input[type="text"],
.webform-submission-suture-sample-qr-promo-node-68520-add-form input[type="email"] {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
}

.webform-submission-suture-sample-qr-promo-add-form input::placeholder,
.webform-submission-suture-sample-qr-promo-node-68520-add-form input::placeholder {
    color: #999;
    opacity: 1;
}

.webform-submission-suture-sample-qr-promo-add-form input:focus,
.webform-submission-suture-sample-qr-promo-node-68520-add-form input:focus {
    outline: none;
    border-color: #00b4e5;
    box-shadow: 0 0 0 3px rgba(0, 180, 229, 0.1);
}

.webform-submission-suture-sample-qr-promo-add-form input.error,
.webform-submission-suture-sample-qr-promo-node-68520-add-form input.error {
    border-color: #f42534;
}

/* Description Text */
.webform-submission-suture-sample-qr-promo-add-form .description,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .description {
    font-size: 13px !important;
    color: #666 !important;
    margin-top: 6px !important;
    font-style: italic !important;
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
}

/* Checkbox - Override Campaign theme's float styles */
.webform-submission-suture-sample-qr-promo-add-form .form-type-checkbox,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-type-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    margin: 25px 0 !important;
    gap: 10px !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.webform-submission-suture-sample-qr-promo-add-form .form-type-checkbox input[type="checkbox"],
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-type-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer;
    accent-color: #00b4e5;
    flex-shrink: 0;
    float: none !important;
    display: inline-block !important;
}

.webform-submission-suture-sample-qr-promo-add-form .form-type-checkbox label,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-type-checkbox label {
    font-weight: 400 !important;
    text-transform: none !important;
    margin: 0 !important;
    cursor: pointer;
    font-size: 14px !important;
    line-height: 1.5 !important;
    float: none !important;
    display: inline !important;
    width: auto !important;
    flex: 1;
}

/* Privacy Policy Text - REMOVE blue border/background */
.webform-submission-suture-sample-qr-promo-add-form .privacy-policy-text,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .privacy-policy-text {
    margin: 25px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
}

.webform-submission-suture-sample-qr-promo-add-form .privacy-policy-text p,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .privacy-policy-text p {
    font-size: 13px !important;
    color: #666 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.webform-submission-suture-sample-qr-promo-add-form .privacy-policy-text a,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .privacy-policy-text a {
    color: #00b4e5 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.webform-submission-suture-sample-qr-promo-add-form .privacy-policy-text a:hover,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .privacy-policy-text a:hover {
    color: #0092c7 !important;
    text-decoration: underline !important;
}

/* Submit Button - HuFriedy Red */
.webform-submission-suture-sample-qr-promo-add-form .form-actions,
.webform-submission-suture-sample-qr-promo-add-form .webform-actions,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-actions,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .webform-actions {
    text-align: center !important;
    margin-top: 30px !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.webform-submission-suture-sample-qr-promo-add-form .form-submit,
.webform-submission-suture-sample-qr-promo-add-form input[type="submit"].form-submit,
.webform-submission-suture-sample-qr-promo-add-form .webform-button--submit,
.webform-submission-suture-sample-qr-promo-add-form .button--primary,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-submit,
.webform-submission-suture-sample-qr-promo-node-68520-add-form input[type="submit"].form-submit,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .webform-button--submit,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .button--primary {
    background: #f42534 !important;
    color: #fff !important;
    padding: 16px 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    line-height: normal !important;
    text-align: center !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    height: auto !important;
    min-height: 52px !important;
    max-width: none !important;
    width: auto !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

.webform-submission-suture-sample-qr-promo-add-form .form-submit:hover,
.webform-submission-suture-sample-qr-promo-add-form input[type="submit"].form-submit:hover,
.webform-submission-suture-sample-qr-promo-add-form .webform-button--submit:hover,
.webform-submission-suture-sample-qr-promo-add-form .button--primary:hover,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-submit:hover,
.webform-submission-suture-sample-qr-promo-node-68520-add-form input[type="submit"].form-submit:hover,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .webform-button--submit:hover,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .button--primary:hover {
    background: #d91e2d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(244, 37, 52, 0.2) !important;
}

.webform-submission-suture-sample-qr-promo-add-form .form-submit:active,
.webform-submission-suture-sample-qr-promo-add-form input[type="submit"].form-submit:active,
.webform-submission-suture-sample-qr-promo-add-form .webform-button--submit:active,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-submit:active,
.webform-submission-suture-sample-qr-promo-node-68520-add-form input[type="submit"].form-submit:active,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .webform-button--submit:active {
    transform: translateY(0) !important;
}

/* Hide the duplicate "form-submit--trigger" button that Drupal adds */
.webform-submission-suture-sample-qr-promo-add-form .form-submit--trigger,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-submit--trigger {
    display: none !important;
}

/* Loading State */
.webform-submission-suture-sample-qr-promo-add-form .form-submit.is-loading,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-submit.is-loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.webform-submission-suture-sample-qr-promo-add-form .form-submit.is-loading::after,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-submit.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Error Messages */
.webform-submission-suture-sample-qr-promo-add-form .form-item--error-message,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-item--error-message {
    color: #f42534;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 500;
}

/* Success Messages */
.messages--status {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
}

.messages--status h2 {
    color: #2e7d32;
    margin: 0 0 10px 0;
    font-size: 22px;
}

/* Confirmation Message Styling */
.confirmation-message {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 40px;
    margin: 40px auto;
    text-align: center;
}

.confirmation-message h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.confirmation-message p {
    font-size: 18px;
    color: #000;
    line-height: 1.6;
    margin: 15px 0;
}

.confirmation-message p strong {
    color: #f42534;
    font-weight: 700;
}

.confirmation-message a {
    display: inline-block;
    background: #f42534;
    color: #fff;
    padding: 12px 30px;
    margin-top: 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.confirmation-message a:hover {
    background: #d91e2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 37, 52, 0.2);
}

@media (max-width: 768px) {
    .confirmation-message {
        padding: 30px 20px;
        margin: 30px 20px;
    }

    .confirmation-message h2 {
        font-size: 26px;
    }

    .confirmation-message p {
        font-size: 16px;
    }
}

/* ==========================================================================
   Fine Print - Centered
   ========================================================================== */

.webform-submission-suture-sample-qr-promo-add-form .fine-print,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .fine-print {
    text-align: center !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    padding: 30px 40px !important;
    border-top: 2px solid #e0e0e0 !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.webform-submission-suture-sample-qr-promo-add-form .fine-print p,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .fine-print p {
    font-size: 12px !important;
    color: #666 !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

.webform-submission-suture-sample-qr-promo-add-form .fine-print a,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .fine-print a {
    color: #00b4e5 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.webform-submission-suture-sample-qr-promo-add-form .fine-print a:hover,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .fine-print a:hover {
    color: #0092c7 !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .webform-submission-suture-sample-qr-promo-add-form .form-submit,
    .webform-submission-suture-sample-qr-promo-node-68520-add-form .form-submit {
        width: 100% !important;
        padding: 16px 20px !important;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.webform-submission-suture-sample-qr-promo-add-form *:focus-visible,
.webform-submission-suture-sample-qr-promo-node-68520-add-form *:focus-visible {
    outline: 3px solid #00b4e5;
    outline-offset: 2px;
}

/* Hide Drupal admin elements */
.webform-submission-suture-sample-qr-promo-add-form .contextual,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .contextual {
    display: none;
}

/* Hide markup field labels (we don't want "Privacy Policy" label showing above the text) */
.webform-submission-suture-sample-qr-promo-add-form .form-item-privacy-policy > label,
.webform-submission-suture-sample-qr-promo-add-form .form-item-fine-print > label,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-item-privacy-policy > label,
.webform-submission-suture-sample-qr-promo-node-68520-add-form .form-item-fine-print > label {
    display: none !important;
}
