 .checkbox-group input{ width: unset !important; }
    .form-box {/*max-width: 766px; */
    margin: auto;
    background: #fff;
    padding: 11px; margin:auto; background:#fff; padding:11px; border-radius:12px; box-shadow:0 4px 20px rgba(0,0,0,0.1); }
    .tab-header { display:flex; justify-content:space-between; margin-bottom:10px; }
    .tab-header button { flex:1; margin-top: 10px !important;      padding: 3px;
    font-size: 12px; font-weight:bold; cursor:pointer; border:none; background:#e0e0e0; color:#555; border-radius:8px; margin:0 5px; transition:all .3s; }
    .tab-header button.active { background:#00aa8f; color:#fff; }
    .tab{ display:none; }


     .tab.active{ display:block; animation:fadeIn .4s; }
    @keyframes fadeIn{ from{opacity:0;} to{opacity:1;} }
    h2{ font-size:20px; margin-bottom:15px; color:#2d4739; }
    .form-group{ margin-bottom:15px; }
    .form-group label{ display:block;       text-align: left;    margin-top: 0px;   margin-bottom: 0px; font-size:14px; font-weight:bold; color:#333; }
    .form-group input, .form-group select{ width:100%; padding:10px; height: 39px; border-radius:6px; border:1px solid #ccc; font-size:14px; transition:.3s; }
    .form-group input:focus, .form-group select:focus{ border-color:#008060; outline:none; }
    .error { border-color:red !important; }
    .error-message { color:red; font-size:13px;           margin-top: 2px; display:none; }
    .error-msg { color:red; }
    .checkbox-group{ display:flex; flex-wrap:wrap;     gap: 7px; }
    .checkbox-group label{ font-weight:normal; font-size:14px; }
    .btn{ padding:12px 20px; border:none; border-radius:6px; cursor:pointer; font-size:15px; font-weight:bold; }
    .btn-next{ background:#008060; color:#fff; float:right; }
    .btn-prev{ background:#ccc; color:#000; float:left; }
    .btn-submit{ background:#006644; color:#fff; width:100%; margin-top:20px; }
    .clearfix::after{ content:""; display:table; clear:both; }
    #w50 .gp{ width:45%; margin:0% 5% 0% 0%; }

       .appoinment-box form input { min-height: 38px;height: 39px;}
       .appoinment-box .nice-select { min-height: 38px;
    height: 38px !important;
    line-height: 38px;}


.checkbox-group input {
    min-height: 11px !important; height: 11px !important;}

.appoinment-box .care-n{
width: 100% !important;
}
.nice-select .list{
width: 100%;
    height: 230px;
    overflow: auto;}

    input.error,
select.error,
textarea.error {
  border: 1px solid red !important;
}
#prym.error {
  border: 1px solid red;
  padding: 8px;
  border-radius: 4px;
}
input.error,
select.error,
textarea.error {
  border: 1px solid red !important;
  outline: none;
}

/*.checkbox-group.error {
  border: 1px solid red;
  padding: 8px;
  border-radius: 4px;
}*/
input.error,
select.error,
textarea.error {
  border: 1px solid red !important;
  outline: none;
  background-color: #fff; /* keeps background clean */
}
.full{
    width: 100% !important;
    float: unset;
}
@media screen and (min-width:768px) and (max-width:100000000000px) {
.appoinment-box .form-group{
    width: 47%; float: left; margin: 1%;         min-height: 102px;    margin-bottom: 0%;
}
/*   .appoinment-box{   }*/
}
    
    @media (max-width: 640px){ #w50 .gp{ width:100%; margin:0 0 14px 0; } }
@media screen and (min-width:100px) and (max-width:768px) {.form-box {padding: 16px;}
    .tab {     min-height: 417px !important;}



}

/*added*/
 
        #formMessage {
            margin-top: 15px;
            padding: 12px;
            border-radius: 6px;
            float: left;
            display: none;
        }
        
        .thank-you-message {
            display: none;
            text-align: center;
            padding: 40px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            max-width: 800px;
         height: 325px;
        }
        
        .thank-you-message h2 {
            color: #2c7bfe;
            margin-bottom: 20px;
            font-size: 32px;
        }
        
        .thank-you-message p {
            font-size: 18px;
             color: #000000;
            margin-bottom: 30px;
        }
        
        .countdown {
            font-size: 16px;
            color: #888;
            margin-top: 20px;
        }
        
        @media (max-width: 768px) {
            .form-group {
                flex: 1 0 100%;
            }
            
            .tab-header {
                flex-direction: column;
            }
            
            .tab-btn {
                margin-bottom: 10px;
            }
        }

            input.error,
select.error,
textarea.error {
  border: 1px solid red !important;
  outline: none;
}


/* ensure red border visible on nice-select wrapper */
.appointment-box .nice-select.error,
.appointment-box .nice-select[style*="border"] {
  border: 1px solid #e3342f !important;
  border-radius: 5px;
}
/*.error {
    border: 1px solid red !important;
}*/
.error-text {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}
.spl-bdr .has-error {
  border: 1px solid red !important;
}

.spl-bdr .error-message {
  display: none;
  color: red;
  font-size: 13px;
  margin-top: 5px;
}

/*video*/
 .vide {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.vide video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.vide .container {
  position: relative;
  z-index: 2;
}

.vide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.75) 24%, rgba(0, 0, 0, 0) 41%, rgba(0, 0, 0, 0) 100%)
}

.double-items .content-col{
        position: relative;
    bottom: 0;
    /* position: absolute; */
    padding-top: 26%;
    color: white;
}

     /* Thank You Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .thank-you-modal {
            background-color: #fff;
            border-radius: 10px;
            padding: 30px;
            max-width: 500px;
            width: 90%;
            text-align: center;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
            position: relative;
            animation: modalFadeIn 0.5s;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: translateY(-50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: #333;
        }

        .modal-icon {
            font-size: 60px;
            color: #4CAF50;
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 24px;
            margin-bottom: 15px;
            color: #333;
        }

        .modal-message {
            font-size: 16px;
            line-height: 1.6;
            color: #666;
            margin-bottom: 25px;
        }

        .modal-button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }

        .modal-button:hover {
            background-color: #45a049;
        }


input.error,
select.error,
textarea.error {
  border: 1px solid red !important;
  outline: none;
}


/* ensure red border visible on nice-select wrapper */
.appointment-box .nice-select.error,
.appointment-box .nice-select[style*="border"] {
  border: 1px solid #e3342f !important;
  border-radius: 5px;
}
/*.error {
    border: 1px solid red !important;
}*/
.error-text {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}
.spl-bdr .has-error {
  border: 1px solid red !important;
}

.spl-bdr .error-message {
  display: none;
  color: red;
  font-size: 13px;
  margin-top: 5px;
}

/*video*/
 .vide {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.vide video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.vide .container {
  position: relative;
  z-index: 2;
}

.vide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.75) 24%, rgba(0, 0, 0, 0) 41%, rgba(0, 0, 0, 0) 100%)
}

.double-items .content-col{
        position: relative;
    bottom: 0;
    /* position: absolute; */
    padding-top: 26%;
    color: white;
}


/* Add to your existing CSS */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Add to your existing CSS */
.btn-next:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.loading-text {
    display: inline-flex;
    align-items: center;
}

.loading-text::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (min-width: 769px) and (max-width: 2e+11px) {
    .inner-h {  height: 360px;}

 

}

.appoinment-box form input {
    min-height: 38px;
    height: 39px;
}


.appoinment-box {
    position: relative;
    text-align: left;
        margin-top: 3%;

}