.form-control { min-width: 150px; }
.date-picker { position: relative; }
.date-picker input { padding-right: 40px; }
.date-picker::after { content: '📅'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.card { 
	margin-bottom: 15px; 
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	border-radius: 0px;
} /* Card border style */

.card::before, .form-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, black, transparent);
}

.form-section {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0px;
  padding: 20px;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.form-section::before, .form-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, black, transparent);
}

.form-section::before {
  top: 0; /* Top border */
}

.form-section::after {
  bottom: 0; /* Bottom border */
}


.form-sectionIns {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.form-sectionIns::before, .form-sectionIns::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, black, transparent);
}

.form-sectionIns::before {
  top: 0; /* Top border */
}

.form-sectionIns::after {
  bottom: 0; /* Bottom border */
}



.form-sectionCon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, black, transparent);
}

.form-sectionCon {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0px;
  padding: 20px;
  margin-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
  top: 20px;
}

.form-sectionCon::before, .form-sectionCon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, black, transparent);
}

.form-sectionCon::before {
  top: 0; /* Top border */
}

.form-sectionCon::after {
  bottom: 0; /* Bottom border */
}



#preview {
	margin-top: 10px;
	max-width: 100%;
	max-height: 200px;
}

.upload-form {
display: flex;
flex-direction: column;
align-items: center;
}

.custom-file-upload {
display: inline-block;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
border: 2px solid #007bff;
background-color: #ffffff;
color: #007bff;
font-weight: bold;
transition: background-color 0.3s, border-color 0.3s;
text-align: center;
}

.custom-file-upload:hover {
background-color: #007bff;
color: white;
border-color: #0056b3;
}

input[type="file"] {
display: none; /* Hide the default file input */
}

.btn-primary {
margin-top: 15px;
padding: 10px 20px;
border-radius: 5px;
background-color: #007bff;
border: none;
color: white;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s;
}

.btn-primary:hover {
background-color: #0056b3;
}

.file-name {
	margin-top: 10px;
	font-weight: bold;
	color: #333; /* Adjust color as needed */
}


/* Table */

.table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
	border-radius: 12px; /* Softer rounded corners */
	overflow: hidden; /* Ensures corners are rounded properly */
	animation: fadeIn 1s ease-out; /* Fade-in animation for the table */
}

.table td {
	border: 1px solid #ddd; /* Light border for a clean look */
	padding: 14px 18px; /* Slightly more padding for better spacing */
	text-align: left;
	font-family: 'Arial', sans-serif;
	font-size: 16px; /* Adjusted font size */
	transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease; /* Smooth transitions */
	word-wrap: break-word; /* Prevents overflow of long words */
	white-space: normal; /* Ensures text wraps as needed */
}

.table thead th {
    background: #007bff;
    color: white;
    text-transform: capitalize;
    font-weight: bold;
    letter-spacing: 1px; /* Subtle letter spacing */
    transition: opacity 0.4s ease, transform 0.3s ease; /* Smooth transition for hover effect */
    animation: slideIn 0.5s ease-out; /* Animation for table header */
    text-align: left;
    word-wrap: break-word;
    white-space: normal; 
    padding: 12px 15px; /* Adding padding for spacing */
	
}

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

.table tr:nth-child(even) {
	background-color: #f9f9f9; /* Light gray for even rows */
	transition: background-color 0.3s ease, opacity 0.3s ease; /* Transition for rows */
}

.table tr:hover {
	background-color: #d3e2f2; /* Light blue-gray for row hover effect */
	transition: background-color 0.3s ease, opacity 0.3s ease; /* Smooth transition */
	opacity: 0.95; /* Slight opacity reduction for hover effect */
}

.table td {
	transition: background-color 0.3s ease, transform 0.3s ease; /* Transition for cell hover */
}

.table td:hover {
	background-color: #e9ecef; /* Light gray highlight on hover */
	opacity: 0.9; /* Smooth opacity effect */
	cursor: pointer; /* Indicates interactivity */
	transform: scale(1.05); /* Slight zoom effect on hover */
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes slideIn {
	0% {
		transform: translateY(-10px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.table th,
.table td {
	padding: 16px;
	font-size: 16px;
	word-wrap: break-word;
}

/* Medium screens */
@media (max-width: 768px) {
	.table th,
	.table td {
		padding: 3px;
		font-size: 14px;
	}
}

/* Small screens - compress content */
@media (max-width: 480px) {
	.table th,
	.table td {
		padding: 3px;
		font-size: 12px;
		word-break: break-word;
	}
	.table {
		table-layout: fixed; /* Forces columns to fit */
	}
}



/* table */



.toggle-button {
  background: none;
  border: none;
  color: black; /* Initial color */
  cursor: pointer;
  font-size: 18px;
  text-decoration: none; /* Remove underline */
  transition: all 0.3s ease; /* Smooth transition for all properties */
}

.toggle-button:hover {

  transform: scale(1.1); /* Slightly increase size */
}

.toggle-button:focus {
  outline: none; /* Remove outline when focused */
  text-shadow: 0 0 6px rgba(0, 123, 255, 1); /* Stronger visible text shadow when focused */
}



.arrow {
	margin-right: 5px; /* Space between arrow and text */
	font-size: 18px; /* Smaller size for the arrow */
	line-height: 1; /* Adjust line height for better vertical alignment */
}
.form-sectionFilter {
	border: 2px solid black; border-radius: 8px; padding: 20px; margin-bottom: 30px; background-color: rgba(255, 255, 255, 0.8);
}

.filter-formFilter {
	margin-bottom: 20px;
	padding: 10px;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.filter-formFilter label {
	font-weight: bold;
	margin-right: 5px;
	color: #333;
}

.filter-formFilter input[type="date"],
.filter-formFilter select {
	padding: 6px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.filter-formFilter input[type="submit"] {
	padding: 6px 10px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.filter-formFilter input[type="submit"]:hover {
	background-color: #0056b3;
}   








/* NAVBAR BASE */
.navbar {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    padding: 1rem 2rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.4s ease;
    position: relative;
    z-index: 1000;
}

/* BRAND */
.navbar .navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: #ffffff !important;
    letter-spacing: 1px;
}

/* NAV LINKS */
.navbar .nav-link {
    color: #f8f9fa !important;
    font-weight: 500;
    padding: 0.6rem 1rem;
    margin: 0 0.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* TOGGLER */
.navbar-toggler {
    border: none;
    padding: 0.3rem 0.6rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 22px;
    height: 2px;
    background-color: white;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: white;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* DROPDOWN MENU */
.dropdown-menu {
    background: rgba(0, 123, 255, 0.8);
    backdrop-filter: blur(12px);
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    padding: 0.5rem 0;
    animation: dropdownSlide 0.4s ease forwards;
    margin-top: 0.5rem;
    z-index: 9999;
}

/* DROPDOWN ANIMATION */
@keyframes dropdownSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* DROPDOWN ITEMS */
.dropdown-item {
    color: #fff !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-radius: 10px;
    padding-left: 2rem;
}

/* Make sure dropdown is above everything */
.nav-item.dropdown {
    position: relative;
}










.custom-btn {
	min-width: 10px; /* Set a minimum width */
	background-color: #007bff; /* Custom blue */
	border-color: #0056b3; /* Darker blue for the border */
	color: white;
}
.custom-btn:hover {
	background-color: #0056b3; 
	color: white;
	
}

.notification-banner {
    display: flex;
    align-items: center;  /* Vertically aligns the image and text */
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    position: relative;
}
.banner-success {
	color: #270;
	background-color: #DFF2BF;
	/* border-color: #388E3C; */
}
.banner-warning {
	color: #9F6000;
	background-color: #FEEFB3;
	/* border-color: #FFA000; */
}
.banner-error {
	color: #D8000C;
	background-color: #FFBABA;
	/* border-color: #D32F2F; */
}
.blinking-text {
	animation: blink 1s infinite; /* Blinking effect */
}
.banner-image {
    margin-right: 15px; /* Space between the image and message */
}

.banner-img {
    width: 50px;   /* Size of the image */
    height: 50px;  /* Size of the image */
    object-fit: cover;
    border-radius: 50%; /* Circular image */
}
@keyframes blink {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}
.close-btn {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: inherit;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 1;
}
.close-btn:hover {
	opacity: 0.7;
}


/* Modal styles */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0,0,0,0.8); /* Black background with opacity */
}

/* Modal content */
.modal-content {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
}

/* Caption text */
#caption {
text-align: center;
color: #ccc;
padding: 10px;
font-size: 20px;
}

/* Close button */
.close {
position: absolute;
top: 15px;
right: 35px;
color: #fff;
font-size: 40px;
font-weight: bold;
cursor: pointer;
}

.close:hover,
.close:focus {
color: #f1f1f1;
text-decoration: none;
cursor: pointer;
}

/* Close button */
.doneLockInclose {
position: absolute;
top: 15px;
right: 35px;
color: #fff;
font-size: 40px;
font-weight: bold;
cursor: pointer;
}

.doneLockInclose:hover,
.doneLockInclose:focus {
color: #f1f1f1;
text-decoration: none;
cursor: pointer;
}

/* Image thumbnail styles */
.image-thumbnail {
width: 50px; /* Thumbnail size */
height: auto;
cursor: pointer;
margin: 5px;


.profile {
width: 300px;
padding: 20px;
background-color: #f4f4f4;
border-radius: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
text-align: center;
}

/* Resize the profile image */
.profile img {
width: 20px;    /* Width of the image */
height: 20px;   /* Height of the image */
border-radius: 50%; /* Make it circular */
object-fit: cover; /* Ensures the image covers the area and keeps the aspect ratio */
margin-bottom: 15px;
}

.profile h2 {
font-size: 24px;
color: #333;
}

.profile p {
font-size: 16px;
color: #555;
}

.profile .social-links a {
margin: 0 10px;
text-decoration: none;
color: #555;
font-size: 20px;
}

.profile .social-links a:hover {
color: #007BFF;
}

}



/* Ensure the body is not overlapping the chat heads */
body {
	position: relative;
	margin-bottom: 50px; /* Prevent content from being hidden by taskbar */
	background-image: url('../img/bg.jpg');
	background-size: cover; /* Make the background cover the viewport */
	background-position: center; /* Center the image */
	background-repeat: no-repeat; /* Prevent image repetition */
	background-attachment: fixed; /* Ensure the background stays fixed while scrolling */
	height: 100%; /* Make sure the body takes full height of the page */
	margin: 0; /* Remove default margin */
}

/* Mobile View adjustments */
@media (max-width: 768px) {
  .chat-heads {
    left: 10px;   /* Adjust left positioning */
    bottom: 10px; /* Slightly move it up on mobile to avoid overlap */
    width: auto;  /* Ensure no extra space */
    flex-direction: column;  /* Ensure the chat heads stack vertically */
  }

  .chat-head {
    margin-bottom: 8px;  /* Reduce space between the heads on mobile */
  }

  .chat-head img {
    width: 40px;  /* Smaller image size on mobile */
    height: 40px; /* Maintain proportionate size */
  }
}


.login-logo {
	width: 150px; /* Adjust the size as needed */
	margin: 20px auto; /* Center the logo */
	display: block; /* Ensures it behaves as a block element */
	border: 2px solid #000; /* Optional: add a border for aesthetics */
	border-radius: 8px; /* Optional: rounded corners */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Optional: shadow for depth */
}
.form-section {
	background: rgba(255, 255, 255, 0.8);
	padding: 20px;
	border-radius: 8px;
	margin: 20px 0; /* Space between sections */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.readonly-input {
	background-color: gray !important; /* Light gray */
	color: #000; /* Black text */
	border: 1px solid #ced4da; /* Default border color */
	cursor: not-allowed; /* Show a not-allowed cursor */
}
.custom-btn {
	background-color: #28a745; /* Green color for approved */
	color: white; /* Text color */
	border: none; /* Remove border */
	cursor: pointer; /* Pointer cursor */
}
.custom-btn:hover {
	background-color: #218838; /* Darker green on hover */
}
/*input::placeholder {
	text-transform: none; /* Keeps placeholder text as is 
}
input {
	text-transform: uppercase; /* Capitalizes user input 
}*/	

.custom-btn-blue {
	background-color: #007bff; 
	color: white; /* Text color */
	border: none; /* Remove border */
	cursor: pointer; /* Pointer cursor */
}
.custom-btn-blue:hover {
	background-color: ##f1f1f1; /* Darker green on hover */
}

@media (max-width: 932px) {
	.table th, .table td {
		padding: 3px; /* Adjust padding for smaller screens */
		font-size: 10px; /* Adjust font size for better readability */
		
	}
	 .btn {
		padding: 6px 12px; /* Even smaller padding */
		font-size: 10px; /* Further reduced font size */
	}
}

/* Mobile-responsive styles */
@media (max-width: 768px) {
    ul {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
        gap: 1rem;
    }

    li {
        height: auto; /* Let the height adjust automatically */
        font-size: 0.9rem; /* Adjust font size */
    }

    li time {
        font-size: 1.5rem; /* Smaller time font size for mobile */
    }

    .new-button {
		right: 25px;
        font-size: 0.7rem; /* Adjust button font size for medium screens */
        padding: 0.2rem 0.6rem; /* Adjust button padding */
    }
}

/* Small screens (Mobile) */
@media (max-width: 480px) {
    ul {
        grid-template-columns: 1fr; /* 1 column for small screens */
        gap: 1rem;
    }

    li {
        height: auto; /* Let the height adjust automatically */
        font-size: 0.8rem; /* Smaller font size */
    }

    li time {
        font-size: 1.2rem; /* Smaller time font size for small screens */
    }

    .new-button {
		right: 25px;
        font-size: 0.7rem; /* Smaller button font size for small screens */
        padding: 0.2rem 0.5rem; /* Adjust button padding */
    }
}



/* pop up form */

/* Style the popup form container */
.popup-form {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Overlay background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

.popup-content h2 {
    margin-bottom: 20px;
}

.popup-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.popup-content button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.save-btn {
    background-color: #007bff;
    color: white;
}

.save-btn:hover {
    background-color: #0056b3;
}

.cancel-btn {
    background-color: #f44336;
    color: white;
}

.cancel-btn:hover {
    background-color: #e60000;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}
.file-upload-container {
	position: relative;
	display: inline-block;
	font-family: Arial, sans-serif;
}

/* Hide the default file input */
#file {
	display: none;
}

/* Custom button styling */
.file-upload-btn {
	padding: 10px 20px;
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	text-align: center;
	display: inline-block;
}

/* Hover effect for the custom button */
.file-upload-btn:hover {
	background-color: #45a049;
}

/* Custom styling for file name display */
.file-upload-container input[type="file"]:valid ~ .file-upload-btn::after {
	content: " File Selected";
	font-style: italic;
	color: #3c763d;
}


/* posting */
/* Centering the upload count */\

.upload-count {
    margin-right: 20px; /* Space between the upload count and the images */
}

/* Container that holds all images */
.image-display-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of images to the next line if needed */
    gap: 2px; /* Optional: adds space between images */
}

/* Container for each individual image */
.image-container {
    position: relative; /* This ensures that the delete button can be absolutely positioned */
    display: inline-block; /* Makes the container inline for side-by-side layout */
    width: 100px; /* Set a fixed width for images */
    height: auto; /* Allow height to adjust based on the image size */
}

/* Style for the image itself */
.image-thumbnail {
	width: 50px; /* Adjust the size of the image */
    height: 50px; /* Ensure it's square */
    border-radius: 50%; /* Circle the image */
    object-fit: cover; /* Ensure the image covers the area and is cropped if necessary */
}

/* Delete button styling */
.delete-btn-post {
    position: absolute; /* Position it relative to the .image-container */
    top: 10px; /* Distance from the top of the container */
    right: 10px; /* Distance from the right of the container */
    border: none;
    color: red;
    font-size: 24px; /* Make the × icon large */
    padding: 5px;
    cursor: pointer;
    border-radius: 50%; /* Makes the button round */
    opacity: 0.7; /* Slight transparency */

}

/* Hover effect on the delete button */
.delete-btn-post:hover {
    opacity: 1; /* Full opacity on hover */
}

/* Styling for the × inside the delete button */
.delete-icon {
    font-size: 20px; /* Adjust the size of the × */
}

/* Modal */
.modal-content {
	background-color: #f8f9fa;
}
.gallery img {
	width: 100%;
	height: auto;
	padding: 5px;
	border-radius: 5px;
	transition: transform 0.3s;
}
.gallery img:hover {
	transform: scale(1.05);
}


.buttonR {
  --color: #007bff;
  background-color: transparent;
  border-radius: .3em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: .5s;
  font-weight: 400;
  font-size: 10px;
  padding: 10px 20px; /* Adjusted padding */
  border: 1px solid;
  font-family: inherit;
  text-transform: uppercase;
  color: var(--color);
  z-index: 1;
  width: 80px; 
  height: 35px; 
  margin-left: 20px;'
}

.buttonR::before, .buttonR::after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--color);
  transition: 1s ease;
}

.buttonR::before {
  top: -1em;
  left: -1em;
}

.buttonR::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
}

.buttonR:hover::before, .buttonR:hover::after {
  height: 410px;
  width: 410px;
}

.buttonR:hover {
  color: #fff;
}

.buttonR:active {
  filter: brightness(.8);
}

/* Responsive Design */
@media (max-width: 932px) {
  .buttonR {
    font-size: 14px; /* Smaller font size for smaller screens */
    padding: 8px 15px; /* Smaller padding */
	width: 50px; 
	height: 20px; 
  }

  .buttonR::before, .buttonR::after {
    width: 40px; /* Smaller pseudo-elements */
    height: 40px;
  }

  .buttonR:hover::before, .buttonR:hover::after {
    height: 250px; /* Adjust the size of pseudo-elements */
    width: 250px;
  }
}

@media (max-width: 768px) {
  .buttonR {
    font-size: 14px; /* Smaller font size for smaller screens */
    padding: 8px 15px; /* Smaller padding */
    width: auto; /* Keep the button width dynamic */
    height: auto; /* Keep height dynamic */
  }

  .buttonR::before, .buttonR::after {
    width: 35px; /* Even smaller pseudo-elements */
    height: 35px;
  }

  .buttonR:hover::before, .buttonR:hover::after {
    height: 200px; /* Adjust the size of pseudo-elements */
    width: 200px;
  }
}

@media (max-width: 480px) {
  .buttonR {
    font-size: 12px; /* Even smaller font size */
    padding: 6px 12px; /* Smaller padding */
    width: auto; /* Keep the button width dynamic */
    height: auto; /* Keep height dynamic */
  }

  .buttonR::before, .buttonR::after {
    width: 30px; /* Further reduce size of pseudo-elements */
    height: 30px;
  }

  .buttonR:hover::before, .buttonR:hover::after {
    height: 150px; /* Adjust pseudo-element size further */
    width: 150px;
  }
}





/* Image Modal */
/* Modal styling */
/* Modal */
.modalR {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.7); /* Black with opacity */
}

/* Modal content */
.modalR-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%; /* Adjust width */
    position: relative; /* Ensures content stays in place */
    pointer-events: auto; /* Ensure it is interactive */
}


/* Close button */
.closeR-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.closeR-btn:hover,
.closeR-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Gallery styling */
.galleryR {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Center images horizontally */
    align-items: center; /* Center images vertically */
	max-height: 300px; /* Adjust the height as needed */
	overflow-y: auto; /* Enables vertical scrolling */
	padding-right: 10px; /* Optional: adds space for the scrollbar */
}



.galleryR-image {
    width: 100px;  /* Adjust size */
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
	
	/* Beautiful border */
    border: 2px solid #ddd;  /* Light gray border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Soft shadow for depth */
}

.galleryR-image:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
	.galleryR {
		max-height: 550px; /* Reduce height for smaller screens */
		padding-right: 5px; /* Less padding for smaller screens */
	}
}

@media (max-width: 480px) {
	.galleryR {
		max-height: 500px; /* Reduce height further for very small screens */
		padding-right: 0; /* No extra space for the scrollbar */
	}
}

/* Make each item inside gallery responsive */
.galleryR > * {
	flex-basis: calc(33.33% - 10px); /* Default: 3 items per row */
}

@media (max-width: 768px) {
	.galleryR > * {
		flex-basis: calc(50% - 10px); /* 2 items per row on smaller screens */
	}
}

@media (max-width: 480px) {
	.galleryR > * {
		flex-basis: 100%; /* 1 item per row on very small screens */
	}
}

/* Fancy New button  */

/* From Uiverse.io by NomNomcats */ 
.button10 {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #ffffff;
  padding: 0.8em 2em;
  cursor: pointer;
  font-size: 16px;
  border-radius: 0.5em;
  background: #007bff;
  border: 2px solid rgba(0, 0, 0, 0.2); /* Faded black border */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);  /* Gray shadow */
  width: 100%;
}

.button10:active {
  color: #ffffff;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}

.button10:before,
.button10:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
  transform: scale(0);
  transition: transform 0.5s;
  border-radius: inherit;
}

.button10:before {
  transition-delay: 0s;
}

.button10:after {
  transition-delay: 0.25s;
}

.button10:hover:before,
.button10:hover:after {
  transform: scale(1.2);
}

/* Simple Loading Spinner */
.loading-spinner {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.loading-spinner p {
    margin: 0;
    font-size: 20px;
    color: #555;
}

.loading-spinner:before {
    content: "";
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

/* Animation for spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.footer {
	text-align: center;
	margin-top: 30px;
	font-size: 12px;
	color: #aaa;
}

#descriptionContent {
    font-size: 16px;
    line-height: 1.5;
}


/* Modal IR */
.modalIr {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* High value to stay on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.6));
    backdrop-filter: blur(4px); /* Soft blur behind modal */
    padding-top: 60px;
}

.modal-contentIr {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInScale 0.4s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-actionsIr {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}
.modal-btnIr {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #2196f3, #64b5f6); /* Blue gradient */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.modal-btnIr:hover {
    background: linear-gradient(135deg, #1976d2, #42a5f5); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


/* Modal Sales */
.modalSales {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* High value to stay on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.6));
    backdrop-filter: blur(4px); /* Soft blur behind modal */
    padding-top: 60px;
}

.modal-contentSales {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInScale 0.4s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-actionsSales {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}
.modal-btnSales {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #2196f3, #64b5f6); /* Blue gradient */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: inline-block; /* Ensures the button respects its content's width */
}

.modal-btnSales:hover {
    background: linear-gradient(135deg, #1976d2, #42a5f5); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-btnSales {
        padding: 10px 20px; /* Smaller padding on smaller screens */
        font-size: 9px; /* Adjust font size */
    }
}

@media (max-width: 480px) {
    .modal-btnSales {
        padding: 8px 16px; /* Even smaller padding */
        font-size: 7px; /* Adjust font size for mobile screens */
        width: 100%; /* Make the button full width on very small screens */
    }
}

.modal-btnSales-red {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #f44336, #e57373); /* Red gradient */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: inline-block; /* Ensures the button respects its content's width */
}

.modal-btnSales-red:hover {
    background: linear-gradient(135deg, #d32f2f, #ef5350); /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-btnSales-red {
        padding: 10px 20px; /* Smaller padding on smaller screens */
        font-size: 9px; /* Adjust font size */
    }
}

@media (max-width: 480px) {
    .modal-btnSales-red {
        padding: 8px 16px; /* Even smaller padding */
        font-size: 7px; /* Adjust font size for mobile screens */
        width: 100%; /* Make the button full width on very small screens */
    }
}







.delete-btn {
    background-color: #e74c3c;
    color: white;
}

.delete-btn:hover {
    background-color: #c0392b;
}

.accept-btn {
    background-color: #2ecc71;
    color: white;
}

.accept-btn:hover {
    background-color: #27ae60;
}

/* Close Button Styles */
.close-btnIr {
    background-color: #bdc3c7;
    color: white;
}

.close-btnIr:hover {
    background-color: #95a5a6;
}

#goTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #007bff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#goTopBtn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

#goTopBtn i {
  pointer-events: none;
}

/* Modal background */
.modalAbout {
  display: none;
  position: fixed;
  z-index: 99999; /* Very high to be on top */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
  overflow: auto;
}

/* Modal Content */
.modalAbout-content {
  background: #ffffff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease;
  position: relative;
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide Up Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Close Button */
.closeAbout {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

.closeAbout:hover{
	color: #444;
}
.closeAbout:focus {
  color: black;
  text-decoration: none;
}

.modalAbout-content h2 {
  margin-top: 0;
  font-size: 26px;
  color: #333;
}

.modalAbout-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}



/* Loader wrapper */
#loader-wrapper {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Hide animation */
#loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Spinner */
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

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

/* Loader image */
.loader-img {
  width: 300px;
  height: auto;
  animation: heartbeat 1.5s infinite ease-in-out;
  max-width: 80vw;
}

/* Text styling */
.loader-text {
  margin-top: 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: #444;
}

.loader-text h2 {
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  animation: fadeIn 1.2s ease forwards;
}

.loader-text p {
  font-size: 16px;
  color: #555;
  animation: fadeIn 1.6s ease forwards;
}

/* Animation keyframes */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .loader-text h2 {
    font-size: 20px;
  }

  .loader-text p {
    font-size: 14px;
  }

  .loader-img {
    width: 180px;
  }
}


