
.banner { background: url('assets/imgs/home-banner.jpg') no-repeat center; background-size: cover; height: 200px; }
.step { display: none; }
.step.active { display: block; }
h1, h3 { font-weight: 600; }
button { width: 100%; margin-bottom: 10px; }
input, select { margin-bottom: 15px !important; }
.container { padding: 20px; background-color: #fff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
img#preview { border-radius: 10px; margin-top: 10px; }
.progress-container { margin-top: 20px; display: none; }
.progress-bar { transition: width 0.4s ease; }
.referrer-photo{
width:100%;
border-radius:20px;
}
.member-photo{
width:150px;
border-radius:20px;
}

  .letter {
    position: absolute;
    top: 0;
    left: 0;
    width: 993px;
    height: 1404px;
    background-image: url("../img/letter.jpg");
    background-color: white;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .reference {
    position: relative;
    top: 245px;
    left: 105px;
  }
  .date {
    position: absolute;
    top: 245px;
    right: 95px;
  }
  .letter-contents {
    position: absolute;
    top: 200px;
    line-height: 2.5;
    padding: 50px;
  }
  .letter-contents h3 {
    text-align: center;
  }
  .letter-contents p {
    font-size: 18px;
  }
  
  #widget {
    width: 1028px;
    height: 650px;
    background-color: #fff;
  }
  .header {
    width: 100%;
    height: 25%;
    display: flex;
    background-image: url('../img/banner.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
  .inner-header { margin: auto; width: 71%; height: 70%; }
  .ribbon { background-color: #B75A03; width: 100%; height: 4%; }
  .main { background-color: #fff; width: 100%; height: 67%; display: flex; }
  .bio-container { width: 47%; height: 75%; margin: auto 0 auto 8%; }
  .chip { background-color: #f8bf6c; width: 100px; height: 100px; float: left; margin-left: 7%; margin-right: 3.5%; }
  .idnumber { background-color: #fff; width: 49%; height: 30%; float: left; margin-left: 3.5%; margin-right: 7%; }
  .number { margin: 4.5% 0 1% 0; font-family: 'Nunito', sans-serif; font-size: 28px; font-weight: 500; color: #B75A03; }
  .card-title { font-family: 'Nunito', sans-serif; font-size: 19px; text-transform: uppercase; font-weight: 500; }
  .name { width: 100%; text-align: center; font-family: 'Playfair Display', serif; text-transform: uppercase; font-weight: 700; font-size: 2.3em; margin: 3% auto; color: #B75A03; }
  .separator { height: 2px; width: 100%; background-color: #000; float: left; margin-top:10px;}
  .fields, .content { width: 50%; float: left; font-family: 'Nunito', sans-serif; font-size: 18px; text-transform: uppercase; }
  .fields { font-weight: 700; }
  .content { font-weight: 500; text-align: right; }
  #image-container { width: 27%; height: 100%; float: left; margin-left: 5%; margin-right: 8%; display: flex; }
  #image-container img { margin: auto; max-width: 270px; max-height: 350px; }
  
  .otp-input {
	  width: 3rem;
	  height: 3rem;
	  text-align: center;
	  font-size: 1.5rem;
	}
	
	.profile-photo-wrapper {
  overflow: hidden;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 14px;
  padding: 8px 5px;
  text-align: center;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  transition: background 0.3s;
}

.profile-photo-wrapper:hover .overlay-text {
  background: rgba(0, 0, 0, 0.7);
}

#cropModal .modal-dialog {
  max-width: 95vw;
  margin: auto;
}

#cropModal .modal-body {
  max-height: 75vh;
  overflow: auto;
  text-align: center;
}

#cropImage {
  max-width: 100%;
  max-height: 60vh;
  display: block;
  margin: auto;
  border-radius: 4px;
  object-fit: contain;
}
