header {
  box-shadow: none;
  border-bottom: 1px solid #ccc;
}

body {
  margin: 0;
}

.heading-one {
  font-size: 20px !important;
  /*font-family: "Lato";*/
  font-weight: 700 !important;
}

.heading-two {
  font-size: 18px !important;
  /*font-family: "Lato";*/
  font-weight: 700;
}

.payment-heading-two {
  font-size: 18px !important;
  /*font-family: "Lato";*/
  font-weight: 400;
}

.sub-heading-one {
  font-size: 16px !important;
  /*font-family: "Lato";*/
  font-weight: 700 !important;
}

.sub-heading-two {
  font-size: 14px !important;
  /*font-family: "Lato";*/
  font-weight: 700 !important;
}

.sub-heading-three {
  font-size: 12px !important;
  /*font-family: "Lato";*/
  font-weight: 700;
}

.body-one {
  font-size: 16px !important;
  /*font-family: "Lato";*/
  font-weight: 400;
}

.body-two {
  font-size: 14px !important;
  /*font-family: "Lato";*/
  font-weight: 400 !important;
}

.sub-line {
  font-size: 12px !important;
  /*font-family: "Lato";*/
  font-weight: 400 !important;
}

.caption {
  font-size: 10px;
  /*font-family: "Lato";*/
  font-weight: 400 !important;
}

.caption-one {
  font-size: 10px !important;
  /*font-family: "Lato";*/
  font-weight: 700 !important;
}

.notification-text {
  font-size: 6px;
  /*font-family: "Lato";*/
  font-weight: 700 !important;
}

.header-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.toolbar .title {
  opacity: 1;
}

.toolbar button {
  color: #ED5858;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  margin-left: 10px;
}

.outline-btn {
  padding: 6px 24px;
  border-radius: 6px;
  border: 1px solid #ed5858;
  color: #ed5858;
  background: transparent;
}

.login-btn {
  background: transparent;
  border-color: #dabdbd !important;
  color: #dabdbd !important;
}

.mat-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.create-account {
  background: #ED5858;
  padding: 10px 20px;
  color: white;
}

.reg-container {
  text-align: center;
  padding: 80px 24px 24px 24px;
}

.welcome-text {
  font-weight: bold;
  color: #16826A;
  margin: 0;
}

.hr {
  width: 70%;
  height: 1px;
  background: #E4E4E4;
  margin: 24px auto 16px;
}

.form-card {
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
  border: 1px solid #DADADA;
  border-radius: 18px;
  box-shadow: 0px 1px 17px 0px rgba(0, 0, 0, 0.22);
  max-width: 350px;
  margin: 24px auto;
  text-align: left;
}

.card-header {
  background: linear-gradient(45deg, #EFFFF9, #FFF4E7);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  border-radius: 18px 18px 0 0;
}

.card-header h3 {
  margin: 0;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.input-group input {
  height: 41px;
  border: 1px solid #b3b3b3;
  border-radius: 8px;
  padding: 0 16px;
}

.register-btn {
  background: #ff4d4d;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  min-height: 40px;
  border: none;
  cursor: pointer;
  padding: 10px 30px;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.terms {
  font-size: 0.8rem;
  color: gray;
  text-align: center;
  margin-top: 10px;
}

.terms a {
  color: #007bff;
  text-decoration: none;
}

.select-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
}

.search-bar {
  padding: 10px;
  background: #fff;
}

.country-list {
  max-height: 270px;
  overflow-y: auto;
  padding: 0 12px;
}

.flag-image {
  display: flex;
  align-items: center;
  justify-content: end;
}

.code-country {
  margin-top: 2px;
  margin-left: 5px;
  font-weight: 700;
}

.error-section {
  display: flex;
  align-items: center;
  margin-top: 7px;
}

.email-mobile-error {
  color: #ED5858;
  text-align: left;
  display: flex;
  align-items: center;
  padding-bottom: 6px;
}

.optional-text {
  color: gray;
}

.d-flex {
  display: flex;
}

.flag-image2 {
  width: 16px;
  margin-bottom: auto;
  margin-top: 3px;
}

.crate-account {
  background-color: #ED5858;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 1);
}

/*  */

.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  transition: all 0.3s;
  color: #000;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #777;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  font-weight: 500;
}

.phone-group {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.phone-group select {
  border: none;
  padding: 10px;
  background: #f8f8f8;
}

.phone-group input {
  flex: 1;
  border: none;
  padding: 10px;
}

.error-text {
  color: rgba(225, 43, 16, 1);
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.floating-label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background: white;
  padding: 0 5px;
  color: #777;
  transition: all 0.3s;
}

input:focus+.floating-label,
input:not(:placeholder-shown)+.floating-label,
select:focus+.floating-label,
select:not(:placeholder-shown)+.floating-label {
  top: 0;
  font-size: 12px;
  color: #000;
}

.plr-24 {
  padding: 10px 24px;
}

.country-mobile-number {
  width: 100%;
  border: 1px solid #777;
  height: 40px;
  border-radius: 8px;
  display: flex;
}

.country-code {
  background: rgba(241, 241, 241, 1);
  width: 40%;
  height: 40px;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #777;
  box-sizing: border-box;
}

.img-flag {
  width: 16px;
  height: 14px;
  margin-right: 4px;
}

.border-none {
  border: none !important;
}

.margin-0 {
  margin: 0;
}

.mt-8{
  margin-top: 8px;
}

.arrow-text {}

/* Custom Select Wrapper */
.custom-select {
  position: relative;
  width: 100%;
  border: 1px solid #777;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Floating Label */
.custom-label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
  background: white;
  padding: 0 5px;
  transition: 0.3s ease-in-out;
  pointer-events: none;
}

/* Move Label on Selection */
.custom-select.filled+.custom-label {
  top: 0;
  font-size: 12px;
  color: #000;
}

/* Selected Option */
.selected-option {
  flex-grow: 1;
  font-size: 16px;
  color: #000;
  font-weight: 500;
}

/* Custom Dropdown */
.custom-dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #000;
  border-radius: 6px;
  display: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  max-height: 240px;
  overflow-y: auto;
  font-size: 14px;  
}

.custom-dropdown div {
  padding: 12px;
  cursor: pointer;
  transition: 0.2s;
  border-bottom: 1px solid #F1F1F1;
}

.custom-dropdown div:hover {
  background: #f1f1f1;
}

/* Show dropdown when active */
.custom-select.active+.custom-dropdown {
  display: block;
}

/* Custom Arrow */
.arrow {
  font-size: 16px;
  color: #999;
}

.mt-20 {
  margin-top: 20px;
}

.mr-8 {
  margin-right: 8px;
}

/*  */

/* Dropdown Styling */
.dropdown-country {
  position: absolute;
  top: 30%;
  width: 100%;
  left: 0;
  padding: 24px;
  display: none;
  box-sizing: border-box;
}

.dropdown-contaner{
  width: 100%;
  background: white;
  border: 2px solid #ccc;
  border-radius: 6px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  box-sizing: border-box;
  padding: 12px;
}
/* Search Bar */
.search-bar {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  background: #fff;
}

.search-bar input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  box-sizing: border-box;
}

.sub-heading {
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #000;
}

/* Country Items */
.country-list div {
  padding: 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}

.country-list div:hover {
  background: #f1f1f1;
}

.flag {
  width: 20px;
  height: 14px;
  margin-right: 10px;
}

.body-two {
  font-size: 16px;
}

/* Show dropdown */
.dropdown-country.active {
  display: block;
}

.warning-icon{
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.invalid-input{
  border-color: rgba(225, 43, 16, 1) !important;
}

.invalid-input .country-code{
  border-color: rgba(225, 43, 16, 1) !important;
}

.gender-info{
  display: none;
}

.initial-data{
  display: block;
}

.mt-12{
  margin-top: 12px;
}

.new_theme .select2-container--default .select2-selection--single {
  background-color: transparent;
}


.reg-container .select2-container--default .select2-selection--single .select2-selection__arrow b {
  background: url(//imgs.tamilmatrimony.com/bmimgs/homepage-revamp-images/hp-helpicn-dropdown.svg) no-repeat !important;
}