/*.required:after {
	content: " *";
	color: red;
	font-size: 13px;
	font-weight: 900;
}

.error label {
    font-size: 11px;
    color: #CC0000;
}

.backdiv {
	padding-right: 15px;
    padding-left: 15px;
    padding-top: 5px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0px 6px 12px rgba(0,0,0,0.175);
    background-clip: padding-box;
}

   For Spinner Loading   

.custom-spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}*/


.form-group {
    margin-bottom: 1rem; 
    position: relative;
}

.form-group label {
    font-weight: 300;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
    color: #000; /* default color, change if needed */
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.7); /* light transparent */
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

/* Error message styling */
.error .form-control {
    border-color: #CC0000;
}

.error label {
    color: #CC0000;
    font-size: 0.875rem;
}

/*.form-control.is-invalid {
    background-image: none !important;
}*/

/* Success style (optional) */
.success .form-control {
    border-color: #28a745;
}

form .error-message {
    font-size: 0.75rem;
    color: #CC0000;
    position: absolute;
    bottom: -18px; /* fixed position below input */
    left: 0;
}


/* Buttons */
.d-grid button {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}


/*For Spinner Loading   */

.custom-spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


	/*Card Hover Effect*/

#card {
	transition: transform 0.3s ease, box-shadow 0.5s ease;
	will-change: box-shadow;
	overflow: hidden;
}

#card:hover {
	transform: scale(1.01);
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

/* Custom required class */
.required::after {
    content: " *";
    color: red;
}


	/*For Button Effect*/

#button {
	transition: transform 0.3s ease, box-shadow 0.5s ease;
	will-change: box-shadow;
	overflow: hidden;
	height: 40px;
}


#button:hover {
	transform: scale(1.02);
	box-shadow: 0 13px 13px rgba(0, 0, 0, 0.1);
	height: 40px;
}


.toast-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: #333;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  opacity: 0.95;
  z-index: 9999;
  font-size: 14px;
  text-align: center;
}


.form-select {
    height: calc(2.25rem + 2px) !important;  
    padding: 0.375rem 0.75rem !important;    
    font-size: 0.9rem;
}

/*.toast-message {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 250px;
  background: #333;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  opacity: 0.95;
  z-index: 9999;
  font-size: 14px;
}*/
.toast-message.success { background: #28a745; }
.toast-message.error   { background: #dc3545; }
.toast-message.warning { background: #ffc107; color:#000; }
.toast-message.info    { background: #17a2b8; }




/* For Bootstrap Validations */

/*td {
    position: relative;
    overflow: visible !important;
}
*/
td .text-danger {
    display: block !important;
    position: absolute;
    left: 5;
    font-size: 12px;
    color: red;
}



/* Autocomplete dropdown */
.ui-autocomplete {
    position: absolute;
    z-index: 9999 !important;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Each item */
.ui-menu-item {
    list-style: none;
}

/* Item content */
.ui-menu-item-wrapper {
    padding: 8px 10px;
    font-size: 14px;
}

/* Hover / active */
.ui-state-active,
.ui-menu-item-wrapper.ui-state-active {
    background: #0d6efd !important;
    color: #fff !important;
    border: none !important;
}


/**********************For Readonly Color ***********************/

input[readonly],
textarea[readonly],
select[readonly] {
    background-color: #e9ecef !important;
/*    cursor: not-allowed;*/
}



.ui-autocomplete {
    position: absolute !important;
    max-height: 220px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
   /* width: 20% !important;*/
    /*max-width: 30% !important;*/
    box-sizing: border-box;
    z-index: 9999;
}


/* End Of Bootstrap Validations */


