@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v192/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsLjBuVY.woff2) format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5em;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.form > .text {
    width: 95%;
    margin: 0 auto;
	color: #fff
}

.form-item label {
    max-width: 95%;
}

.form .text h1 {
	font-size: 2.5em;
	padding-top: 60px;
	color: white;
    text-transform: lowercase;
	margin: 0;
}

.form fieldset {
	border: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.form-wrapper {
	margin-top: 3rem;
	
}

.form-wrapper .text {
	width: 95%;
	margin: 2rem auto 0;
}
.form-wrapper .text h2 {
	width: 100%;
}
.button-wrapper {
	width: 95%;
	margin: 0 auto;
}

.button-wrapper input {
	position: relative;
    display: inline-block;
    border-radius: 0 20px 0 20px;
    padding: 0.8rem 2rem;
    margin-top: 1rem;
    line-height: 1em;
    align-self: flex-start;
    font-weight: 500;
    text-transform: capitalize;
    overflow: hidden;
	border: none;
    transition: border 0.5s ease;
    z-index: 1;
	color: #fff;
	background: none;
    text-shadow: 0px 0px 0px transparent;
	box-shadow: 0 0 0 2px #00A7E1
}
.button-wrapper input:after {
	content: '';
    display: block;
    background: #002158;
    position: absolute;
    width: 120%;
    height: 115%;
    top: -5%;
    left: calc(-10% - 2px);
    z-index: -1;
    transform-origin: center;
    transform: scaleX(0) skewX(45deg);
    transition: transform 0.5s ease;
}
.button-wrapper input:hover:after {
	background-color: #00A7E1;
	transform: scaleX(1) skewX(45deg);
}

.form-row {
	width: 80%;
	display: flex;
	flex-direction: column;
	position: relative;
	margin: 1.5rem auto 0;
}
.form-row label { display: none };

.form-row input[type="text"], 
.form-row input[type="email"], 
.form-row input[type="number"] {
    font-family: var(--font-family);
    background: none;
    box-shadow: 0px 0px 0px transparent;
    border: 0px solid transparent;
    text-shadow: 0px 0px 0px transparent;
    padding: 0;
}

.form-row textarea {
    width: 100%;
    background: transparent;
    padding: 1rem;
    padding-bottom: 1em;
    font-weight: 300;
    border: 0;
    border-bottom: 1px solid #505050;
    letter-spacing: 0.2rem;
    text-decoration: none;
	color: white;
    border: 1px solid white;
}

.form-row input,
.form-row select {
    width: 100%;
    background: transparent;
    padding: 0;
    padding-bottom: 0em;
    font-weight: 300;
    border: 0;
    border-bottom: 1px solid #505050;
    letter-spacing: 0.2rem;
    text-decoration: none;
	color: white;
    border-bottom: 1px solid white!important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-row input[type='radio'], 
.form-row input[type='checkbox'] {
    min-width: 16px;
}

.form-row select option {
	color: #212529;
}

.form-row input::placeholder, 
.form-row textarea::placeholder,
.form-row input::placeholder {
    color: white;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
	outline: none;
}

.form-row-label label {
    display: block;
    font-weight: 600;
}

.form-row[data-form-edit-customs-style] {
    width:70%;
    margin-left: 0px; 
    margin-right: 5px;
    margin-top: 0px
}

.form-row[data-otp-field-style] {
    width:45%;
    margin: 1.5rem 2.5%;
}

@media (min-width: 768px) {
	.form .text h1 {
		font-size: 3.125em;
	}
	.form-wrapper h2 {
		width: 50%;
		margin-right: 25%
	}
	.form-row {
		width: 45%;
	}
}
@media (min-width: 992px) {
	.form .text h1 {
		font-size: 3.4375em;
	}
}

.form-row[data-width-full-style], .w-95 {
    width: 95%;
}

.cmp-customform.non-form-page-tmpl {
    padding-bottom: 3rem;
}
.cmp-customform.non-form-page-tmpl .text:not(.error) {
    text-align: center;
}
.cmp-customform.non-form-page-tmpl .text .form-title h1{
    text-transform: none;
}
.cmp-customform.non-form-page-tmpl .form-wrapper {
    margin-top: 0;
}
.cmp-customform.non-form-page-tmpl .button-wrapper input {
    box-shadow: 0 0 0 2px #fff;
}

.frm-style-box .form-row > label {
    display: block;
    margin-bottom: 3px;
}
.frm-style-box .form-row input {
    border: solid 1px #ccc;
    background: #fff;
    color: #000;
    font-size: 14px;
    background: #fff;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 4px;
}
.frm-style-box .form-row select {
    appearance: none;          /* Ẩn arrow mặc định (chuẩn) */
    -webkit-appearance: none;  /* Ẩn arrow trên WebKit */
    -moz-appearance: none;     /* Ẩn arrow trên Firefox */
     background-color: transparent;

    /* Thêm SVG arrow làm nền bên phải */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><polyline points='96 192 256 352 416 192' fill='none' stroke='%23999' stroke-width='48' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    background-color: #fff;
    border: solid 1px #ccc;
    color: #000;
    font-size: 14px;
    padding-left: 16px;
    padding-right: 50px;
    padding-bottom: 0!important;
   
}
.frm-style-box .form-row textarea {
    border: 0;
    background: #fff;
     border: solid 1px #ccc;
     border-radius: 4px;
    color: #000;
    font-size: 14px;
    padding-left: 16px;
    padding-right: 16px;
}
/* .frm-style-box .form-row > label + fieldset {
    border: solid 1px #ccc;
    background: #fff;
    border-radius: 4px;
    position: relative;
    
}  */


.frm-style-box .form-row > label dfn {
    color: #66CAD8;
}
.frm-style-box .help-block.error {
    font-weight: 400!important;
    color: #E94336!important;
    margin-bottom: 0;
}
.frm-style-box .form-row.error input, .frm-style-box .form-row.error select , .frm-style-box .form-row.error textarea  {
    border-color: #E94336!important;
}

.frm-style-box .form-row input::placeholder, .frm-style-box .form-row select::placeholder, .frm-style-box .form-row.error textarea::placeholder {
    color: #757575;        /* Màu chữ */
}

.frm-style-box .button-wrapper input {
    background-color: #FFF;
    color: #000;
}

.frm-w-100 {
    width: 100%;
    margin: 0 auto;
}
.frm-w-80 {
    width: 80%;
    margin: 0 auto;
}
.frm-w-60 {
    width: 60%;
    margin: 0 auto;
}
.frm-w-50 {
    width: 50%;
    margin: 0 auto;
}
@media screen and (max-width: 767px){
    .frm-w-100, .frm-w-80, .frm-w-60, .frm-w-50 {
        width: 100%;
        margin: 0 auto;
    }
}