.box-header {
  position: relative;
  overflow: hidden; /* icons box එකෙන් පිටතට යනවා නම් clip කරනවා */
  padding-right: 60px; /* icons ලට space ඉතුරු කරනවා */
}

.box-header h2 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  max-width: calc(100% - 60px); /* icon width ට ඉඩ දෙනවා */
}

.box-header .box-icon {
  position: absolute;
  top: 8px;
  right: 10px;
}

.box-header {
  background: linear-gradient(to right, #2c3e50 0%, #02f8ec 50%, #2c3e50 100%);
  color: #ffffff;
}

.box-header h2 {
  color: #ffffff;
}

.box-header .box-icon a i {
  color: #bc0cdf;
}

/*----------------------alert box ---------------------------------*/
.sms-header {
  height: 1cm; /* exact height you want */
  background-color: #add8e6; /* light blue */
  color: #000; /* black text, change if needed */
  font-weight: bold;
  font-size: 16px; /* adjust for readability */
  display: flex;
  align-items: center; /* vertically center text */
  justify-content: center; /* horizontally center text */
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* optional slight shadow */
}

.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none; /* hidden initially */
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.alert-box {
  width: 450px; /* Increased width */
  background: white;
  padding: 15px 20px; /* Reduced padding => reduces height */
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  border-top: 12px solid #007bff;
}

@keyframes pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.alert-icon {
  font-size: 35px;
  margin-bottom: 5px;
}

/* Icon colors */
.alert-success {
  color: #28a745;
} /* Green */
.alert-error {
  color: #dc3545;
} /* Red */
.alert-warning {
  color: #ffc107;
} /* Yellow */
.alert-info {
  color: #007bff;
} /* Blue */

.alert-btn {
  padding: 6px 15px; /* Smaller buttons */
  margin: 6px;
  width: 90px;
  font-size: 14px;
  border-radius: 8px;
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.alert-btn:hover {
  transform: scale(1.05);
}

.alert-ok,
.alert-yes {
  background: #007bff;
} /* Blue */
.alert-no {
  background: #dc3545;
} /* Red */

/*-------------------------------end of Alert box css -------------------------------------------*/
.alertBox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.alertContent {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  font-size: 18px;
  color: red;
  box-shadow: 0 0 15px #000;
}
.alertContent button {
  border-radius: 15px;
  background: #a1d8f0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#badff3),
    to(#0e7990)
  );
  border: 1px solid #7db0cc !important;
  cursor: pointer;
  padding: 11px 16px;
  font:
    bold 16px/14px Verdana,
    Tahomma,
    Geneva;
  text-shadow: rgba(0, 0, 0, 0.2) 0 1px 0px;
  color: #fff;
  box-shadow:
    inset rgba(255, 255, 255, 0.6) 0 1px 1px,
    rgba(0, 0, 0, 0.1) 0 1px 1px;
  margin-left: 12px;
  margin-top: 20px;
  float: right;
  padding: 7px 21px;
  /* margin-top: 5px;
    padding: 8px 20px;
    font-size: 16px;
    height: 30px;
    width: 60px;*/
}

#id_saveMsg {
  position: absolute;
  top: 0; /* adjust based on where you want it */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.save_feedback {
  font-size: 16px;
  padding: 5px;
  color: green;
  margin-left: 1%;
  height: 35px;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #d1f8fb;
  background-clip: padding-box;
  border: 2px solid #cccccc;
  border: 2px solid rgba(0, 255, 0, 0.9);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}

.save_feedback_top {
  font-size: 16px;
  padding: 5px;
  color: green;
  margin-left: 10%;
  height: 35px;
  margin-top: 0px;
  font-weight: bold;
  text-align: center;
  background-color: #d1f8fb;
  background-clip: padding-box;
  border: 2px solid #cccccc;
  border: 2px solid rgba(0, 255, 0, 0.9);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}

.save_errorFB {
  font-size: 16px;
  padding: 5px;
  color: red;
  margin-left: 1%;
  height: 35px;
  margin-top: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #f9efee;
  background-clip: padding-box;
  border: 2px solid #cccccc;
  border: 2px solid rgba(255, 0, 0, 0.6);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}

.save_errorFB_top {
  font-size: 16px;
  padding: 5px;
  color: red;
  margin-left: 1%;
  height: 35px;
  margin-top: 0px;
  font-weight: bold;
  text-align: center;
  background-color: #f9efee;
  background-clip: padding-box;
  border: 2px solid #cccccc;
  border: 2px solid rgba(255, 0, 0, 0.6);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}

.errmsg {
  position: relative;
  top: 12;
  left: 0;
  z-index: 500;
  color: red;
  font-size: 1.2em;
  padding: 3px;
  text-align: left;
  background-image: linear-gradient(#22d7e7, #ffffff, #22d7e7);
  background-clip: padding-box;
  border: 1px solid #cccccc;
  border: 2px solid rgba(255, 0, 0, 0.4);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}
.errmsgBig {
  z-index: 500;
  position: relative;
  top: 12;
  left: 0;
  color: red;
  font-size: 1.2em;
  padding: 15px;
  text-align: left;
  /*background-color:#f9efee;*/
  background-image: linear-gradient(#22d7e7, #ffffff, #22d7e7);
  background-clip: padding-box;
  border: 1px solid #cccccc;
  border: 2px solid rgba(255, 0, 0, 0.4);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}

.infoMsgBig {
  z-index: 500;
  position: relative;
  top: 12;
  left: 0;
  /*color:#e35915;*/
  color: #000000;
  font-size: 1.2em;
  padding: 15px;
  text-align: left;
  /*background-color:#f8f6b6;*/
  background-image: linear-gradient(#22d7e7, #ffffff, #22d7e7);
  background-clip: padding-box;
  border: 1px solid red;
  border: 2px solid rgba(255, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}
.infoMsg {
  position: relative;
  top: 12;
  left: 0;
  z-index: 500;
  color: #000000;
  font-size: 1.2em;
  padding: 3px;
  text-align: left;
  background-image: linear-gradient(#22d7e7, #ffffff, #22d7e7);
  background-clip: padding-box;
  border: 1px solid #cccccc;
  border: 2px solid rgba(255, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 15px rgba(82, 92, 220, 0.9);
  white-space: normal;
}
/*/-------------------------------------------------------------------*/
.btn-default-pr {
  margin-top: 20px;
  background-image: -webkit-linear-gradient(#fff, #fff 60%, #f5f5f5);
  background-image: -o-linear-gradient(#fff, #fff 60%, #f5f5f5);
  background-image: linear-gradient(#2a36dc, #5df6f9, #2a36dc);
  width: 78px !important;
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff5f5f5', GradientType=0);
  filter: none;
  border-bottom: 1px solid #e6e6e6;
}

.btn-default-sa {
  margin-top: 20px;
  background-image: -webkit-linear-gradient(#fff, #fff 60%, #f5f5f5);
  background-image: -o-linear-gradient(#fff, #fff 60%, #f5f5f5);
  background-image: linear-gradient(#2ab3dc, #5df6f9, #178acc);
  width: 78px !important;
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff5f5f5', GradientType=0);
  filter: none;
  border-bottom: 1px solid #e6e6e6;
}

.btn-default-sa-applybtn {
  margin-top: 20px !important;
  background-image: -webkit-linear-gradient(#fff, #fff 60%, #f5f5f5);
  background-image: -o-linear-gradient(#fff, #fff 60%, #f5f5f5) !important;
  background-image: linear-gradient(#2ab3dc, #5df6f9, #178acc) !important;
  width: 125px !important;
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff5f5f5', GradientType=0);
  filter: none;
  border-bottom: 1px solid #e6e6e6;
}

.btn-default-cl {
  margin-left: 30px;
  margin-top: 20px;
  background-image: -webkit-linear-gradient(#fff, #fff 60%, #f5f5f5);
  background-image: -o-linear-gradient(#fff, #fff 60%, #f5f5f5);
  background-image: linear-gradient(#2ab3dc, #c2ccc1 60%, #178acc);
  background-repeat: no-repeat;
  width: 78px !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff5f5f5', GradientType=0);
  filter: none;
  border-bottom: 1px solid #e6e6e6;
}
.navbar {
  background-image: linear-gradient(#feffff, #a3cffb 60%, #1d9ce5);
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff1d9ce5', GradientType=0);
  border-bottom: 1px solid #178acc;
  filter: none;
  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.accordion > ul {
  display: none;
  margin-left: 5px;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #ffffff;
  background-color: #d6dfe0;
}
.blue-1 {
  color: #381ff9;
}
.pink {
  color: #ef0ef1;
}
.green-msg {
  color: #73f675;
}
.myred {
  color: #f91f4d;
}
.btnLogin {
  border-radius: 15px;
  background: #a1d8f0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#badff3),
    to(#0e7990)
  );
  border: 1px solid #7db0cc !important;
  cursor: pointer;
  padding: 11px 16px;
  font:
    bold 16px/14px Verdana,
    Tahomma,
    Geneva;
  text-shadow: rgba(0, 0, 0, 0.2) 0 1px 0px;
  color: #fff;
  box-shadow:
    inset rgba(255, 255, 255, 0.6) 0 1px 1px,
    rgba(0, 0, 0, 0.1) 0 1px 1px;
  margin-left: 12px;
  margin-top: 20px;
  float: right;
  padding: 7px 21px;
  /* border-radius: 15px;
    background: #a1d8f0;
    background: -webkit-gradient(linear, left top, left bottom, from(#badff3), to (#0e7990));
    border: 1px solid #7db0cc !important;
    cursor: pointer;
    padding: 11px 16px;
    font: bold 16px/14px Verdana, Tahomma, Geneva;
    text-shadow: rgba(0,0,0,0.2) 0 1px 0px;
    color: #fff;
    box-shadow: inset rgba(255,255,255,0.6) 0 1px 1px, rgba(0,0,0,0.1) 0 1px 1px;
    margin-left: 12px;
	margin-top: 20px;
    float: right;
    padding: 7px 21px;*/
}
.btnLoginClose {
  border-radius: 15px;
  background: #a1d8f0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#badff3),
    to(#0e7990)
  );
  border: 1px solid #7db0cc !important;
  cursor: pointer;
  padding: 11px 16px;
  font:
    bold 16px/14px Verdana,
    Tahomma,
    Geneva;
  text-shadow: rgba(0, 0, 0, 0.2) 0 1px 0px;
  color: #fff;
  box-shadow:
    inset rgba(255, 255, 255, 0.6) 0 1px 1px,
    rgba(0, 0, 0, 0.1) 0 1px 1px;
  margin-left: 12px;
  margin-top: 20px;
  float: right;
  padding: 7px 21px;
}

.form_control_DropDownList {
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: 7px;
  display: block;
  height: 38px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  -o-transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
}

.table_main {
  border: 1px solid #38678f;
  box-shadow: inset 0px 1px 10px #568ebd;
}
.table_th {
  background: #e9eef5;
  text-shadow: 0 1px 0 #fdfcfa;
  color: black;
  border: 1px solid #38678f;
  box-shadow: inset 0px 1px 2px #568ebd;
  transition: all 0.2s;
}
.label_disp {
  border: 1px solid #38678f;
  background: #e9eef5;
  box-shadow: inset 0px 1px 5px #568ebd;
}
.two_col_input {
  margin-left: 5px;
  margin-bottom: 0px;
}
.form-control-new {
  display: block;
  margin-left: 7px;
  width: 100%;
  height: 37px;
  padding: 5px 8px;
  font-family: Arial;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  transition-property: border-color, box-shadow;
  transition-duration: 0.15s, 0.15s;
  transition-timing-function: ease-in-out, ease-in-out;
  transition-delay: initial, initial;
}

.form-control-new-receiptAdd {
  display: block;
  margin-left: 0px;
  width: 100%;
  height: 37px;
  padding: 2px 8px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  transition-property: border-color, box-shadow;
  transition-duration: 0.15s, 0.15s;
  transition-timing-function: ease-in-out, ease-in-out;
  transition-delay: initial, initial;
}

.form-control-new[disabled],
.form-control-new[readonly],
fieldset[disabled] .form-control-new {
  background-color: #eee;
  opacity: 1;
}
.form-control[disabled],
fieldset[disabled] .form-control-new {
  cursor: not-allowed;
}

.btn-danger-new {
  margin-top: 2px;
  margin-bottom: 5px;
  padding: 2px;
  width: 20px;
  height: 20px;
  background-color: #dbe4ef;
  background-image: linear-gradient(#e12b31, #f3686d 60%, , #b5191f);
  background-repeat: no-repeat;
  filter: none;
  border-bottom: 2px solid #9a161a;
  border-right: 2px solid #9a161a;
}

.btn-addnew {
  margin-top: 2px;
  margin-bottom: 5px;
  padding: 2px;
  width: 20px;
  height: 20px;
  background-color: #dbe4ef;
  background-image: linear-gradient(#e12b31, #f3686d 60%, , #b5191f);
  background-repeat: no-repeat;
  filter: none;
  border-bottom: 2px solid green;
  border-right: 2px solid green;
}

.control-label-new {
  text-align: right;
  margin-left: 7px;
  margin-bottom: 0;
  padding-top: 9px;
}
.form-group-new {
  margin-bottom: 8px;
}
.label-new {
  /* display: inline-block;*/
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
}
.space {
  margin: 20px 5px !important;
}

.form_control_DropDownList_popup {
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: 0px;
  display: block;
  height: 38px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  -o-transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
  transition:
    border-color ease-in-out 0.15s,
    box-shadow ease-in-out 0.15s;
}
.success-msg-ico {
  vertical-align: text-bottom;
  /*padding-top:20px;
	padding-right:10px;
	padding-bottom:10px;
	padding-top:30px;*/
  font-size: 45px;
}
.succ-msg-text {
  /*padding-bottom:40px; 
vertical-align: text-top;
*/
  margin-left: 20px;
  top: 15%;
  font-size: 24px;
}

.icon {
  position: relative;
  /* Adjust these values accordingly */
  top: 30px;
  left: 5px;
}
.Required-Field {
  color: red;
  padding-left: 5px;
  height: 35px;
  font-size: 9px;
}

.HelpTip {
  padding-left: 10px;
  color: #2fa4e7 /*#F99406*/;
  /*margin-left: 5px;*/
  height: 35px;
  font-size: 10px;
}
