/* General styles */

@font-face {
  font-family: 'GoudyTrajan'; /* Choose a name for your font */
  src: local('GoudyTrajan'), /* Check if the user has the font installed locally */
       url('../fonts/GoudyTrajan.woff2') format('woff2'), /* Path to your WOFF2 font file */
       url('../fonts/GoudyTrajan.woff') format('woff'); /* Path to your WOFF font file as a fallback */
  font-style: normal;
  font-display: swap; /* Helps control font loading behavior */
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #333;
    line-height: 1.6;
	margin: 0px;
	height: 100%;
	background: linear-gradient(90deg, rgba(254, 249, 195, 0.5) 0%, rgba(255, 255, 255, 1) 50%, rgba(233, 213, 255, 0.35) 100%);
}


.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-group {
	position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}


/* Hero section */
.hero {
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #006837;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2f855a;
}

.btn-add-item {
    background: #83ab37;
    color: #fff !important;
	display: inline-block;
    padding: 5px 10px;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background 0.3s 
ease;
    border: none;
}

.btn-remove-item {
    background: #dc4635;
    color: #fff !important;
	display: inline-block;
    padding: 5px 10px;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background 0.3s 
ease;
    border: none;
}    

/* Services */
.services {
    padding: 50px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition-duration: 500ms;
    transition-property: all;
    transition-timing-function: 
cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card {
	background-color: white;
    transition-duration: 500ms;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card img.cover-image {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 4px;
        margin-bottom: 15px;
}
.service-card h4 {
	margin-top: 0;
}
.service-card ul {
	padding-left: 20px;
}
.service-card .book-button {
	margin-top: auto;
	background-color: #006837;
	color: white;
	padding: 10px;
	text-align: center;
	border-radius: 5px;
	text-decoration: none;
}

span.price_range {
    font-weight: 700;
    color: green;
    font-size: larger;
    padding-left: 10px;
}

i.far.fa-clock {
    color: green;
	padding-right: 10px;
}

i.fas.fa-arrow-right {
    font-size: small;
	padding-left: 5px;
}

ul.service_more_info {
    --icon-space: 1.3em;
    list-style: none;
    padding: 0;
}

ul.service_more_info li {
    padding-left: var(--icon-space);
	font-size: smaller;
}

ul.service_more_info li:before {
    content: "\f00c";
    font-family: FontAwesome;
    display: inline-block;
    margin-left: calc(var(--icon-space) * -1);
    width: var(--icon-space);
    color: green;
    font-weight: 400;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
    margin-top: 0;
    color: #38a169;
}

.card ion-icon.md.hydrated {
    color: #c1a409;
}

/* Booking form */
.booking-form {
    background: #f7fafc;
    padding: 50px 0;
}

.booking-form form {
    width: 50%;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* My Bookings */
.my-bookings {
    padding: 50px 0;
}

.my-bookings h2 {
    text-align: center;
    margin-bottom: 40px;
}

.my-bookings table {
    width: 100%;
    border-collapse: collapse;
}

.my-bookings th,
.my-bookings td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.my-bookings th {
    background: #f7fafc;
}

a.action-link.me-3.text-purple {
    color: #a54ca1;
    text-decoration: none;
}

/* Admin Panel */
.admin-panel {
    display: flex;
}

.sidebar {
	overflow-y: scroll;
    width: 260px;
    background: #fafafa;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 20px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
	z-index: 9999;
}

.main-content {
    margin-left: 260px; /* Adjust for fixed sidebar */
	padding: 0px 30px 0px 30px;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.company-logo {
    max-width: 200px;
    margin-bottom: -5px;
}
::-webkit-scrollbar {
    display: none;
}

.pdf-viewer-container {
	display: flex;
	/* max-height: 800px; */
}
.pdf-viewer-header {
    display: flex;
    margin-bottom: 5px;
    flex-direction: column;
}
.pdf-viewer-actions {
    position: fixed;
    display: flex;
    background-color: #fff;
    padding: 10px 10px;
    flex-direction: column;
    align-items: center;
    top: 20%;
	margin-left: -40px;
}
.pdf-viewer-content {
	flex-grow: 1;
	border: 1px solid #ccc;
	border-radius: 5px;
	overflow: hidden;
}
.pdf-viewer-content iframe {
	width: 100%;
	height: 700px;
}

.download-link i.fas.fa-download {
    font-size: xx-large;
}

.print-link i.fas.fa-print {
    font-size: xx-large;
}

.sidebar h2 {
	font-family: "GoudyTrajan";
    text-align: center;
    margin-bottom: 8px; /* Adjusted margin */
	margin-top: 20px;
    font-size: 23px;
    font-weight: 900;
	color: green;
}

.sidebar p {
    text-align: center;
    font-size: 0.9rem;
    color: #a0aec0; /* Lighter color for description */
    margin-top: 0;
    margin-bottom: 20px;
	color: darkolivegreen;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
}

.sidebar nav li {
    margin-bottom: 5px;
}

.sidebar nav a {
    color: #3e3e45;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.sidebar nav a:hover {
    background: #e2f7d4;
}

.sidebar nav li.active a {
	background: #bedeb4;
}

.main-content {
    flex: 1;
}

.sidebar ion-icon.md.hydrated {
    font-size: larger;
    vertical-align: middle;
    padding-right: 10px;
}


/* Header */
header {
    background: #fff;
	margin-left: 260px;
    padding: 20px 30px 20px 30px;
	display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 20px 0 rgba(0, 0, 0, 0.19);
    position: sticky;
    top: 0;
    z-index: 999;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    color: #38a169;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-left: 20px;
}

header nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.header-right {
    display: flex;
    align-items: center;
}

.notifications {
    position: relative;
    margin-right: 20px;
}

.notifications .fa-bell {
    font-size: 2.0rem;
    cursor: pointer;
    padding-right: 20px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: 15px; /* Adjusted to align with padding */
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
}

.notifications-dropdown {
    position: absolute;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: max-content;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: unset;
}


.notifications-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.notifications-dropdown a:hover {
    background: #f7fafc;
}

.user-info {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-info span {
    margin-left: 5px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 0px;
    object-fit: fill;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 150px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.user-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.user-dropdown a:hover {
    background: #f7fafc;
}

/* Booking Card Styles */
.booking-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.booking-card .card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 1rem 1.5rem;
}

.booking-card .card-title {
    font-weight: 600;
}

.booking-card .card-body {
    padding: 1.5rem;
}

.booking-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.booking-detail i {
    font-size: 1.3rem;
    color: #006837; /* Main green color */
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.booking-detail div {
    line-height: 1.4;
}

.special-instructions {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 1rem;
    border-left: 5px solid #006837;
}

.booking-card .card-footer {
    background-color: #fff;
    border-top: 1px solid #f1f1f1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 1rem 1.5rem;
}

.status-badge {
    padding: 1em 1em;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    color: #fff;
}

/* Status-specific colors */
.status-completed { background-color: #28a745; }
.status-pending { background-color: #6c757d; }
.status-assigned { background-color: #ffde07; color: #212529 !important; }
.status-in-progress { background-color: #7700ff; }
.status-on-my-way { background-color: #17a2b8; }
.status-cancelled { background-color: #dc3545; }
.status-rejected { background-color: #fd7e14; }


.notification-item.unread {
    background-color: #f0f4f8; /* Light gray-blue for unread */
}

.notification-item.read {
    background-color: #fff; /* White for read */
}

.notification-item a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    width: 100%;
}

.notification-item.unread a {
    font-weight: bold;
}

.notification-item:hover {
    background-color: #e2e8f0; /* Slightly darker on hover */
}

/* Dashboard Content Area */
.content-area {
    padding-bottom: 30px;
	padding-top: 30px;
}

.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
	background: white;
}

.content-area th,
.content-area td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.content-area th {
    background: #f7fafc;
}

.action-link {
    color: #006837;
    text-decoration: none;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
}

.show {
    display: block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    border-radius: 5px;
    position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
select.role-selector {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* border: 1px solid; */
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}

/* --- Button Styles --- */
.btn {
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #006837;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.btn:hover {
    background-color: #45a049;
}


.btn-cancel {
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 16px;
    background: #e53e3e;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
	border: none;
	cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-cancel:hover {
    background: #c53030;
}
.logout-btn {
    display: inline-block;
    width: auto;
    margin-top: 20px;
    background-color: #d32f2f;
}
.logout-btn:hover {
    background-color: #c62828;
}

.file-upload-preview {
    margin: 20px auto 0 auto;
}

.file-upload-wrapper input[type=file] {
    height: 100%;
}

input::file-selector-button {
    cursor: pointer;
}

/* --- Table Styles --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}

.no-wrap {
    white-space: nowrap;
}

input[type="checkbox"] {
    position: relative;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
	margin-right: 0.5em;
    max-width: 20px;
}

.form-switch .form-check-input {
    max-width: 60px !important;
    width: 40px !important;
    margin-left: -2.5em !important;
    margin-right: 0.5em !important;
}

.action-link ion-icon.md.hydrated {
    
}

.highlight-booking {
	animation: highlight 2s ease-out;
}
@keyframes highlight {
	0% { background-color: rgba(0, 104, 55, 0.3); }
	100% { background-color: transparent; }
}

.clear-filter-btn {
    display: inline-block;
    padding: 10px 15px;
    margin-bottom: 20px;
    background-color: #229ec1;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
}

.clear-filter-btn:hover {
	background-color: #3ebfac;
	color: white;
}

.home-container {
	font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	color: #333;
}

.services-section {
	padding-top: 30px;
	padding-bottom: 30px;
}

.hero-section {
	padding: 4rem 2rem;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.hero-text {
	max-width: 50%;
}
.hero-text .badge {
	background-color: #f3eb3247;
	color: #854d0e;
	padding: 0.7rem 1rem;
	border-radius: 50px;
	font-size: medium;
	font-weight: 600;
}
.hero-text h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-top: 1rem;
}
.hero-text h1 span {
	color: #006837;
}
.hero-text p {
	font-size: 1.1rem;
	color: #6c757d;
	margin: 1.5rem 0;
}
.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}
.hero-buttons .btn-success {
	background-color: #006837;
	border: none;
	padding: 0.8rem 2rem;
	border-radius: 15px;
}
.hero-buttons .btn-outline-secondary {
	padding: 0.8rem 2rem;
	border-radius: 15px;
	border-color: #198754;
    color: #000000!important;
    background-color: #ccc;
}

.hero-buttons .btn-outline-secondary:hover {
    border-color: #198754;
    color: #fff!important;
    background-color: #6c757d;
}

.hero-image {
	max-width: 500px;
	position: relative;
}
.hero-image img {
	width: 100%;
	border-radius: 15px;
}
.rating-box {
	position: absolute;
    bottom: -22px;
    left: -22px;
    background-color: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}
.rating-box .star {
	display: flex;
    font-size: 23px;
    background-color: #ffc107;
    color: white;
    padding: 8px;
    border-radius: 8px;
    margin-right: 0.5rem;
    width: 48px;
    height: 48px;
    text-align: center;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.rating-box strong {
	font-size: 1.5rem;
}
	
.section {
	padding: 4rem 0;
}
.section-title {
	text-align: center;
	margin-bottom: 3rem;
} 
.section-title h2 {
	font-weight: 700;
}
.section-title p {
	color: #6c757d;
}
.feature-card, .ourservice-card, .testimonial-card {
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	margin-bottom: 2rem;
}
.feature-card {
	padding: 1rem !important;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.feature-card .crown {
	display: flex;
    font-size: 23px;
    background-color: #44ab5d;
    color: white;
    padding: 8px;
    border-radius: 8px;
    margin-right: 0.5rem;
    width: 48px;
    height: 48px;
    text-align: center;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
	margin-bottom: 15px;
}

.feature-card .clock {
	display: flex;
    font-size: 23px;
    background-color: #e5ac00;
    color: white;
    padding: 8px;
    border-radius: 8px;
    margin-right: 0.5rem;
    width: 48px;
    height: 48px;
    text-align: center;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
	margin-bottom: 15px;
}

.feature-card .check {
	display: flex;
    font-size: 23px;
    background-color: #b241b5;
    color: white;
    padding: 8px;
    border-radius: 8px;
    margin-right: 0.5rem;
    width: 48px;
    height: 48px;
    text-align: center;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
	margin-bottom: 15px;
}
.ourservice-card {
	padding: 0!important;
}
.ourservice-card img {
	width: 100%;
	margin-bottom: 1.5rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.row-453 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
	margin: 0 20px;
}
.col1 {
	flex: 1;
}
.col2 {
	flex: 1;
}
.text-center .btn-outline-secondary {
	border-radius: 10px;
    color: #006837 !important;
    background-color: #ddddddc4;
    width: 96%;
    font-weight: 700;	
}
.text-center .btn-outline-secondary:hover {
	color: #7be3b2 !important;
    background-color: #495057;
}
.testimonial-card {
	text-align: center;
	background: linear-gradient(90deg, rgba(254, 249, 195, 0.5) 0%, rgba(255, 255, 255, 1) 50%, rgba(233, 213, 255, 0.35) 100%);
}
.testimonial-stars {
	color: #ffc107;
	margin-bottom: 1rem;
}
.testimonial-author {
	font-weight: 600;
	margin-top: 1rem;
}
.cta-section {
	background-color: #006837;
	color: white;
	padding: 4rem 2rem;
	border-radius: 10px;
	text-align: center;
}
.cta-section .btn-light {
	padding: 0.8rem 2rem;
	border-radius: 50px;
	background-color: #6c757d !important;
    color: #fff !important;
	font-weight: 600;
}

.cta-section .btn-light:hover {
    background-color: #c6c7c8 !important;
    color: #000 !important;
}


/* --- Messages --- */
.error {
    color: #D32F2F;
    background-color: #FFCDD2;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Autocomplete styles */
.autocomplete-suggestions {
    border: 1px solid #ddd;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
    position: relative;
    width: 100%;
    z-index: 999;
    background-color: #fff;
}
.autocomplete-suggestions div {
    padding: 10px;
    cursor: pointer;
}
.autocomplete-suggestions div:hover {
    background-color: #f7fafc;
}
.success {
    color: #388E3C;
    background-color: #C8E6C9;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}


.swal2-container.swal2-center {
    z-index: 10000;
}

img.swal2-image {
    max-width: 100%;
    margin: auto;
    cursor: initial;
    border-radius: 20px;
}

.swal2-popup.swal2-modal.swal2-show {
    border-radius: 20px;
}

button.swal2-close {
    font-weight: bolder;
    color: white;
    background: red;
    width: 35px;
    height: 35px;
    right: 15px;
    top: 15px;
    position: relative;
    border-radius: 25px;
}

a {
    color: #006837;
    text-decoration: none;
}

i.fas.fa-arrow-left {
    font-size: small;
    padding-right: 5px;
}

.evidence-thumbnail img.img-fluid {
    margin: 5px;
    border: 1px solid #ddd;
    padding: 3px;
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
}

.delete-evidence {
    position: absolute;
    top: -5px;
    right: -5px;
    color: #d33939 !important;
    background: white;
    border-radius: 50%;
    padding: 3px;
    font-size: 1.5em;
    cursor: pointer;
    vertical-align: middle;
}

i.fas.fa-times-circle {
    display: flex;
    color: red;
    font-size: x-large;
    float: right;
    margin-right: -20px;
    margin-top: -10px;
}
	
.timeline {
	list-style-type: none;
	padding-left: 20px;
	border-left: 2px solid #ddd;
}
.timeline li {
	margin-bottom: 20px;
	position: relative;
}
.timeline li:before {
	content: '\f058';
    font-family: FontAwesome;
    color: #2E7D32;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    position: absolute;
    left: -26px;
    top: 5px;
    font-weight: 900;
}
.timeline .time {
	color: #777;
	font-size: 0.9em;
}
.timeline .status {
	font-weight: bold;
	font-size: 1.2em;
}
.photo-gallery img {
	margin: 5px;
	border: 1px solid #ddd;
	padding: 3px;
	width: 150px; /* Fixed width for thumbnails */
	height: 100px; /* Fixed height for thumbnails */
	object-fit: cover; /* Crop images to fit */
	cursor: pointer;
}
button.delete-photo-btn {
    color: white;
    background: darkred;
    border: none;
    border-radius: 5px;
    padding: 6px 14px;
    font-size: large;
}
button.delete-status-btn {
    color: #cf1212;
    background: whitesmoke;
    border: none;
    border-radius: 5px;
    padding: 6px 14px;
    font-size: larger;
}



/* --- Responsive Design --- */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    margin-right: 15px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.evidence-thumbnail {
    position: relative;
}


.chip {
	background-color: #d2e6f3;
	padding: 3px 10px;
	border-radius: 10px;
}
span.remove-chip {
    color: #e90f0f;
    float: right;
    cursor: pointer;
    font-size: large;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 900;
	margin-top: -2px;
}
.select2-container .select2-search--inline .select2-search__field {
	vertical-align: middle!important;
}
.collaborator-assignment-container {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.collaborator-list {
	width: 48%;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px;
	height: 300px;
	overflow-y: auto;
}

.collaborator-list h5 {
	margin-top: 0;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.collaborator-item {
	padding: 8px;
	background-color: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 4px;
	margin-bottom: 5px;
	cursor: grab;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.collaborator-item:first-child {
	background-color: #d4edda;
	/* Light green for primary */
	border-color: #c3e6cb;
}

.collaborator-item .badge {
	font-size: 0.8em;
	padding: 3px 6px;
}

.drag-over {
	border-color: #007bff;
	background-color: #e9f4ff;
}
.collaborator-item.dragging {
	opacity: 0.5;
	background: #cce5ff;
}

/* Bootstrap Overrides */
/* Restore nav link styles */
.sidebar nav a {
    color: #3e3e45 !important;
    text-decoration: none !important;
}

/* Restore nav link hover/active styles */
.sidebar nav a:hover {
    background: #e2f7d4 !important;
}
.sidebar nav li.active a {
    background: #bedeb4 !important;
}

/* Ensure our button styles are not overridden by Bootstrap's .btn */
.btn-custom {
    display: inline-block;
    background: #006837;
    color: #fff !important;
    padding: 10px 20px;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background 0.3s ease;
    border: none;
}

.btn-custom:hover {
    background: #2f855a;
}

/* --- Custom File Upload --- */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    background-color: #f9f9f9;
    text-align: center;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    background-color: #f1f1f1;
}

.file-upload-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.file-upload-icon {
    font-size: 2rem;
    color: #006837;
}

.file-upload-text {
    font-weight: 500;
}

.file-upload-filename {
    font-style: italic;
    color: #555;
    font-size: 0.9em;
}

.file-upload-preview {
    margin-top: 15px;
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 5px;
    display: none; /* Hidden by default */
}

/* Responsive Earnings Card */
.earnings-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.earnings-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.earnings-card-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.summary-item {
    font-size: 1rem;
}

.summary-item strong {
    display: block;
    font-size: 1rem;
    color: #6c757d;
}

.net-profit {
	font-size: large;
    font-weight: bold;
    color: #28a745;
}

.earnings-card-toggle {
    font-size: 1.5rem;
    color: #006837;
    transition: transform 0.3s ease;
}

.earnings-card-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
	display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    flex-direction: column;
	flex-wrap: wrap;
    padding: 5px 0;
    font-size: 0.9rem;
}

.detail-item strong {
    color: #343a40;
}

button.btn-edit-hours {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #7066e0;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.col-md-1 {
	flex: 0 0 auto;
	width: auto;
}


@media (max-width: 500px) {
    header h2 {
        /* maybe not hide it, just make it smaller */
        font-size: 1rem;
    }
	
	.sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
		overflow-y: scroll;
    }
	
	.sidebar-header {
		margin-bottom: 0;
	}
	
	.company-logo {
		max-width: 170px;
		margin-bottom: -15px;
	}
	
	.sidebar nav li {
		margin-bottom: 0;
	}
	
	.sidebar nav {
		margin-bottom: 150px;
	}

    .notifications .fa-bell {
        font-size: 1.8rem;
        padding-right: 10px;
    }

    .notification-badge {
        right: 5px;
    }

    .notifications-dropdown {
        position: fixed; /* Use fixed positioning for viewport-relative centering */
        top: 60px; /* Adjust top position as needed */
        left: 50%;
        transform: translateX(-50%);
        width: 90vw;
        max-width: 400px;
        z-index: 1001;
    }
	
	.avatar {
        width: 40px;
        height: 40px;
    }
	
	.row-453 {
		display: block;
	}
	
	input.input-item {
		max-width: 250px;
	}
	
	.pdf-viewer-content iframe {
		width: 100%;
		height: 600px;
	}
	
	.pdf-viewer-container {
		display: flex;
		/* max-height: 600px; */
		margin-top: -25px;
	}
	
	.pdf-viewer-actions {
		position: fixed;
		display: flex;
		background-color: #fff;
		padding: 10px 10px;
		flex-direction: column;
		align-items: center;
		top: 20%;
		margin-left: -25px;
	}

	.download-link i.fas.fa-download {
		font-size: large;
	}

	.print-link i.fas.fa-print {
		font-size: large;
	}
	
	.earnings-card-details {
		margin-top: 15px;
		padding-top: 15px;
		border-top: 1px solid #eee;
		display: flex;
        flex-direction: column;
	}

	.detail-item {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		padding: 5px 0;
		font-size: 1rem;
	}
	
	.card-invoice-history {
		flex-direction: column;
	}
	
	.card-receipt-history {
		flex-direction: column;
	}
	
	.card-text-align {
		text-align: center!important;
	}
	
	.card-title-align {
		text-align: center!important;
	}
}

@media (max-width: 767px) {
    .booking-card .card-body .row > div {
        margin-bottom: 1rem;
    }
	
    .booking-card .card-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
	
    .status-badge {
        margin-top: 10px;
    }
	
	.earnings-card-details {
		margin-top: 15px;
		padding-top: 15px;
		border-top: 1px solid #eee;
		display: flex;
        flex-direction: column;
	}

	.detail-item {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		padding: 5px 0;
		font-size: 1rem;
	}
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar.show {
        transform: translateX(0);
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
    }

    .overlay.show {
        display: block;
    }

    .main-content, header {
        margin-left: 0;
        padding: 10px 15px;
        transition: margin-left 0.3s ease-in-out;
    }

    header {
        align-items: center;
    }

    header h2 {
        font-size: 1.2rem;
        margin: 0;
    }

    .header-left {
        display: flex;
        align-items: center;
    }

    .user-info span {
        display: none; /* Hides the username next to the avatar */
    }

    /* Make tables scrollable by wrapping them */
    .table-container {
        overflow-x: auto;
    }

    .content-area {
        overflow-x: hidden;
    }

    .content-area table {
        /*min-width: 600px;  Force table to have a minimum width */
		max-width: 100vw; /* 100% del ancho visible del dispositivo */
		width: 100%;
		/*table-layout: fixed;  Distribuye el ancho entre columnas */
    }

    .content-area th, .content-area td {
        padding: 5px;
        font-size: 0.9rem;
    }

    /* Stack service cards vertically */
    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        /*width: auto;  Let it fill the container */
    }

    .booking-form form {
        width: 90%;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 15px;
    }
	
	.pdf-viewer-actions {
		position: fixed;
		display: flex;
		background-color: #fff;
		padding: 10px 10px;
		flex-direction: column;
		align-items: center;
		top: 25%;
		margin-left: -25px;
	}
	
	.pdf-viewer-container {
		display: flex;
		/* max-height: 600px; */
		margin-top: -20px;
	}
	
	.download-link i.fas.fa-download {
		font-size: x-large;
	}

	.print-link i.fas.fa-print {
		font-size: x-large;
	}
}

@media (max-width: 1100px) {
    .user-email, .user-registered {
        display: none;
    }
	
	.hero-section {
		display: flex;
        flex-direction: column;
	}
	.hero-image {
		padding-top: 40px;
	}
	.hero-text {
		max-width: 100%;
	}
	.hero-section {
		padding: 0 2rem 4rem 2rem;
	}
}

@media screen and (orientation: landscape) and (max-height: 600px) {
  /* Estilos específicos para pantallas en modo horizontal */
  .menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
		overflow-y: scroll;
    }
	
	.sidebar-header {
		margin-bottom: 0;
	}
	.sidebar nav li {
		margin-bottom: 0;
	}
	.sidebar nav {
		margin-bottom: 100px;
	}

    .sidebar.show {
        transform: translateX(0);
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
    }

    .overlay.show {
        display: block;
    }

    .main-content, header {
        margin-left: 0;
        padding: 10px 15px;
        transition: margin-left 0.3s ease-in-out;
    }

    header {
        align-items: center;
    }

    header h2 {
        font-size: 1.2rem;
        margin: 0;
    }

    .header-left {
        display: flex;
        align-items: center;
    }

    .user-info span {
        display: none; /* Hides the username next to the avatar */
    }

    /* Make tables scrollable by wrapping them */
    .table-container {
        overflow-x: auto;
    }
	
	.table-responsive {
		/* max-width: 320px; */
		overflow-x: auto;
		
	}
	
    .content-area {
        overflow-x: hidden;
    }

    .content-area table {
        /*min-width: 600px;  Force table to have a minimum width */
		max-width: 100vw; /* 100% del ancho visible del dispositivo */
		width: 100%;
		table-layout: fixed; /* Distribuye el ancho entre columnas */
    }

    .content-area th, .content-area td {
        padding: 5px;
        font-size: 0.8rem;
		word-wrap: break-word;
    }

    /* Stack service cards vertically */
    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        width: auto; /* Let it fill the container */
    }

    .booking-form form {
        width: 90%;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 15px;
    }
	
	.pdf-viewer-actions {
		position: fixed;
		display: flex;
		background-color: #fff;
		padding: 10px 10px;
		flex-direction: column;
		align-items: center;
		top: 40%;
		margin-left: -25px;
	}
	
	.pdf-viewer-container {
		display: flex;
		/* max-height: 600px; */
		margin-top: -20px;
	}

	.download-link i.fas.fa-download {
		font-size: large;
	}

	.print-link i.fas.fa-print {
		font-size: large;
	}
	
	.carousel-thumbnails .thumb {
		width: 40px!important;
		height: 40px!important;
	}
	
	.carousel-main-image img {
		max-height: 60vh!important;
		width: 100%;
	}
	
	.evidence-modal .swal2-close {
		top: 10px !important;
		right: 10px !important;
		font-size: large!important;
		width: 20px !important;
		height: 20px !important;
	}

}

.earnings-card-container.unified {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 15px;
}

.earnings-desktop-headers {
    display: none; /* Hidden on mobile */
}

@media (min-width: 768px) {
    .earnings-desktop-headers {
        display: flex;
        justify-content: space-between;
        font-weight: bold;
        padding: 10px 15px;
        border-bottom: 2px solid #dee2e6;
        margin-bottom: 10px;
    }
    .earnings-desktop-headers > div {
        flex: 1 1 0;
        text-align: center;
        padding: 0 10px;
    }

    .earnings-desktop-headers > div:last-child {
        flex-grow: 0;
        flex-basis: 30px;
    }

    .earnings-card-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .earnings-card-summary .summary-item,
    .earnings-card-summary .detail-item {
        flex: 1 1 0;
        text-align: center;
    }

    .earnings-card-summary strong {
        display: none; /* Hide individual labels on desktop */
    }
	
	.earnings-card-container {
        display: block; /* Or grid, depending on the unified class */
    }
	
    .earnings-table {
        display: none; /* Hide the old table on desktop too */
    }
}

/* Invoice Card Styles */
.invoice-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}
.invoice-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.invoice-card .card-title {
    font-weight: 600;
    color: #006837;
}
.invoice-date {
    font-size: 1rem;
    color: #6c757d;
}
.invoice-total {
    font-size: 1.1rem;
    font-weight: 500;
}
.invoice-actions a {
    margin: 0 5px;
}

/* Receipt Card Styles */
.receipt-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}
.receipt-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.receipt-card .card-title {
    font-weight: 600;
    color: #006837;
}
.receipt-date {
    font-size: 0.9rem;
    color: #6c757d;
}
.receipt-total {
    font-size: 1.1rem;
    font-weight: 500;
}
.receipt-actions a {
    margin: 0 5px;
}

/* Collaborator Payout & Job Card Styles */
.payout-card, .job-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}
.payout-card:hover, .job-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.payout-card .card-title, .job-card .card-title {
    font-weight: 600;
    color: #006837;
}
.payout-total, .job-earning {
    font-size: 1.1rem;
    font-weight: 500;
    color: #28a745;
}

.card-collab-earnings {
    display: flex;
    align-items: center;
    justify-content: space-around;
	flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 20px;
}

.card-text-align {
    text-align: center;
}


/* Responsive SweetAlert2 Modal */
.responsive-modal-popup {
    max-width: 90vw !important;
    max-height: 90vh !important;
    padding: 0 !important;
}

.responsive-modal-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
}

/* SweetAlert Service Details Modal */
.swal-text-left {
    text-align: left !important;
}

.swal-service-details .swal-service-image {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.swal-service-details p {
    margin: 0.5rem 0;
}

.swal-service-details ul {
    padding-left: 20px;
    margin-top: 0.5rem;
}

/* --- Evidence Carousel Styles --- */
.evidence-modal {
    max-width: 80vw !important;
    max-height: 95vh !important;
}

.evidence-modal .swal2-close {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10;
    color: #fff;
	font-size: xx-large;
    background-color: #dc3545;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0;
}

.evidence-carousel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.carousel-main-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0; /* Prevents image from overflowing its flex container */
}

.carousel-main-image img {
    max-height: 70vh;
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
    box-sizing: border-box;
}

.carousel-prev, .carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

.carousel-next {
    right: 30px;
    border-radius: 3px 0 0 3px;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.carousel-thumbnails {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
    overflow-x: auto;
    padding: 5px 0;
    height: 80px; /* Or desired height */
}

.carousel-thumbnails .thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}

.carousel-thumbnails .thumb:hover {
    opacity: 1;
}

.carousel-thumbnails .thumb.active {
    opacity: 1;
    border-color: #006837; /* Or your primary color */
}

.evidence-modal.swal2-popup {
    display: flex !important;
    flex-direction: column !important;
}

.evidence-modal .swal2-html-container {
    flex-grow: 1;
    overflow: hidden;
}/* Status Details Admin Controls */
.edit-timestamp-btn, .delete-status-btn, .delete-photo-btn {
    cursor: pointer;
    font-size: 1.2em;
    margin-left: 10px;
    vertical-align: middle;
}
.photo-container {
    position: relative;
    display: inline-block;
    margin: 5px;
}
.edit-timestamp-btn {
    color: #006837!important;
	margin-left: 0px;
	font-size: 1.2em;
}
.delete-status-btn {
    color: darkred!important;
	margin-left: 0px;
	font-size: 1.2em;
}
.photo-container .delete-photo-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    color: #d33939!important;
    background: white;
    border-radius: 50%;
    padding: 2px;
    font-size: 1.5em;
}
