.volunteer-widget-wrapper {
  padding: 30px 0;
  font-family: inherit;
  direction: rtl;
}

.vol-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.vol-row.centered-row {
  justify-content: center;
}

.vol-col-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

.vol-col-centered {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .vol-col-centered {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

.volunteer-form-group {
  margin-bottom: 15px;
}

.volunteer-form-control {
  width: 100%;
  height: 50px;
  padding: 10px;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

.volunteer-form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
}

.volunteer-form-control:hover {
  border-color: #92c0e0;
}

.volunteer-form-control:active {
  border-color: #2a8dd4;
}

.about-aman h5 {
  color: #ff4787 !important;
  font-size: 16px;
}

.main-title {
  border: none !important;
}
.about-aman .main-title h1 {
  font-size: 25.6px;
  color: #000;
  border-bottom: 7px solid #e9e9e9;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin-bottom: 0;
}

.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(2.25rem + 2px);
  padding: 0.55rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0;
  font-weight: normal;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}

.custom-file-label::after {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 3;
  display: block;
  height: 2.25rem;
  height: 100%;
  padding: 0.55rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: attr(data-browse);
  background-color: #e9ecef;
  border-right: 1px solid #ced4da;
  border-left: none;
  border-radius: 0;
}

.volunteer-widget-wrapper .custom-file-label {
  padding-left: 80px;
}

.volunteer-widget-wrapper[dir="rtl"] .custom-file-label {
  text-align: center;
}

.selected-filename {
  text-align: left !important;
  direction: ltr !important;
  display: block;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.file-help-text {
  font-size: 0.85em;
  color: red;
  margin-top: 5px;
}

.volunteer-input {
  padding: 10px 0;
  border: none;
}

.volunteer-widget-wrapper[dir="rtl"] .volunteer-input {
  text-align: left;
}

.volunteer-widget-wrapper[dir="ltr"] .volunteer-input {
  text-align: right;
}

.volunteer-submit-form {
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #ed608a !important;
  border-radius: 15px !important;
  font-size: 16px !important;
  padding: 8px 40px;
  min-width: 6em;
  margin-right: 10px;
  cursor: pointer;
  display: inline-block;
  outline: 0;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.volunteer-submit-form:hover {
  background: #ed608a !important;
  color: #fff !important;
}

/* Error Text */
.error-text {
  color: red;
  font-size: 0.85em;
  display: block;
  margin-top: 5px;
  min-height: 20px;
  line-height: normal;
}

.realperson-challenge {
  text-align: center;
  margin-bottom: 10px;
  direction: ltr;
}

.realperson-regen {
  font-size: 14px;
  cursor: pointer;
  color: #000;
  margin-top: 5px;
}

input.volunteer-form-control.is-realperson {
  text-align: center;
  letter-spacing: 2px;
}

/* Remove old specific styles that might conflict */
/* 
.volenteer-form .realperson-text { ... } 
input.volunteer-form-control.is-realperson { ... }
*/

.alert {
  position: relative;
  padding: 15px 25px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 5px;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.volunteer-widget-wrapper .custom-file-label::after {
  right: 0 !important;
  left: auto !important;
  border-left: 1px solid #ced4da !important;
  border-right: none !important;
  border-radius: 0 0.25rem 0.25rem 0 !important;
}

.volunteer-widget-wrapper[dir="rtl"] .custom-file-label {
  padding-right: 5rem !important;
  padding-left: 0.75rem !important;
}

.volunteer-widget-wrapper[dir="ltr"] .custom-file-label {
  padding-right: 5rem !important;
  padding-left: 0.75rem !important;
}
