/* Input Group Adjustments */
.blogo {
    width: 30%;
    display: flex;
}

.blogo img {
   max-width: 100%;
   height: auto;
}

.navbar-toggler-icon{
	background-color: #848386;
}

.container h1 {
	  color: #EA0028;
	   text-transform: uppercase;
}
.form-reg {
	display: inline-flex;
	width: 80%;
	text-align: center;
	margin: 20px 170px;
}
.input-group {
	display: flex;
	align-items: center;
	gap: 10px;
}
.input-group .form-control {
	flex: 1;
}
.input-group .input-group-text {
	background: none;
	border: none;
	cursor: pointer;
}

.form-group {
  position: relative;
  margin-top: 20px;
}

.form-control, .form-select,.form-control:focus, .form-select:focus {
	background-color: #fff;
	
}

.wform-input, .wform-select {
  width: 100%;
  padding: 10px;
  padding-top: 10px; /* Space for label */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  min-height: 3.5rem;
}

.wform-select:focus ~ label,
.wform-select:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  color: #007bff;
}

textarea {
  resize: vertical; /* Allows vertical resizing only */
}

.txtarea label {
  position: absolute;
  top: 5px;
  left: 10px;
}

.wform-label {
  position: absolute;
  top: 15px;
  left: 10px;
  transition: 0.2s ease all;
  pointer-events: none;
  background: white;
  padding: 0 4px;
  font-size: 16px;
}

.searh-form label {
	position: absolute;
	top: 15px;
	left: 18px;
	transition: 0.2s ease all;
	pointer-events: none;
	background: white;
	padding: 0 4px;
	font-size: 16px;
	width:140px;
}

input:focus ~ label,
input:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 15px;
  font-size: 12px;
  color: #007bff;
}

textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 20px;
  font-size: 12px;
  color: #007bff;
}


/* Custom button for file upload */
.btn-upload {
    background-color: #fff;
    color: #7B7B7B;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    display: inline-flex; /* Align items inline and center them */
    align-items: center; /* Vertically center the text and icon */
    justify-content: center; /* Center text and icon horizontally */
    position: relative; /* Position relative to handle spacing */
}

/* Center text within button */
.btn-text {
    margin-right: 8px;
    width: 90%; /* Space between text and icon */
}

/* Position icon to the right of the button text */
.btn-upload i {
    font-size: 18px; /* Size of the icon */
}

/* Button hover effect */
.btn-upload:hover {
    background-color: #fff;
    border: 1px solid grey;
}

/* Hidden file input */
.form-control-file {
    display: none;
}

/*CSS for update loader image*/
.loader {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  padding: 4px;
  opacity: 1;
  border-radius: 7px;
  background-color: transparent;
  background-image: url(images/ajx-loader.gif) !important;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 100%;
}

.modal-dialog-centered {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100% - 1.75rem);
}

.sloader {
        border: 16px solid #f3f3f3;
        border-radius: 50%;
        border-top: 16px solid #3498db;
        width: 120px;
        height: 120px;
        animation: spin 2s linear infinite;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
    }
/*CSS for update loader image*/



button.rbutton {
 width:100%;
 background-color: #111827 !important;
 color:white;
 height: 3rem;
}

.export, .export:hover{
	margin: 20px 0;
    text-align: right;
    display: inline-block;
    float: right;
    background-color: #111827 !important;
    text-decoration:none;
}

 .nav-link,.nav-link:hover, .nav-link:focus,.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
	color:#fff !important;
}

.nav-item {
	font-size: 20px;
    margin-right: 20px;
}

.rounded-button {
  padding: 10px 20px;
  border-radius: 10px; /* Adjust the radius as needed */
  background-color: #007bff; /* Primary color */
  color: white;
}

.rounded-button:hover {
  background-color: #111827; /* Darker shade for hover effect */
}

.rounded-button:focus {
  outline: none; /* Remove default focus outline */
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5); /* Custom focus outline */
}

/* Pagination styles */
.pagination {
	display: flex;
	justify-content: center;
	list-style-type: none;
	padding: 0;
}

.pagination li {
	margin: 0 5px;
}

.pagination a, .pagination span {
	display: block;
	padding: 10px 15px;
	background: #007bff;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s;
}

.pagination a:hover {
	background-color: #0056b3;
}

.pagination .active span {
	background-color: #0056b3;
	pointer-events: none;
}

.pagination .disabled span {
	background-color: #cccccc;
	pointer-events: none;
	color: #666666;
}

.card {
	background-color: #ffffff !important;
}

#product-suggestions {
    position: absolute;
    z-index: 999;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    cursor: pointer;
}




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


/* Base table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1rem;
    text-align: left;
}

th, td {
    padding: 0.75rem;
    border: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.eye-button {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
	padding: 0;
	margin-left: 5px;
}

/* General checkbox container */
.form-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Hide default checkbox */
.form-check input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

/* Custom checkbox design */
.form-check .form-check-label {
    position: relative;
    padding-left: 30px; /* Space for the custom checkbox */
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

/* Custom checkbox background */
.form-check .form-check-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    background: #f8f9fa; /* Light gray */
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

/* Custom checkbox checkmark */
.form-check input[type="checkbox"]:checked + .form-check-label::before {
    background-color: #007bff; /* Blue when checked */
    border-color: #007bff;
}

/* Checkmark inside checkbox */
.form-check input[type="checkbox"]:checked + .form-check-label::after {
    content: "\2713"; /* Unicode checkmark */
    position: absolute;
    left: 5px;
    top: 1px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

/* Hover effect */
.form-check:hover .form-check-label::before {
    border-color: #007bff;
}

/* Focus effect */
.form-chec


/* Responsive table for small screens */
@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 1rem;
        display: block;
        border-bottom: 2px solid #ddd;
    }

    td {
        display: flex;
        justify-content: space-between;
        padding-left: 50%;
        position: relative;
        text-align: right;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 1rem;
        font-weight: bold;
        text-align: left;
        background-color: #f4f4f4;
    }
}


@media only screen and (min-width: 600px) {
	.form-reg {
		display: inline-flex;
		width: 100%;
		text-align: unset;
		margin: 0;
	}
}

@media only screen and (min-width: 992px) {
	.form-reg {
		display: inline-flex;
		width: 95%;
		text-align: unset;
		margin: 0;
	}
	
	
}

@media only screen and (max-width: 1200px) {
	.form-reg {
		display: inline-flex;
		width: 90%;
		text-align: unset;
		margin: 0 40px;
	}
	
	
}


@media only screen and (min-width: 600px) and (max-width: 1041px) {
    .navbar-expand-md .navbar-collapse {
        display: none !important;
    }
    
    .navbar-toggler-icon {
		display: inline-block;
    }
    
   .navbar-expand-md .navbar-toggler {
        display: inline-block;
    }
    
     .navbar-expand-md .navbar-collapse.collapse.show {
        display: inline-block !important;
    }
    

    .navbar-expand .navbar-toggler {
        display: inline-block;
    }

    .navbar-expand .navbar-collapse.collapse.show {
        display: inline-block !important;
    }
    
    .blogo img {
		height: auto;
		max-height: 45px;
	}
	.container-md, .container-sm, .container {
        max-width: 100%;
    }
}

@media only screen and (max-width: 768px) {
	.navbar-collapse {
		margin-top:15px;
	}
	.nav-item {font-size:14px;}
	.blogo img {
	   max-height: 45px;
	   height: auto;
	}
	
	.col-md-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	.form-reg {
		display: inline-flex;
		width: 100%;
		text-align: unset;
		margin: 0;
	}
}

@media (max-width: 1041px) {
    .navbar-expand .navbar-collapse {
        display: none !important;
    }

    .navbar-expand .navbar-toggler {
        display: block;
    }

    .navbar-expand .navbar-collapse.collapse.show {
        display: block !important;
    }
}

@media (min-width: 1042px) {
    .navbar-expand .navbar-collapse {
        display: flex !important;
    }

    .navbar-expand .navbar-toggler {
        display: none;
    }
}

* Media Queries for Responsive Loader */
@media (max-width: 1200px) {
  .loader {
    width: 80px;
    height: 80px;
    margin-top: -40px; /* Half of the height */
    margin-left: -40px; /* Half of the width */
  }
}

@media (max-width: 992px) {
  .loader {
    width: 60px;
    height: 60px;
    margin-top: -30px; /* Half of the height */
    margin-left: -30px; /* Half of the width */
  }
}

@media (max-width: 768px) {
  .loader {
    width: 50px;
    height: 50px;
    margin-top: -25px; /* Half of the height */
    margin-left: -25px; /* Half of the width */
  }
}

@media (max-width: 576px) {
  .loader {
    width: 40px;
    height: 40px;
    margin-top: -20px; /* Half of the height */
    margin-left: -20px; /* Half of the width */
  }
}

