
body {
    position: relative;
    background: url('../assets/images/fpassbg.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
     cursor: default !important;     /* forces arrow cursor */
  user-select: none !important;
}


/* Dark overlay filter */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* adjust darkness */
    z-index: 0;
}

/* lock container to the middle of screen */
.container {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;

    position: fixed;      /* fixed instead of flex alignment */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;           /* make sure it's above background but below SweetAlert */
}

/* prevent SweetAlert from shifting layout */
body.swal2-shown { 
    overflow: hidden; 
    padding-right: 0 !important; 
}

    input {
        width: 95%; padding: 16px;
        margin: 10px 0; border: 1px solid #262626;
        border-radius: 8px;
    }
    button {
        background: #fb8c00;
        color: #fff;
        border: none;
        padding: 12px;
        border-radius: 8px;
        width: 100%;
        cursor: pointer;
        font-size: 16px;
    }
    button:hover { background: #f57c00; }
    .hidden { display: none; }
    .strength { font-size: 13px; text-align: left; margin-top: -5px; }
    .strength span { display: block; }

    /* OTP buttons spacing */
    #step2 button { width:48%; display:inline-block; margin:5px 1%; }

    /* Password validity */
    .valid { border-color: green !important; }
    .invalid { border-color: red !important; }
    #confirm_status { font-size:13px; text-align:left; margin-top:5px; }
    
    #timer {
  font-weight: bold;
  color: red; /* HomeHive orange */
}
/* Verify OTP (orange) */
.verify-btn {
    background: #FB8C00;      /* HomeHive orange */
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
.verify-btn:hover { background: #e07b00; }

/* Resend OTP (bee brown) */
.resend-btn {
    background: #5D4037;      /* Bee brown */
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
.resend-btn:hover { background: #6b442a; }

.logo-box {
    text-align: center;
    margin-bottom: 15px;
}

.logo {
    max-width: 80PX; /* adjust size */
    height: auto;
}
/* Small descriptions under inputs */
small.desc {
  display: block;
  font-size: 0.8rem;
  color: #777;
  margin-top: 4px;
  margin: 10px 10px;
}
.form-desc {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Label styling */
label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--hh-sunset-amber);
  margin: 15px 15px;
}
/* Progress Bar */
.progressbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  counter-reset: step;
  position: relative;
}

/* Step wrapper */
.progress-step {
  text-align: center;
  position: relative;
  flex: 1;
  z-index: 1;
}

/* Circle */
.progress-step::before {
  content: counter(step);
  counter-increment: step;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border: 2px solid #ccc;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background: #fff;
  color: #999;
  font-weight: bold;
  position: relative;
  z-index: 2; /* circles always on top */
}

/* connector line */
.progress-step::after {
  content: '';
  position: absolute;
  width: calc(100% - 15px); /* leave space for circles */
  height: 8px; /* ⬅ increased line thickness */
  background: #ccc;
  top: 14px; /* adjust so line stays centered with circle */
  left: 50%; /* start from circle center */
  z-index: 0; /* line behind circles */
}


.progress-step:last-child::after {
  content: none;
}

/* Active step */
.progress-step.active::before {
  border-color: #FB8C00;
  background: #FB8C00;
  color: #fff;
}

.progress-step.active ~ .progress-step::before {
  border-color: #ccc;
  background: #fff;
  color: #999;
}

.progress-step.active ~ .progress-step::after {
  background: #ccc;
}

/* Completed step */
.progress-step.completed::before {
  border-color: #FB8C00;
  background: #FB8C00;
  color: #fff;
}

.progress-step.completed::after {
  background: #FB8C00;
}
.button-group {
  display: flex;
  justify-content: space-between; /* left & right placement */
  gap: 10px;
  margin-top: 16px;
}

.button-group button {
  width: 48%; /* equal widths */
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

/* Cancel (left) */
.button-group button.cancel {
  background-color: var(--hh-bee-brown, #5D4037);
  color: white;
  border: none;
}

.button-group button.cancel:hover {
  background-color: #4A2F27;
}

/* Send OTP (right) */
.button-group button:last-child {
  background-color: var(--hh-sunset-amber, #FB8C00);
  color: white;
  border: none;
}

.button-group button:last-child:hover {
  background-color: #e67600;
}


