@charset "utf-8";

a:visited,
a:link,
a:active {
    color: black;
    text-decoration: none;
}

a[href^="tel:"] {
    text-decoration: inherit;
    color: inherit;
}

@media screen and (max-width: 4500px) and (min-width: 1101px) {

    html,
    body {
        width: 100%;
        height: auto;
        margin: 0px;
        padding: 0px;
    }

    body {
        background: url('../images/register_bg.jpg');
        background-position: center top;
    }

    #navigation {
        display: none;
    }

    #nav_scrolled {
        width: 100%;
        height: 92px;
        top: 0px;
        left: 0;
        right: 0;
        margin: 0 auto;
        position: fixed;
        background: url('../images/menu.png');
        z-index: 10;
    }

    #nav_scrolled_inner {
        width: 1100px;
        height: 92px;
        margin: 0 auto;
    }

    #nav_logo {
        width: 124.5px;
        height: auto;
        float: left;
        clear: both;
        margin-top: 15px;
    }

    #menu_scrolled {
        padding-left: 30px;
    }

    #nav_scrolled ul {
        float: right;
        margin-top: 25px;
    }

    #nav_scrolled ul > li {
        display: inline-block;
        margin-left: 20px;
    }

    #nav_scrolled ul > li > a {
        display: block;
        text-align: center;
        font-family: "Congenial";
        font-size: 18px;
        text-decoration: none;
        color: white;
        cursor: pointer;
        border: 0px;
        padding: 10px;
        padding-top: 12px;

    }

    #nav_scrolled ul > li > a:hover {
        background: #AAE0FA;
        border-radius: 50px;
        color: #3B2774;
    }

    #register {
        width: 1100px;
        height: auto;
        margin: 0 auto;
        
    }

    #register_box {
        width: 920px;
        height: auto;
        overflow: auto;
        background: #7D69AB;
        margin-top: 175px;
        padding: 40px;
        padding-top: 30px;
        border-radius: 20px;
        margin-left: 50px;
        display: inline-block;
    }

    #register_img {
        width: 332px;
        height: auto;
        float: left;
        clear: both;
    }

    #register_form_box {
        width: 510px;
        height: auto;
        float: right;
    }

    #register_title1 {
        width: 100%;
        color: white;
        font-size: 60px;
        font-family: "neue-kabel";
        font-weight: 800;
        float: left;
        clear: both;
    }

    #register_title2 {
        width: 100%;
        color: white;
        font-size: 24px;
        font-family: "Congenial";
        font-weight: 400;
        float: left;
        clear: both;
    }

    #register_login_button {
        color: white;
        font-size: 16px;
        font-family: "Congenial";
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 8px;
        float: left;
        clear: both;
        margin-top: 20px;
    }

    #register_piece_label {
        color: white;
        font-size: 18px;
        font-family: "Congenial-Light";
        font-weight: 600;
        float: left;
        clear: both;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .radio-group {
        width: 100%;
        float: left;
        clear: both;
        display: flex;
        gap: 10px;
        margin-bottom: 0px;
    }

    .radio-item input[type="radio"] {
        display: none;
    }

    .radio-item label {
        display: block;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
        overflow: hidden;
        position: relative;
        transition: box-shadow 0.2s, transform 0.15s;
    }

    .radio-item label img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity 0.2s;
    }

    .radio-item label img.active-img {
        opacity: 0;
    }

    .radio-item label:hover {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
        transform: scale(1.05);
    }

    .radio-item input:checked + label {
        box-shadow: 0 0 0 3px #fff;
    }

    .radio-item input:checked + label img.normal-img {
        opacity: 0;
    }

    .radio-item input:checked + label img.active-img {
        opacity: 1;
    }

    .form-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        float: left;
        clear: both;
        margin-top: 20px;
    }

    .field {
        margin-bottom: 20px;
    }

    .field label {
        display: block;
        color: #fff;
        font-size: 18px;
        font-family: "Congenial-Light";
        font-weight: 600;
        margin-bottom: 6px;
    }

    .field label span {
        font-size: 15px;
    }

    .input-wrap {
        position: relative;
    }

    .field input[type="text"],
    .field input[type="email"],
    .field input[type="tel"],
    .field input[type="password"] {
        width: calc(100% - 20px);
        height: 48px;
        background: #fff;
        padding-left: 20px;
        border: none;
        border-radius: 4px;
        font-size: 18px;
        font-family: "Congenial";
        font-weight: 400;
        color: #7D69AB;
        outline: none;
    }

    .field input:focus {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    }

    .toggle-password {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        color: #9b6eb0;
    }

    .toggle-password svg {
        width: 22px;
        height: 22px;
    }

    /* Checkboxes */
    .check-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .check-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        cursor: pointer;
    }

    .check-item input[type="checkbox"] {
        display: none;
    }

    .check-box {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        background: #fff;
        border-radius: 3px;
        margin-top: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
    }

    .check-item input:checked + .check-box {
        background: #fff;
    }

    .check-item input:checked + .check-box::after {
        content: '';
        display: block;
        width: 14px;
        height: 5px;
        border-left: 2px solid #9b6eb0;
        border-bottom: 2px solid #9b6eb0;
        transform: rotate(-45deg) translateY(-1px);
    }

    .check-text {
        color: #fff;
        font-size: 16px;
        line-height: 140%;
        font-weight: 400;
        font-family: "Congenial";
    }

    #shield {
        width: 100%;
        height: auto;
        float: left;
        clear: both;
        font-family: "Congenial";
        color: white;
        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        margin-top: 20px;
    }

    #button_send {
        display: inline-block;
        width: 140px;
        height: 42px;
        background: #9CDBF6;
        color: #3B2774;
        float: left;
        clear: both;
        font-family: 'Congenial';
        font-weight: 600;
        border-radius: 50px;
        text-align: center;
        font-size: 16px;
        cursor: pointer;
        position: relative;
        border: 0px;
        outline: 0;
        margin-top: 25px;
    }
    /* ===== SYSTEM BŁĘDÓW ===== */

        /* Banner błędów na górze formularza */
        .form-error-banner {
            width: 100%;
            background: #fde8e8;
            border: 1.5px solid #e53935;
            border-radius: 6px;
            color: #c0392b;
            font-family: "Congenial";
            font-size: 13px;
            font-weight: 600;
            padding: 10px 16px;
            display: none;
            align-items: center;
            gap: 10px;
            margin-bottom: 0px;
            margin-top: 30px;
            box-sizing: border-box;
            float: left;
            clear: both;
        }

        .form-error-banner.visible {
            display: flex;
        }

        .form-error-banner svg {
            flex-shrink: 0;
        }

        /* Wiersz błędu pod polem */
        .field-error {
            display: none;
            align-items: center;
            gap: 8px;
            margin-top: 6px;
            float: left;
            clear: both;
        }

        .field-error.visible {
            display: flex;
        }

        .error-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            background: #e53935;
            color: #fff;
            border-radius: 50%;
            font-size: 13px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Arial, sans-serif;
        }

        .error-text {
            color: #fff;
            font-size: 14px;
            font-family: "Congenial", Arial, sans-serif;
            font-weight: 400;
        }

        /* Podświetlenie pola z błędem */
        .field input.has-error {
            box-shadow: 0 0 0 2px #e53935;
        }
    #kontakt {
        width: 1100px;
        height: 360px;
        margin: 0 auto;
        padding-top: 100px;
    }

    #kontakt_title {
        display: block;
        color: white;
        font-family: "neue-kabel";
        font-size: 60px;
        float: left;
        width: 100%;
        text-align: center;
    }

    #kontakt_company {
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

    #kontakt_phone {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        margin-left: 280px;
        margin-top: 50px;
        letter-spacing: 4%;
        float: left;
        clear: both;
    }

    #foot_email {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        margin-left: 85px;
        margin-top: 50px;
        letter-spacing: 4%;
        float: left;
    }

    #foot_link {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        margin-top: -25px;
        margin-left: 490px;
        float: left;
        clear: both;
    }

    #kontakt_address {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        margin-top: -50px;
        margin-left: 675px;
    }

    #kontakt_rules_download {
        width: 140px;
        color: white;
        font-family: "congenial";
        font-size: 16px;
        float: left;
        clear: both;
        text-decoration: underline;
        text-align: center;
        margin-left: 480px;
        margin-top: 40px;
    }
    #footer_bg{
        width: 100%;
        height: 92px;
        background: #3B2774;
    }
    #footer_inner{
        width: 1100px;
        height: auto;
        margin: 0 auto;
    }
    #kontakt_logo {
        width: 210px;
        height: auto;
        float: left;
        clear: both;
        margin-top: 20px;
    }

    #kontakt_text {
        color: white;
        font-family: "congenial";
        font-size: 16px;
        float: right;
        text-align: center;
        margin-left: 0px;
        margin-top: 40px;
    }
    
}

@media screen and (max-width: 1100px) and (min-width: 200px) {

    html,
    body {
        width: 100%;
        height: auto;
        margin: 0px;
        padding: 0px;
    }

    body {
        background:#3c2774 url('../images/register_bg_mobiile.jpg');
        background-position: center top;
    }

    a[href^=tel] {
        text-decoration: inherit;
        color: inherit;
    }

    #nav_scrolled {
        display: none;
    }

    #logo_nav_mobile{
        width: 90px;
        height: 45px;
        background: url('../images/logo_milka.png');
        background-repeat: no-repeat;
        background-size: contain;
        float: left;
        margin-top: 12px;
        margin-left: 10px;
    }
    #burger {
        display: none;
    }

    #burger + #nav_cross {
        position: fixed;
        top: 11px;
        right: 5px;
        height: 46px;
        width: 46px;
        z-index: 5;
        border-radius: 50px;
    }

    #burger + #nav_cross .cross {
        position: absolute;
        width: 20px;
        height: 3px;
        top: 22px;
        left: 13px;
        display: block;
        background: white;
        transition: .5s;
    }

    #burger + #nav_cross .cross:first-child {
        top: 16px;
    }

    #burger + #nav_cross .cross:last-child {
        top: 28px;
    }

    #nav_cross:hover {
        cursor: pointer;
    }

    #burger:checked + #nav_cross .cross {
        opacity: 0;
        top: 48%;
    }

    #burger:checked + #nav_cross .cross:first-child {
        opacity: 1;
        transform: rotate(405deg);
    }

    #burger:checked + #nav_cross .cross:last-child {
        opacity: 1;
        transform: rotate(-405deg);
    }

    #burger ~ nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 69px;
        z-index: 3;
        transition: .5s;
        transition-delay: .5s;
        overflow: hidden;
        background: url('../images/menu_mobile.png');
    }

    #burger ~ nav > ul {
        list-style: none;
        text-align: center;
        position: absolute;
        top: 15%;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        padding: 0px;
    }

    #burger ~ nav > ul > li {
        opacity: 0;
        transition: .5s;
        transition-delay: 0s;
        cursor: pointer;
    }

    #burger ~ nav > ul > li > a {
        text-decoration: none;
        text-transform: uppercase;
        color: white;
        font-weight: 800;
        font-size: 20px;
        font-family: "Myriad Pro Bold";
        display: block;
        padding: 15px;
    }

    #burger:checked ~ nav {

        background: url('../images/menu_mobile.png');
        height: 100%;
        transition-delay: 0s;
    }

    #burger:checked ~ nav > ul > li {
        opacity: 1;
        transition-delay: .5s;
    }

    #menu_click {
        display: none;
    }

    /* Animated menu end */
    #register {
        width: 320px;
        height: auto;
        margin: 0 auto;
        
    }

    #register_box {
        width: 280px;
        height: auto;
        overflow: auto;
        background: #7D69AB;
        margin-top: 95px;
        padding: 20px;
        padding-top: 25px;
        border-radius: 20px;
        margin-left: 0px;
        display: inline-block;
    }

    #register_img {
        width: 127px;
        height: auto;
        float: left;
        clear: both;
        margin-left: 76.5px;
    }

    #register_form_box {
        width: 100%;
        height: auto;
        float: left;
    }
    #register_title1 {
        width: 70%;
        color: white;
        font-size: 40px;
        line-height: 100%;
        font-family: "neue-kabel";
        font-weight: 800;
        margin-top: 20px;
        float: left;
        clear: both;
    }

    #register_title2 {
        width: 100%;
        color: white;
        font-size: 24px;
        font-family: "Congenial";
        font-weight: 400;
        margin-top: 15px;
        float: left;
        clear: both;
    }

    #register_login_button {
        color: white;
        font-size: 16px;
        font-family: "Congenial";
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 8px;
        float: left;
        clear: both;
        margin-top: 20px;
    }

    #register_piece_label {
        color: white;
        font-size: 18px;
        font-family: "Congenial-Light";
        font-weight: 600;
        float: left;
        clear: both;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .radio-group {
        width: 100%;
        float: left;
        clear: both;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 0px;
    }

    .radio-item input[type="radio"] {
        display: none;
    }

    .radio-item label {
        display: block;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
        overflow: hidden;
        position: relative;
        transition: box-shadow 0.2s, transform 0.15s;
    }

    .radio-item label img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity 0.2s;
    }

    .radio-item label img.active-img {
        opacity: 0;
    }

    .radio-item label:hover {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
        transform: scale(1.05);
    }

    .radio-item input:checked + label {
        box-shadow: 0 0 0 3px #fff;
    }

    .radio-item input:checked + label img.normal-img {
        opacity: 0;
    }

    .radio-item input:checked + label img.active-img {
        opacity: 1;
    }

    .form-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        float: left;
        clear: both;
        margin-top: 20px;
    }

    .field {
        margin-bottom: 20px;
    }

    .field label {
        display: block;
        color: #fff;
        font-size: 18px;
        font-family: "Congenial-Light";
        font-weight: 600;
        margin-bottom: 6px;
    }

    .field label span {
        font-size: 15px;
    }

    .input-wrap {
        position: relative;
    }

    .field input[type="text"],
    .field input[type="email"],
    .field input[type="tel"],
    .field input[type="password"] {
        width: calc(100% - 20px);
        height: 48px;
        background: #fff;
        padding-left: 20px;
        border: none;
        border-radius: 4px;
        font-size: 18px;
        font-family: "Congenial";
        font-weight: 400;
        color: #7D69AB;
        outline: none;
    }

    .field input:focus {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    }

    .toggle-password {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        color: #9b6eb0;
    }

    .toggle-password svg {
        width: 22px;
        height: 22px;
    }

    /* Checkboxes */
    .check-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .check-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        cursor: pointer;
    }

    .check-item input[type="checkbox"] {
        display: none;
    }

    .check-box {
        flex-shrink: 0;
        width: 22px;
        height: 22px;
        background: #fff;
        border-radius: 3px;
        margin-top: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
    }

    .check-item input:checked + .check-box {
        background: #fff;
    }

    .check-item input:checked + .check-box::after {
        content: '';
        display: block;
        width: 14px;
        height: 5px;
        border-left: 2px solid #9b6eb0;
        border-bottom: 2px solid #9b6eb0;
        transform: rotate(-45deg) translateY(-1px);
    }

    .check-text {
        color: #fff;
        font-size: 16px;
        line-height: 140%;
        font-weight: 400;
        font-family: "Congenial";
    }

    #shield {
        width: 100%;
        height: auto;
        float: left;
        clear: both;
        font-family: "Congenial";
        color: white;
        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        margin-top: 20px;
    }

    #button_send {
        display: inline-block;
        width: 140px;
        height: 42px;
        background: #9CDBF6;
        color: #3B2774;
        float: left;
        clear: both;
        font-family: 'Congenial';
        font-weight: 600;
        border-radius: 50px;
        text-align: center;
        font-size: 16px;
        cursor: pointer;
        position: relative;
        border: 0px;
        outline: 0;
        margin-top: 25px;
    }
    /* ===== SYSTEM BŁĘDÓW ===== */

        /* Banner błędów na górze formularza */
        .form-error-banner {
            width: 100%;
            background: #fde8e8;
            border: 1.5px solid #e53935;
            border-radius: 6px;
            color: #c0392b;
            font-family: "Congenial";
            font-size: 13px;
            font-weight: 600;
            padding: 10px 16px;
            display: none;
            align-items: center;
            gap: 10px;
            margin-bottom: 0px;
            margin-top: 30px;
            box-sizing: border-box;
            float: left;
            clear: both;
        }

        .form-error-banner.visible {
            display: flex;
        }

        .form-error-banner svg {
            flex-shrink: 0;
        }

        /* Wiersz błędu pod polem */
        .field-error {
            display: none;
            align-items: center;
            gap: 8px;
            margin-top: 6px;
            float: left;
            clear: both;
        }

        .field-error.visible {
            display: flex;
        }

        .error-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            background: #e53935;
            color: #fff;
            border-radius: 50%;
            font-size: 13px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: Arial, sans-serif;
        }

        .error-text {
            color: #fff;
            font-size: 14px;
            font-family: "Congenial", Arial, sans-serif;
            font-weight: 400;
        }

        /* Podświetlenie pola z błędem */
        .field input.has-error {
            box-shadow: 0 0 0 2px #e53935;
        }
    #kontakt {
        width: 320px;
        height: auto;
        margin: 0 auto;
        padding-top: 30px;
        overflow: auto;
        padding-bottom: 45px;
    }

    #kontakt_title {
        display: block;
        color: white;
        font-family: "neue-kabel";
        font-size: 26px;
        float: left;
        width: 100%;
        text-align: center;
    }

    #kontakt_company {
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 25px;
    }

    #kontakt_phone {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        width: 100%;
        margin-top: 25px;
        letter-spacing: 4%;
        float: left;
        clear: both;
    }

    #foot_email {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        margin-left: 96px;
        margin-top: 25px;
        letter-spacing: 4%;
        float: left;
    }

    #foot_link {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        margin-top: 0px;
        margin-left: 98px;
        float: left;
        clear: both;
    }

    #kontakt_address {
        text-align: center;
        display: block;
        color: white;
        font-family: "congenial-light";
        font-size: 18px;
        font-weight: 600;
        line-height: 25px;
        letter-spacing: 4%;
        float: left;
        width: 100%;
        margin-top: 25px;
        margin-left: 0px;
    }

    #kontakt_rules_download {
        width: 140px;
        color: white;
        font-family: "congenial";
        font-size: 16px;
        float: left;
        clear: both;
        text-decoration: underline;
        text-align: center;
        margin-left: 90px;
        margin-top: 40px;
    }
    #footer_bg{
        width: 100%;
        height: 116px;
        background: #3B2774;
    }
    #footer_inner{
        width: 320px;
        height: auto;
        margin: 0 auto;
    }
    #kontakt_logo {
        width: 210px;
        height: auto;
        float: left;
        clear: both;
        margin-top: 10px;
        margin-left: 55px;
    }

    #kontakt_text {
        width: 100%;
        color: white;
        font-family: "congenial";
        font-weight: 500;
        font-size: 16px;
        float: right;
        text-align: center;
        margin-left: 0px;
        margin-top: 20px;
    }
}