 .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; padding:4px; font-size:15px; 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:#008060; 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;     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: 0px; display:none; }
    .error-msg { color:red; }
    .checkbox-group{ display:flex; flex-wrap:wrap; gap:12px; }
    .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: 93px;        margin-bottom: 0%;
}
   
}
    
    @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;
            }
        }