@media(max-width:1024px){.elementor-5487 .elementor-element.elementor-element-65e3d56{margin-top:14rem;margin-bottom:0rem;padding:0px 0px 0px 0px;}}@media(max-width:767px){.elementor-5487 .elementor-element.elementor-element-65e3d56{margin-top:12rem;margin-bottom:12rem;}}/* Start custom CSS for shortcode, class: .elementor-element-637b438 *//* ===== CSS CHO CẢ 2 FORM: LOGIN & REGISTRATION - FIXED ===== */

/* --- 1. NHÚNG FONT CHỮ --- */
@font-face {
    font-family: 'Rock Salt';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/rocksalt/v22/MwQ0bhv11fWD6QsAVOZrt0M6p7NGrQ.woff2) format('woff2');
}

@font-face {
    font-family: 'Permanent Marker';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/permanentmarker/v16/Fh4uPib9Iyv2ucM6pGQMWimMp004La2Cf5b6jlg.woff2) format('woff2');
}

/* --- 2. CHUNG CHO CẢ 2 FORM --- */
html body .ur-frontend-form,
html body .ur-frontend-form form,
html body .ur-frontend-form .ur-form-grid,
html body .ur-frontend-form .ur-form-row,
html body .ur-frontend-form .ur-field-item {
    background-color: #FBFBEA !important;
    background: #FBFBEA !important;
    border: none !important;
    box-shadow: none !important;
}

html body .ur-frontend-form {
    border-radius: 30px !important;
    max-width: 600px !important;
    margin: 40px auto !important;
    position: relative !important;
    padding: 10px !important;
    overflow: visible !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
}

html body .ur-frontend-form .ur-form-grid {
    padding-top: 140px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    padding-bottom: 60px !important;
    box-sizing: border-box !important;
}

/* --- 3. TIÊU ĐỀ CHO REGISTRATION FORM --- */
html body .ur-frontend-form.registration::before {
    content: "REGISTRATION" !important;
    font-family: 'Rock Salt', cursive, sans-serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    color: #333 !important;
    text-align: center !important;
    display: block !important;
    position: absolute !important;
    top: 50px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    line-height: 1.2 !important;
}

/* --- 4. TIÊU ĐỀ CHO LOGIN FORM --- */
html body .ur-frontend-form.login::before {
    content: "LOGIN" !important;
    font-family: 'Permanent Marker', cursive !important;
    font-size: 65px !important;
    font-weight: 400 !important;
    color: #333 !important;
    text-align: center !important;
    display: block !important;
    position: absolute !important;
    top: 35px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    line-height: 1 !important;
}

/* --- 5. LABEL --- */
html body .ur-frontend-form .ur-label,
html body .ur-frontend-form label.ur-label {
    display: block !important;
    font-size: 14px !important;
    color: #999 !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
    background: transparent !important;
}

html body .ur-frontend-form .ur-field-item > label.ur-label {
    display: block !important;
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 12px !important;
}

/* --- 6. INPUT FIELDS --- */
html body .ur-frontend-form input[type="text"], 
html body .ur-frontend-form input[type="email"], 
html body .ur-frontend-form input[type="password"],
html body .ur-frontend-form input[type="number"],
html body .ur-frontend-form textarea,
html body .ur-frontend-form select {
    background-color: #FFFFFF !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 20px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    color: #999 !important;
}

html body .ur-frontend-form input[type="text"]:not(:placeholder-shown), 
html body .ur-frontend-form input[type="email"]:not(:placeholder-shown), 
html body .ur-frontend-form input[type="password"]:not(:placeholder-shown) {
    color: #333 !important;
}

/* --- 7. RADIO BUTTONS --- */
html body .ur-frontend-form ul.ur-radio-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
}

html body .ur-frontend-form .ur-radio-list li,
html body .ur-frontend-form ul.ur-radio-list li,
html body .ur-frontend-form .ur-field-item ul li {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 18px 20px !important;
    margin: 0 0 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    list-style: none !important;
    transition: all 0.2s ease !important;
}

html body .ur-frontend-form ul.ur-radio-list li:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

html body .ur-frontend-form input[type="radio"] {
    width: 24px !important;
    height: 24px !important;
    margin: 0 15px 0 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    accent-color: #DED328 !important;
}

html body .ur-frontend-form ul.ur-radio-list li label,
html body .ur-frontend-form .ur-radio-list li label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    cursor: pointer !important;
    font-size: 16px !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* --- 8. SUBMIT BUTTON --- */
html body .ur-submit-button-block, 
html body .ur-button-container {
    width: 100% !important;
    display: block !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

html body .ur-frontend-form button[type="submit"],
html body .ur-frontend-form input[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #DED328 !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    padding: 22px 20px !important;
    border-radius: 15px !important;
    border: none !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 6px 15px rgba(222, 211, 40, 0.25) !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

html body .ur-frontend-form button[type="submit"]:hover,
html body .ur-frontend-form input[type="submit"]:hover {
    background-color: #CFC320 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(222, 211, 40, 0.35) !important;
}

/* --- 9. REMEMBER ME & LINKS --- */
html body .ur-frontend-form .ur-form-row.login-remember,
html body .ur-frontend-form .user-registration-form-login-remember-me {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

html body .ur-frontend-form .ur-lost-password,
html body .ur-frontend-form a {
    color: #666 !important;
    font-size: 14px !important;
    text-decoration: underline !important;
}

html body .ur-frontend-form a:hover {
    color: #333 !important;
}

/* --- 10. STYLE CHO TEXT DƯỚI BUTTON (được tạo bằng JavaScript) --- */
.custom-terms-text {
    text-align: center !important;
    font-size: 12px !important;
    color: #999 !important;
    line-height: 1.6 !important;
    margin-top: 25px !important;
    padding: 0 40px !important;
    max-width: 100% !important;
}

.custom-terms-text a {
    color: #1E90FF !important;
    text-decoration: underline !important;
}

.custom-terms-text a:hover {
    color: #0066CC !important;
}

/* --- 11. PLACEHOLDER --- */
html body .ur-frontend-form input::placeholder,
html body .ur-frontend-form textarea::placeholder {
    color: #999 !important;
    opacity: 1 !important;
    font-size: 14px !important;
}

/* --- 12. MOBILE RESPONSIVE --- */
@media only screen and (max-width: 768px) {
    html body .ur-frontend-form.registration::before {
        font-size: 25px !important;
        top: 40px !important;
    }
    
    html body .ur-frontend-form.login::before {
        font-size: 50px !important;
    }
    
    html body .ur-frontend-form .ur-form-grid {
        padding-top: 120px !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .custom-terms-text {
        padding: 0 30px !important;
        margin-top: 20px !important;
    }
}

@media only screen and (max-width: 600px) {
    html body .ur-frontend-form {
        width: 94% !important;
        margin: 20px auto !important;
    }
    
    html body .ur-frontend-form.registration::before {
        font-size: 22px !important;
        top: 35px !important;
    }
    
    html body .ur-frontend-form.login::before {
        font-size: 42px !important;
        top: 30px !important;
    }
    
    html body .ur-frontend-form .ur-form-grid {
        padding-top: 100px !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
        padding-bottom: 50px !important;
    }
    
    .custom-terms-text {
        font-size: 11px !important;
        padding: 0 25px !important;
        margin-top: 20px !important;
        line-height: 1.5 !important;
    }
    
    html body .ur-frontend-form input[type="text"], 
    html body .ur-frontend-form input[type="email"], 
    html body .ur-frontend-form input[type="password"] {
        padding: 16px !important;
        font-size: 15px !important;
    }
    
    html body .ur-frontend-form ul.ur-radio-list li {
        padding: 15px 18px !important;
    }
    
    html body .ur-frontend-form button[type="submit"] {
        font-size: 18px !important;
        padding: 20px 30px !important;
    }
}

@media only screen and (max-width: 400px) {
    html body .ur-frontend-form.registration::before {
        font-size: 20px !important;
        top: 30px !important;
    }
    
    html body .ur-frontend-form.login::before {
        font-size: 38px !important;
    }
    
    .custom-terms-text {
        font-size: 10px !important;
        padding: 0 20px !important;
        margin-top: 18px !important;
    }
}/* End custom CSS */