.form-wrapper {
    background: #f9fcff;
    border: 1px solid #dcecf7;
    border-radius: 28px;
    padding: 50px;
    max-width: 950px;
    margin: auto;

    /* mocniejszy cień */
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.18),
        0 10px 25px rgba(0, 0, 0, 0.10);
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }
}

.page-title {
    color: #64b2dd;
    font-weight: 700;
    margin-bottom: 25px; 
    font-size: 28px;
    line-height: 1.3;
}

.custom-input {
    border-radius: 16px;
    padding: 14px 18px;
    border: 1px solid #d9eaf5;
    transition: all 0.25s ease;
    font-size: 15px;
    background: #f9fcff;
    height: auto !important;
}

.custom-input:focus {
    border-color: #64b2dd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(100,178,221,0.15);
}

.section-title {
    color: #64b2dd;
    font-weight: 600;
    margin-bottom: 18px;
    font-size: 18px;
}

.section-box {
    background: #f8fcff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2f3fb;
}

.radio-card {
    border: 1px solid #d9eaf5;
    padding: 16px 24px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 15px;
    background: #ffffff;
    font-weight: 500;
}

.radio-card input {
    margin-right: 10px;
}

.radio-card:hover {
    border-color: #64b2dd;
    background: #f2fbff;
    transform: translateY(-2px);
}

.custom-textarea {
    border-radius: 20px;
    min-height: 160px;
    padding: 18px;
    border: 1px solid #d9eaf5;
    background: #f9fcff;
    transition: all 0.25s ease;
}

.custom-textarea:focus {
    border-color: #64b2dd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(100,178,221,0.15);
}

.info-text {
    font-size: 14px;
    font-style: italic;
    text-align: center;
    color: #64b2dd;
    margin-top: 8px;
}

.upload-box {
    border: 2px dashed #cbe8f7;
    padding: 30px 20px;
    border-radius: 20px;
    background: #f9fcff;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-box:hover {
    border-color: #64b2dd;
    background: #f2fbff;
}

.upload-box p {
    font-weight: 500;
    margin-bottom: 10px;
}

.upload-box input[type="file"] {
    margin-top: 10px;
}

.upload-box input[readonly] {
    border: none;
    background: transparent;
    margin-top: 10px;
    color: #ff4d4d;
    font-size: 13px;
}

.form-check {
    background: #f8fcff;
    padding: 18px 40px;
    border-radius: 16px;
    border: 1px solid #e2f3fb;
}

.form-check-input {
    border-radius: 6px;
    border: 1px solid #64b2dd;
}

.form-check-input:checked {
    background-color: #64b2dd;
    border-color: #64b2dd;
}

.form-check-label {
    font-style: italic;
}

.btn-submit {
    background: linear-gradient(135deg, #64b2dd, #4a9bc8);
    color: white;
    padding: 16px 50px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(100,178,221,0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(100,178,221,0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Ukrycie natywnego inputa */
.custom-file-upload input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #64b2dd, #4a9bc8);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(100,178,221,0.3);
}

.custom-file-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(100,178,221,0.4);
}

.file-name {
    margin-top: 12px;
    font-size: 14px;
    color: #64b2dd;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.form-wrapper ul {
    margin-top: 15px;
    padding-left: 20px;
    font-size: 13px; /* mniejszy font */
    line-height: 1.6;
    color: #555; /* lżejszy tekst */
}

.form-wrapper ul li {
    margin-bottom: 10px;
}

/* Niebieskie kropki */
.form-wrapper ul li::marker {
    color: #64b2dd;
    font-size: 15px;
}

.input-error {
    border: 2px solid #ff4d4d !important;
    background: #fff5f5 !important;
}

.error-message {
    font-size: 13px;
    color: #ff4d4d;
    margin-top: 6px;
}

.char-counter {
    font-size: 13px;
    margin-top: 6px;
    color: #64b2dd;
    font-weight: 500;
    text-align: right;
}

.char-counter.error {
    color: #ff4d4d;
}

.form-alert {
    padding: 20px 25px;
    border-radius: 18px;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
}

.success-alert {
    background: linear-gradient(135deg, #e9f9ff, #f4fcff);
    border: 1px solid #64b2dd;
    color: #2c6e91;
    box-shadow: 0 10px 30px rgba(100,178,221,0.15);
}

.success-alert::before {
    content: "✓";
    font-weight: bold;
    margin-right: 10px;
    color: #64b2dd;
}

.error-alert {
    background: linear-gradient(135deg, #fff1f1, #fff8f8);
    border: 1px solid #ff4d4d;
    color: #a10000;
    box-shadow: 0 10px 30px rgba(255,77,77,0.15);
}

.error-alert::before {
    content: "⚠";
    font-weight: bold;
    margin-right: 10px;
    color: #ff4d4d;
}

.form-select.custom-input {
    border-radius: 16px;
    padding: 14px 18px !important;
    border: 1px solid #d9eaf5;
    background-color: #f9fcff;
    transition: all 0.25s ease;
    font-size: 15px !important;
}

.form-select.custom-input:focus {
    border-color: #64b2dd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(100,178,221,0.15);
}

.form-select:invalid {
    color: #6c757d;
}

.form-select:valid {
    color: #212529;
}

.form-select option {
    color: #212529;
}

.auth-switch-wrapper {
    display: flex;
    justify-content: center;
}

.auth-switch {
    display: flex;
    gap: 20px;
}

.auth-pill {
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;

    /* NIEAKTYWNY */
    background: #e7f1f8;
    color: #4a8bbf;
}

/* AKTYWNY – gradient jak submit */
.auth-pill.active {
    background: linear-gradient(135deg, #6ea6c9, #4a8bbf);
    color: #fff;
    box-shadow: 0 6px 20px rgba(74,139,191,0.25);
}

.auth-pill:hover {
    transform: translateY(-2px);
}

.info-text {
    font-size: 14px;
    line-height: 1.6;
}

.info-text .more {
    display: none;
}

.info-text .toggle-more {
    display: inline-block;
    margin-left: 6px;
    color: #0073e6;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.info-text .toggle-more:hover {
    color: #005bb5;
    text-decoration: underline;
}

.password-requirements {
    margin-top: 16px;
    padding: 18px 20px;
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    background: #f8fbff;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.password-requirements .requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #7b8794;
    margin: 0;
    transition: color 0.2s ease;
    min-width: 0;
}

.password-requirements .requirement .icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 1.5px solid #c7d7e6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.password-requirements .requirement .icon::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    text-align: center;
}

/* poprawny */
.password-requirements .requirement.valid {
    color: #1f8f4e;
}

.password-requirements .requirement.valid .icon {
    background: #1f8f4e;
    border-color: #1f8f4e;
}

.password-requirements .requirement.valid .icon::before {
    content: "✓";
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* błędny */
.password-requirements .requirement.invalid {
    color: #d64545;
}

.password-requirements .requirement.invalid .icon {
    border-color: #d64545;
    background: #fff;
}

.password-requirements .requirement.invalid .icon::before {
    content: "✕";
    color: #d64545;
    font-size: 13px;
    font-weight: 700;
}

/* inputy */
.custom-input.is-valid {
    border-color: #1f8f4e;
    box-shadow: none;
}

.custom-input.is-invalid {
    border-color: #d64545;
    box-shadow: none;
}

/* mobile */
@media (max-width: 767.98px) {
    .password-requirements {
        grid-template-columns: 1fr;
    }
}

/* zewnetrzne zeby nie rozwalalo strony klient */
.club-header-bg {
    padding-top: 90px !important;
}