/* Rejestracja */
.page-template-page-register .site-header{
    display: none;
}
.page-template-page-register-php #page {
    background-image: url('/wp-content/themes/buddyboss-theme-child/assets/images/back-auth.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.registration-container {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 2rem;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.registration-header {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Bitter', serif;
}
.registration-header h1{
    color: var(--n---black, #000);
    font-family: 'Bitter', serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 39.2px */
    letter-spacing: -0.14px;
    margin-bottom: 4px;
}
.registration-header p { 
    color:  #000;
    font-family: 'Bitter', serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 26.6px */
    letter-spacing: -0.095px;
    margin-bottom: 20px;
}
.registration-header p span{
    font-weight: 600;
}


.registration-logo {
    max-width: 72px;
    margin-bottom: 1rem;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 20px;
}

.auth-tabs a {
    color: var(--n---black, #000);
    text-align: center;
    font-family: "Bricolage Grotesque";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 23.8px */
    letter-spacing: -0.085px;
    padding: 0px 13px 13px 13px;
    transition: all 0.3s ease;
}

.auth-tabs a.active {
    color: #000;
    border-bottom: 3px solid #C57C13;
}
.auth-tabs a:hover {
    color: #C57C13;
    border-bottom: 3px solid #C57C13;
}
/* Kroki */

.step {
    display: none;
}

.step.active {
    display: block;
}

/* Formularze */

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 14px;
}

.form-group.half {
    flex: 1;
}
.couple-fields{
    width: 100%;
    display: flex;
    gap: 1rem;
}
.single-fields {
    width: 100%;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000;
    font-family: "Bricolage Grotesque";
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 21px */
    letter-spacing: -0.075px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    height: auto;
    color: var(--Gray-500, #828282);
    text-align: left;
    font-family: "Bricolage Grotesque";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.075px;
}

input.error {
    border-color: #ff4444;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pakiety */
.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.regular-packages {
    display: flex;
    gap: 12px;
}
.package {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 0 0 33%;
    border-width: 1px;
    border-style: solid;
}
.next-step[data-next="2"] {
    margin-top: 30px;
}
.package:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.package.premium {
    
    border-color: #AEAEAE;
    background-color: #FCEFD3;
}
.package.guest {
    border-color: #AEAEAE;
    background-color: #F0F0F0;
}
.package.standard {
    border-color: #AEAEAE;
    background-color: rgba(240, 240, 240, 1);
}

.package h3 {
    color: var(--Black, #000);
    text-align: center;
    font-family: Bitter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 27.517px;
    margin-bottom: 30px;
}

.package ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.package ul li {
    color: #000;
    font-family: "Bricolage Grotesque";
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%; /* 22.5px */
    letter-spacing: -0.15px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.package ul li.positive:before {
    content: url('/wordpress/wp-content/themes/buddyboss-theme-child/assets/images/tick.svg');
    position: absolute;
    left: 0;
    top: 3px;
    color: #f0a500;
}
.package ul li.negative:before {
    content: url('/wordpress/wp-content/themes/buddyboss-theme-child/assets/images/tick-x.svg');
    position: absolute;
    left: 0;
    top: 3px;
    color: #f0a500;
}
.package-price {
    color: var(--Gold-B, #C57C13);
    text-align: center;
    font-family: "Bricolage Grotesque";
    font-size: 34.2px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 41.04px */
    letter-spacing: -0.581px;
}
legend {
    display: none;
}
.package-select {
    display: inline-block;
    cursor: pointer;
}
.package-select span {
    color: var(--Black, #000);
    font-family: "Bricolage Grotesque";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.08px;
}

/* Sylwetki */
.body-type-selection {
    margin: 2rem 0;
}

.body-types {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

/* Przyciski nawigacji */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    gap: 1rem;
}

button {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-step {
    background: #eee;
    color: #666;
}

.next-step,
.submit-registration {
    width: 100%;
    background-color: #C57C13;

}
.checkbox-label span {
    color: var(--Gray-600, #595959);
    font-family: "Bricolage Grotesque";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.08px;
}
.checkbox-label {
    margin-bottom: 0;
}
button:hover {
    opacity: 0.9;
}

/* Preferencje */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* REMOVED OLD CONFLICTING BODY-TYPE-OPTION STYLES - SEE NEW STYLES AT END OF FILE */ 


/* Responsywność */
@media (max-width: 768px) {
    .registration-container {
        padding: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .packages {
        grid-template-columns: 1fr;
    }

    .body-types {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .body-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Style dla radiobuttons i checkboxów */
.bp-radio-wrap,
.bp-checkbox-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
}

.bp-radio-wrap input[type="radio"],
.bp-checkbox-wrap input[type="checkbox"] {
    margin-right: 8px;
}

/* Dodaj wyraźne style dla zaznaczonych pól */
.bp-radio-wrap input[type="radio"]:checked + label,
.bp-checkbox-wrap input[type="checkbox"]:checked + label {
    font-weight: bold;
    color: #e85c41;
}

/* Style dla radio buttonów typu konta */
[name="field_19"]:checked + label {
    font-weight: bold;
    color: #e85c41;
}

/* REMOVED - DUPLICATE STYLES MOVED TO END OF FILE */

/* Styl dla zaznaczonych opcji pakietu */
.package-select input[type="radio"]:checked + span {
    color: black;
    font-weight: bold;
}

/* Style dla komunikatów błędów */
.error-message {
    color: #e63b2e;
    font-size: 14px;
    font-weight: 400;
    margin-top: 5px;
    display: block;
    font-family: "Bricolage Grotesque";
    padding-left: 5px;
    animation: fadeIn 0.3s ease;
}

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

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e63b2e;
    background-color: rgba(230, 59, 46, 0.05);
}

.account-type-select .error-message {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: rgba(230, 59, 46, 0.1);
    padding: 8px;
    border-radius: 4px;
}

/* Poprawki dla powielających się komunikatów błędów */
.error-container {
    margin-top: 5px;
}

.error-container .error-message {
    margin-top: 0;
}





.preferences-section h3{
    font-family: "Bricolage Grotesque";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.08px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.bp-radio-wrap input[type="radio"]  {
    margin-right: 0px !important;
    position: relative !important;
    z-index: 5 !important;
    opacity: 1 !important;
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
}
.bp-checkbox-wrap input[type="checkbox"] {
    position: absolute !important;
    margin-right: 8px !important;
    z-index: 5 !important;
    opacity: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

/* === STYLE DLA BŁĘDÓW WALIDACJI === */

/* Komunikaty błędów */
.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px 12px;
    animation: shake 0.3s ease-in-out;
}

/* Kontener błędów */
.error-container {
    margin-top: 5px;
}

/* Pola z błędami */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-group.error label {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Sekcje z błędami */
.account-type-select.error {
    border: 2px solid #dc3545;
    border-radius: 4px;
    padding: 10px;
    background-color: #f8d7da;
}

/* Radio buttons i checkboxy z błędami */
input[type="radio"].error,
input[type="checkbox"].error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* Animacja potrząsania dla błędów */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Przycisk z błędem */
.next-step:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hover efekt dla błędnych pól */
.form-group.error input:hover,
.form-group.error select:hover,
.form-group.error textarea:hover {
    border-color: #c82333 !important;
}

/* Focus efekt dla błędnych pól */
.form-group.error input:focus,
.form-group.error select:focus,
.form-group.error textarea:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Style dla błędów w polach BuddyPress */
.bp-radio-wrap.error,
.bp-checkbox-wrap.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px;
}

/* Responsywność dla komunikatów błędów */
@media (max-width: 768px) {
    .error-message {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* === STYLE DLA WERYFIKACJI SMS === */

.sms-verification-container {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
}

.sms-verification-container h2 {
    color: var(--n---black, #000);
    font-family: 'Bitter', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sms-verification-container p {
    color: #666;
    font-family: "Bricolage Grotesque";
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.phone-display {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin: 1rem 0 2rem 0;
    font-size: 18px;
}

.phone-display strong {
    color: #C57C13;
    font-weight: 600;
}

.verification-form {
    margin-top: 1.5rem;
}

#sms_code {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 5px;
    padding: 15px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
}

#sms_code:focus {
    border-color: #C57C13;
    box-shadow: 0 0 0 0.2rem rgba(197, 124, 19, 0.25);
    outline: none;
}

.sms-status-message {
    margin-top: 10px;
    min-height: 20px;
    font-size: 14px;
}

.sms-status-message.success {
    color: #28a745;
}

.sms-status-message.error {
    color: #dc3545;
}

.sms-timer {
    margin: 1.5rem 0;
    color: #666;
    font-family: "Bricolage Grotesque";
    font-size: 14px;
}

#timer-countdown {
    font-weight: 600;
    color: #C57C13;
}

.sms-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

#resend-sms {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#resend-sms:enabled {
    background-color: #17a2b8;
}

#resend-sms:enabled:hover {
    background-color: #138496;
}

#resend-sms:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

#verify-sms {
    background-color: #C57C13;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

#verify-sms:hover {
    background-color: #a66810;
}

#verify-sms:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.change-phone {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.link-button {
    background: none;
    border: none;
    color: #C57C13;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    font-family: "Bricolage Grotesque";
}

.link-button:hover {
    color: #a66810;
}

/* Animacje dla weryfikacji SMS */
.sms-verification-container {
    animation: slideInUp 0.5s ease-out;
}

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

/* Animacja dla kodu SMS */
#sms_code.success {
    border-color: #28a745;
    animation: pulse-success 0.5s ease;
}

#sms_code.error {
    border-color: #dc3545;
    animation: shake 0.3s ease;
}

@keyframes pulse-success {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Responsywność dla weryfikacji SMS */
@media (max-width: 768px) {
    .sms-verification-container {
        padding: 1rem;
    }
    
    .sms-actions {
        flex-direction: column;
        align-items: center;
    }
    
    #sms_code {
        max-width: 180px;
        font-size: 20px;
        letter-spacing: 3px;
    }
}

/* Body Type Images */
.body-type-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.body-type-image {
    max-width: 200px;
    margin: 10px auto;
    text-align: center;
}

.body-type-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
}

.body-type-image img:hover {
    border-color: #007cba;
}

/* Form sections visibility fixes */
.club-fields,
.non-club-fields,
.couple-fields,
.single-fields,
.photographer-fields,
.photographer-male-fields,
.photographer-female-fields {
    transition: all 0.3s ease-in-out;
}

/* Ensure nested sections don't inherit display: none inappropriately */
.non-club-fields[style*="display: block"] .couple-fields[style*="display: block"],
.non-club-fields[style*="display: block"] .single-fields[style*="display: block"] {
    display: block !important;
}

.single-fields[style*="display: block"] .photographer-fields[style*="display: block"] {
    display: block !important;
}

.photographer-fields[style*="display: block"] .photographer-male-fields[style*="display: block"],
.photographer-fields[style*="display: block"] .photographer-female-fields[style*="display: block"] {
    display: block !important;
}

/* Step transitions */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Form group improvements */


.form-group.half {
    width: calc(50% - 10px);
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
}

.form-group.half:last-child {
    margin-right: 0;
}

.form-row {
    margin-bottom: 20px;
    clearfix: both;
}

.form-row::after {
    content: "";
    display: table;
    clear: both;
}

/* Account type selection improvements */


.account-type-select label {
    display: block;
    margin-bottom: 10px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-type-select label:hover {
    border-color: #007cba;
    background-color: #f8f9fa;
}

.account-type-select input[type="radio"]:checked + label,
.account-type-select label:has(input[type="radio"]:checked) {
    border-color: #007cba;
    background-color: #e7f3ff;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Error states */
.field-error {
    border-color: #dc3545 !important;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Success states */
.field-success {
    border-color: #28a745 !important;
}

.success-message {
    color: #28a745;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Sekcja płatności */
.payment-section {
    padding: 2rem 0;
}

.payment-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-summary h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.package-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.package-details strong {
    color: #333;
}

/* Metody płatności */
.payment-methods {
    margin: 2rem 0;
}

.payment-method {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
}

.payment-method label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.payment-method input[type="radio"] {
    margin-right: 0.5rem;
    width: auto;
}

.payment-method-fields {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Przyciski płatności */
.submit-payment {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background: #C57C13;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-payment:hover {
    background: #B06F10;
    transform: translateY(-2px);
}

.submit-payment:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Ukrywanie przycisków w zależności od typu konta */
body[data-account-type="80"] .regular-payment-button {
    display: none !important;
    visibility: hidden !important;
}

body[data-account-type="80"] .club-payment-button {
    display: block !important;
    visibility: visible !important;
}

body:not([data-account-type="80"]) .club-payment-button {
    display: none !important;
    visibility: hidden !important;
}

body:not([data-account-type="80"]) .regular-payment-button {
    display: block !important;
    visibility: visible !important;
}

/* Dodatkowe zabezpieczenie po ID */
body[data-account-type="80"] #regular-payment-btn {
    display: none !important;
    visibility: hidden !important;
}

body[data-account-type="80"] #club-payment-btn {
    display: block !important;
    visibility: visible !important;
}

body:not([data-account-type="80"]) #club-payment-btn {
    display: none !important;
    visibility: hidden !important;
}

body:not([data-account-type="80"]) #regular-payment-btn {
    display: block !important;
    visibility: visible !important;
}

/* Konkretne przyciski płatności */


/* Ukrywanie/pokazywanie elementów płatności */
.club-payment-header,
.regular-payment-header,
.club-package-details,
.regular-package-details {
    transition: all 0.3s ease;
}

/* Responsywność */
@media (max-width: 768px) {
    .payment-section {
        padding: 1rem 0;
    }
    
    .payment-summary {
        padding: 1rem;
    }
    
    .submit-payment {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== STYLE DLA ZDJĘĆ TYPÓW SYLWETKI ===== */

/* WAŻNE: Zapewnij że wszystkie body-type-option są widoczne i klikalne */
.body-type-option {
    position: relative !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    padding: 10px !important;
    margin: 10px 5px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-height: 150px !important;
    width: 120px !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.body-type-field {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.body-type-option:hover {
    border-color: #C57C13 !important;
    box-shadow: 0 4px 8px rgba(197, 124, 19, 0.2) !important;
    transform: translateY(-2px) !important;
}

.body-type-option.selected {
    border-color: #C57C13 !important;
    background: #fff9f5 !important;
    box-shadow: 0 4px 12px rgba(197, 124, 19, 0.3) !important;
}

.body-type-option.selected::after {
    content: '✓' !important;
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 20px !important;
    height: 20px !important;
    background: #C57C13 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: bold !important;
    z-index: 10 !important;
}

/* Obrazki typów sylwetki */
.body-type-image {
    width: auto;
    height: 150px !important;
    object-fit: contain !important;
    margin: 5px auto 8px auto !important;
    display: block !important;
    max-width: none !important;
    pointer-events: none !important;
}
.body-type-container .radio-button-options,
.body-type-field .radio-button-options {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
}
a.clear-value {
    display: none !important;
}
/* Radio button ukryty ale funkcjonalny */

/* Label dla typu sylwetki */
.body-type-option label {
    font-size: 11px !important;
    line-height: 1.2 !important;
    color: #333 !important;
    margin: 0 !important;
    cursor: pointer !important;
    text-align: center !important;
    font-weight: 500 !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    pointer-events: none !important;
}

.body-type-option.selected label {
    color: #C57C13 !important;
    font-weight: 600 !important;
}

/* Container dla pól typu sylwetki - grid layout */
.bp-field[data-bp-field-type="radio"]:has(.body-type-option),
.body-type-field,
.body-type-m-field,
.body-type-f-field {
    margin: 20px 0;
}

.bp-field[data-bp-field-type="radio"]:has(.body-type-option) .bp-field-wrap,
.body-type-field .bp-field-wrap,
.body-type-m-field .bp-field-wrap,
.body-type-f-field .bp-field-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 15px;
}

/* Responsywność dla obrazków typów sylwetki */
@media (max-width: 768px) {
    .body-type-option {
        width: 100px;
        min-height: 130px;
        margin: 8px 3px;
        padding: 8px;
    }
    
    .body-type-image {
        width: 50px !important;

        margin: 3px auto 6px auto !important;
    }
    
    .body-type-option label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .body-type-option {
        width: 85px;
        min-height: 110px;
        margin: 5px 2px;
        padding: 6px;
    }
    
    .body-type-image {
        width: 40px !important;
        margin: 2px auto 4px auto !important;
    }
    
    .body-type-option label {
        font-size: 9px;
        line-height: 1.1;
    }
    
    .bp-field[data-bp-field-type="radio"]:has(.body-type-option) .bp-field-wrap,
    .body-type-field .bp-field-wrap,
    .body-type-m-field .bp-field-wrap,
    .body-type-f-field .bp-field-wrap {
        gap: 5px;
        justify-content: center;
    }
}
.radio-button-options label {
    margin-bottom: 0 !important;
    margin-left: 10px !important;

}
.radio-button-options label::before {
    display: none !important;
}

@media (max-width: 768px) {
    .form-group.half {
        width: 100%;
    }
    .registration-container {
        padding: 10px !important;
    }
    .regular-packages {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .form-navigation {
        margin-top: 2rem;
        padding-top: 5rem;
    }
    .body-type-option {
        width: 45% !important;
    }
    .body-type-image {
        height: 100px !important;
    }
}
