.elementor-245544 .elementor-element.elementor-element-b4933e4{--display:flex;--min-height:70svh;--justify-content:center;--padding-top:30px;--padding-bottom:30px;--padding-left:20px;--padding-right:20px;}/* Start custom CSS for shortcode, class: .elementor-element-d621a93 */.affwp-register-form {
    background-color: #141414  !important;
    padding: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* --- 2. Сетка (Grid Layout) --- */
.affwp-register-form fieldset {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; 
    gap: 20px !important; 
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


.affwp-register-form p {
    margin: 0 !important;
    width: 100% !important;
}




.affwp-register-form legend,
.affwp-register-form p:has(textarea) {
    grid-column: 1 / -1 !important; 
    display: none !important;
}

.affwp-register-form p:has(input[type="submit"]){
     grid-column: 1 / -1 !important; 
}

.affwp-register-form p:nth-child(6){
     grid-column: 1 / -1 !important; 
}

.affwp-register-form legend {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #6EC1E4 !important;
    padding-bottom: 15px !important;
    display: block !important;
}


.affwp-register-form label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}


.affwp-register-form input[type="text"],
.affwp-register-form input[type="email"],
.affwp-register-form input[type="url"],
.affwp-register-form input[type="password"],
.affwp-register-form input[type="tel"],
.affwp-register-form textarea {
    width: 100% !important;
    background-color: #f9f9f9 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important; /* Чуть мягче углы */
    padding: 0 15px !important;
    font-size: 16px !important;
    color: #141414 !important;
    transition: all 0.2s ease-in-out !important;
    box-sizing: border-box !important;
    height: 50px !important; 
}

.affwp-register-form textarea {
    height: auto !important;
    padding-top: 15px !important;
    min-height: 120px !important;
    resize: vertical !important;
}


.affwp-register-form input:focus,
.affwp-register-form textarea:focus {
    border-color: #6EC1E4 !important;
    background-color: #FFFFFF !important;
    outline: none !important;
    box-shadow: 0 4px 10px rgba(110, 193, 228, 0.15) !important;
}


.affwp-register-form input[type="submit"] {
    background-color: #6EC1E4 !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 30px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: transform 0.2s, background-color 0.2s !important;
    height: 55px !important;
    margin-top: 10px !important;
}

.affwp-register-form input[type="submit"]:hover {
   
    transform: translateY(-2px) !important;
   
}


@media screen and (max-width: 767px) {
    .affwp-register-form {
        padding: 25px 20px !important;
    }

   
    .affwp-register-form fieldset {
        grid-template-columns: 1fr !important; 
        gap: 15px !important;
    }
}/* End custom CSS */