/* ClashDisplay - Extralight */
@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fonts/ClashDisplay/ClashDisplay-Extralight.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
}

/* ClashDisplay - Light */
@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fonts/ClashDisplay/ClashDisplay-Light.ttf")
    format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* ClashDisplay - Regular */
@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fonts/ClashDisplay/ClashDisplay-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* ClashDisplay - Medium */
@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fonts/ClashDisplay/ClashDisplay-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* ClashDisplay - Semibold */
@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fonts/ClashDisplay/ClashDisplay-Semibold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* ClashDisplay - Bold */
@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fonts/ClashDisplay/ClashDisplay-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* Opțional: Varianta Variable (dacă este necesar) */
@font-face {
  font-family: "ClashDisplay";
  src: url("/assets/fonts/ClashDisplay/ClashDisplay-Variable.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  color: #25324b;
}

/*.row {
  width: 100%;
  margin:0;
}*/
p {
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: rgb(38 40 97);
  font-weight: 500;
}

/* Header */
header {
  padding: 20px;
  border-bottom: 2px solid #889abd;
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 999999999;
}

header .container {
  padding: 0 20px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

header nav.nav-menu ul {
  margin-bottom: 0;
  justify-content: center;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 20px;
}

.page-content {
  padding-top: 60px;
  padding-bottom: 100px;
}

.sidebar {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

.content {
  flex: 1;
  padding: 20px;
}

/* Filtrare */
.filter-group {
  margin-bottom: 20px;
}

.input-with-icon {
  position: relative;
  margin-bottom: 15px;
}

.input-with-icon input {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.input-with-icon.search::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../icons/magnifier.png") no-repeat;
}

.input-with-icon.location::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../icons/location.png") no-repeat;
}

.range-slider {
  width: 100%;
}

.checkbox-list label {
  display: block;
  margin: 10px 0;
}

.rating-stars {
  color: #ffd700;
  font-size: 20px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
}

.filter-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.apply-btn {
  background: #007bff;
  color: white;
}

.reset-btn {
  background: #dc3545;
  color: white;
}

/* Conținut */
.results-header {
  display: flex;
  justify-content: space-between;
  /*    align-items: center;*/
  margin-bottom: 20px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.result-item {
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
}

.pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination button {
  padding: 5px 10px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

/*FILTER PAGE*/
.sidebar {
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid #d6ddeb;
  padding: 20px;
  padding-top: 40px;
  /*  max-width: 320px;*/
  /*  max-width: 264px;*/
  height: fit-content;
}

.admin-page.row {
  margin: 0;
}

label.form-label {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: #25324b;
  margin-bottom: 20px;
}

.input-group > .form-control,
.input-group > .form-floating,
.input-group > .form-select {
  border: none;
  font-size: 16px;
}

.input-group .input-group-text {
  background-color: transparent;
  border: none;
  padding: 10px;
  padding-right: 0;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  box-shadow: 0 4px 16px #26286124;
  border-radius: 20px;
  overflow: hidden;
}

/* Field error styles */
input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.select2-container--default .select2-selection--single.is-invalid,
.select2-container--default .select2-selection--multiple.is-invalid,
.form-field-input.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.1);
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.flex-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group {
  margin-bottom: 24px !important;
}

/* Suprascriere săgeată implicită Bootstrap */
.form-select {
  appearance: none;
  /* Elimină săgeata implicită */
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%237C8493' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px 20px;
  padding-right: 2.5rem;
  /* Spațiu pentru săgeată */
}

/* Ajustare iconiță stânga */
.input-group-text {
  background-color: #fff;
  border-right: none;
}

/* Asigurăm alinierea corectă a dropdown-ului cu iconița */
.input-group .form-select {
  border-left: none;
}

/* Stilizare range personalizat */
.custom-range {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  /* Fundal transparent pentru control complet */
  cursor: pointer;
  width: 100%;
  height: 5px;
  border-radius: 10px;
}

/* Stilizare track pentru Chrome, Safari, Opera, Edge */
.custom-range::-webkit-slider-runnable-track {
  height: 0.5rem;
  border-radius: 5px;
  background: transparent;
  /* Ascundem bara gri implicită */
}

/* Stilizare track pentru Firefox */
.custom-range::-moz-range-track {
  height: 0.5rem;
  border-radius: 5px;
  background: transparent;
  /* Ascundem bara gri implicită */
}

/* Stilizare thumb pentru Chrome, Safari, Opera, Edge */
.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -3px;
  background-color: #ffffff;
  height: 16px;
  width: 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid #d1d1d1;
}

/* Stilizare thumb pentru Firefox */
.custom-range::-moz-range-thumb {
  border: none;
  background-color: #e69b36;
  /* Culoare thumb */
  height: 1.5rem;
  width: 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
  /* Tranziție ușoară */
}

/* Eliminăm focus-ul implicit */
.custom-range:focus {
  outline: none;
}

/* Focus pentru thumb în Chrome, Safari, Opera, Edge */
.custom-range:focus::-webkit-slider-thumb {
  border: 1px solid #e69b36;
  outline: 2px solid #e69b36;
  outline-offset: 0.125rem;
}

/* Focus pentru thumb în Firefox */
.custom-range:focus::-moz-range-thumb {
  border: 1px solid #e69b36;
  outline: 2px solid #e69b36;
  outline-offset: 0.125rem;
}

/* Ajustăm poziționarea textului */
.filter-group .d-flex {
  gap: 15px;
  /* Spațiu între range și text */
}

span#distance-value {
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  color: #e69b36;
  background-color: #e69b361a;
  padding: 4px 8px;
  border-radius: 12px;
}

.form-check-input:checked {
  background-color: #e3952d;
  border-color: #e3952d;
}

.form-check-input:focus {
  border-color: #e3952d;
  outline: 0;
  box-shadow: none;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
}

.rating-group {
  display: flex;
  flex-direction: column;
}

span.category-count {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  background-color: #9c9ca31a;
  border-radius: 12px;
  padding: 4px 8px;
  line-height: 18px;
}

.form-check {
  margin-bottom: 12px;
}

.btn.btn-primary {
  background-color: #262861;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
}

.btn.btn-secondary {
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 27px;
}

.btn.btn-primary.apply-btn,
.btn.btn-outline.reset-btn {
  flex: 1;
}

.btn.btn-outline {
  background-color: #ffffff;
  color: #262861;
  border: 1px solid #262861;
  font-size: 16px;
  line-height: 27px;
  border-radius: 100px;
  padding: 8px 20px;
  white-space: nowrap;
}

.results-list {
  display: flex;
  flex-direction: column;
}

.results-header h2 {
  font-size: 16px;
  line-height: 31px;
  font-weight: 600;
  color: #6c757d;
}

span.resuts_nr {
  font-family: ClashDisplay;
  font-size: 24px;
  color: #25324b;
}

.form-control:focus,
.form-select:focus {
  border-color: transparent;
  outline: 0;
  box-shadow: none;
}

.results-header .sort {
  border: 1px solid #6c757d;
  padding: 12px 20px;
  border-radius: 100px;
}

select.select-sort {
  border: none;
  font-size: 18px;
  height: auto;
  padding-bottom: 0;
  padding-top: 0;
  font-weight: 500;
}

label.me-2[for="sort"] {
  font-size: 18px;
  color: #6c757d;
}

.result-box {
  box-shadow: 0 4px 16px 0 #26286133;
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  padding: 24px 40px;
}

.verification-section {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0ba02c;
  font-weight: 600;
  padding-bottom: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid #889abd80;
}

.verification-section span.verified-label {
  margin-left: 7px;
}

.company-identity {
  display: flex;
  justify-content: space-between;
}

.company-identity .col-info {
  display: flex;
  flex: 1;
  flex-direction: row;
}

.company-logo {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: contain;
  margin-right: 20px;
  border: 1px solid #d6ddeb;
  border-radius: 12px;
  overflow: hidden;
}

h3.company-title {
  font-size: 24px;
  font-weight: 700;
  color: #25324b;
  line-height: 31px;
  margin-bottom: 8px;
}

span.rating_comTotal {
  font-size: 16px;
  color: #7c8493;
}

.rating_com {
  color: #25324b;
  font-size: 18px;
}

span.rating_comTotalRec {
  color: #e69b36;
  font-size: 16px;
}

.comp_infostars {
  color: #ffc342;
  line-height: 1;
}

.icons-zone {
  display: flex;
  margin-top: 20px;
}

.result-box .icons-zone {
  flex-direction: column;
  gap: 10px;
}

.feature_box {
  display: flex;
  align-items: center;
  margin-right: 24px;
}

p.feature_boxText {
  margin-bottom: 0;
  margin-left: 10px;
  color: #7c8493;
}

.com_service {
  margin-top: 24px;
  margin-left: 0;
  margin-right: 0;
}

h4.small-title {
  color: #25324b;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.com_service ul {
  list-style: none;
  padding: 0 !important;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
}

.com_service ul li {
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.services-zone {
  padding-left: 0;
}

.com_service ul li svg {
  margin-right: 5px;
}

.buttons-zone button.btn.btn-primary {
  margin-bottom: 13px;
}

.buttons-zone button.btn.btn-primary,
.buttons-zone button.btn.btn-outline {
  padding: 10px 20px;
  font-size: 16px;
  line-height: 24px;
}

.buttons-zone {
  padding-right: 0;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #262861;
  --bs-btn-border-color: #262861;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #262861;
  --bs-btn-hover-border-color: #262861;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #262861;
  --bs-btn-active-border-color: #262861;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #262861;
  --bs-btn-disabled-border-color: #262861;
}

.btn.btn-primary:hover,
.btn.btn-outline:hover {
  background-color: #e69b36;
}

.pagination {
  margin-top: 40px;
}

.page_navigation {
  display: flex;
  align-items: center;
  /* Vertically aligns all items in the middle */
  justify-content: space-between;
  /* Pushes Back/Next to ends, page list in middle */
  width: 100%;
  /* Takes full available width, adjust if needed */
  padding: 15px 5px;
  /* Some padding around the navigation */
}

/* a.Btn-link {
  border: 2px solid;
  color: #6C757D;
  border-radius: 20px;
  padding: 6px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

a.Btn-link.active {
  color: #262861;
} */

/* Main Pagination Navigation Container */
.page_navigation {
	display: flex;
	align-items: center;
	/* Vertically aligns all items in the middle */
	justify-content: space-between;
	/* Pushes Back/Next to ends, page list in middle */
	width: 100%;
	/* Takes full available width, adjust if needed */
	padding: 15px clamp(5px, 2vw, 15px);
	/* Some padding around the navigation */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	/* Example font stack */
	gap: 10px;
}

/* Page Numbers List (ul) */
.page_navigation .pagination_list {
	list-style: none;
	/* Removes default bullet points */
	padding: 0;
	margin: 0;
	/* Removes default ul margins */
	display: flex;
	/* Aligns li items in a row */
	gap: clamp(4px, 1.5vw, 8px);
	/* Space between page number circles */
	/* The class 'justify-content-center' on the ul will center the page numbers (li)
       within the space allocated to the ul by the parent flex container. */
}

/* Individual Page Number Item (li > a) */
.page_navigation .page-item .page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: clamp(32px, 8vw, 38px);
	/* Consistent width for the circle */
	height: clamp(32px, 8vw, 38px);
	/* Consistent height for the circle */
	border: 1.5px solid #d1d5db;
	/* Light grey border, similar to image */
	border-radius: 50%;
	/* Makes it a circle */
	text-decoration: none;
	color: #374151;
	/* Dark grey text for numbers */
	font-size: clamp(0.85rem, 2.5vw, 1rem);
	/* Adjust as needed */
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Hover state for non-active page numbers */
.page_navigation .page-item .page-link:hover {
	background-color: #f3f4f6;
	/* Light grey background on hover */
	border-color: #6b7280;
	/* Slightly darker border on hover */
	color: #1f2937;
	/* Darker text on hover */
}

/* Active page number style */
.page_navigation .page-item.active .page-link {
	background-color: #262861;
	/* Dark blue background (from your SVG) */
	color: white;
	border-color: #262861;
	/* Border matches background */
	font-weight: bold;
}

/* Hover state for the active page number (optional, to make it slightly interactive) */
.page_navigation .page-item.active .page-link:hover {
	background-color: #1e204b;
	/* Slightly darker blue on hover */
	border-color: #1e204b;
}

/* Back ("Înapoi") and Forward ("Înainte") Buttons (a.Btn-link) */
.page_navigation .Btn-link {
	display: inline-flex;
	/* Allows flex alignment for SVG and text, but keeps button inline-block like */
	align-items: center;
	justify-content: center;
	padding: clamp(8px, 2vw, 10px) clamp(12px, 4vw, 24px);
	/* Adjust padding to match image's button size */
	min-width: clamp(80px, 20vw, 110px);
	font-size: clamp(0.85rem, 3vw, 1rem);
	border: 1.5px solid;
  /* Border width; color will be specific below */
  border-radius: 50px;
  /* Creates the pill shape */
  text-decoration: none;
  font-size: 1rem;
  /* Adjust as needed */
  font-weight: 600;
  /* Slightly bolder text */
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  gap: 8px;
  /* Space between SVG icon and text (replaces 'gap-1' if not defined elsewhere) */
}

/* Styling for the "Înapoi" (Back) button */
.page_navigation .pagination_backBtn .Btn-link {
  color: #6c757d;
  /* Grey text, matches its SVG stroke in HTML */
  border-color: #abb5be;
  /* Visible grey border */
}

.page_navigation .pagination_backBtn .Btn-link:hover {
  background-color: #f0f2f5;
  /* Light grey background on hover */
  border-color: #8a949e;
  /* Darker grey border on hover */
  color: #525c66;
  /* Slightly darker text on hover */
}

/* Styling for the "Înainte" (Forward) button - it has 'active' class in HTML */
.page_navigation .pagination_forwBtn .Btn-link.active {
  color: #262861;
  /* Dark blue text, matches its SVG stroke in HTML */
  border-color: #a0a2c4;
  /* A blueish-grey border that complements the text */
}

.page_navigation .pagination_forwBtn .Btn-link.active:hover {
  background-color: rgba(38, 40, 97, 0.07);
  /* Very light blueish background on hover */
  border-color: #262861;
  /* Dark blue border on hover */
  color: #1e204b;
  /* Slightly darker blue text on hover */
}

/* SVG icon styling within Back/Forward buttons */
.page_navigation .Btn-link svg {
  width: 20px;
  /* Adjust size as needed to match image */
  height: 20px;
  /* The 'stroke' color for SVGs is set directly in your HTML.
       This CSS primarily ensures size and alignment. */
}

/* Optional: to ensure the back and forward buttons don't shrink too much if page numbers are many */
.page_navigation .pagination_backBtn,
.page_navigation .pagination_forwBtn {
  flex-shrink: 0;
}

.page_navigation .pagination_backBtn {
  text-align: left;
  /* Aligns content if the div itself has more space */
}

.page_navigation .pagination_forwBtn {
  text-align: right;
  /* Aligns content if the div itself has more space */
}

/*END FILTER PAGE*/

/*DETAILS PAGE*/
.profile-image-section {
  height: 324px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
}

.details_logo {
  position: absolute;
  bottom: -56px;
  left: 28px;
}

.profile_logo {
  box-shadow: 0 4px 16px 0 #26286133;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  width: 112px;
  height: 112px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.logo img {
  object-fit: cover;
  width: auto;
  height: auto;
  max-width: 100%;
  /* max-height: 100%; */
}

a.btn.btn-slider {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #fff;
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

a.btn.btn-slider:hover {
  background-color: #e69b36;
}

.hero_section {
  margin-bottom: 25px;
}

.title-content-section h1 {
  font-family: "clashDisplay";
  font-weight: 600;
  font-size: 44px;
  line-height: 48px;
}

.title-content-features {
  display: flex;
  margin-top: 28px;
  gap: 22px;
}

.tcf-box {
  color: #7c8493;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcf-box svg {
  margin-right: 8px;
}

.top_label {
  display: flex;
  justify-content: flex-end;
}

.favorite_label {
  margin-right: 23px;
}

a.raport_btn {
  color: #6c757d;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 24px;
}

.cta_btns-about {
  margin-top: 34px;
}

.cta_btns-about button {
  padding: 10px 70px;
}

.informations-section {
  margin-top: 40px;
}

.services_container {
  box-shadow: 0 4px 16px 0 #26286124;
  border-radius: 20px;
  padding: 32px;
}

.services_container h2 {
  font-family: "ClashDisplay";
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
  margin-bottom: 20px;
}

.services_list .services_box {
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  padding: 22px 32px;
  margin-bottom: 20px;
}

.services_list .services_box h3 {
  font-family: "ClashDisplay";
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
}

.services_items {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-gap: 13px;
}

.sidebar-details {
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  padding: 20px 24px 32px 24px;
  gap: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.btns_col {
  padding: 0;
}

.qr-code-section {
  display: flex;
}

.qr-code-section img.qr_img {
  width: 70px;
  height: 70px;
  border: 1px solid #e69b36;
  border-radius: 6px;
}

.qr-code-section a.btn.btn-link {
  color: #6c757d;
  text-decoration: none;
  padding: 0;
  border: none;
  display: flex;
  text-align: justify;
  font-size: 12px;
}

.qr-code-section a.btn.btn-link svg {
  margin-right: 5px;
}

.qr-code-section a.btn.btn-link:hover {
  color: #e69b36;
}

.qr_links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 12px;
  justify-content: center;
}

.company-details h3 {
  font-size: 18px;
  font-family: "ClashDisplay";
  font-weight: 600;
  margin-bottom: 28px;
  line-height: 23px;
}

.detail-item {
  display: flex;
  gap: 20px;
}

.detail-item h4 {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  margin-bottom: 5px;
}

.detail-item p {
  margin: 0;
  color: #7c8493;
  line-height: 24px;
}

.detail_items {
  gap: 28px;
  display: flex;
  flex-direction: column;
}

.tags.company_tags span.badge {
  border: 1px solid #6c757d;
  color: #6c757d;
  padding: 4px 6px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

.tags.company_tags {
  gap: 4px;
  display: flex;
  flex-wrap: wrap;
}

.company_description h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  margin-bottom: 12px;
}

.company_descriptionText * {
  color: #7c8493;
  margin: 0;
  font-size: 14px;
}

.reviews-section h2 {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 32px;
}

.review_container-top {
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  padding: 30px;
  padding-bottom: 50px;
}

.reviews_total-note {
  display: flex;
  align-items: center;
}

p.review_total-noteNr {
  margin-bottom: 0;
  color: #7c8493;
  font-size: 16px;
  line-height: 24px;
}

p.review_total-noteNr span {
  font-size: 28px;
  line-height: 27px;
  color: #262861;
}

.review_total-note {
  display: flex;
  gap: 10px;
}

p.review_total-noteNrall {
  font-size: 16px;
  color: #e69b36;
  margin-bottom: 0;
  line-height: 35px;
}

.review_total-summary {
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid #d6ddeb;
  gap: 4px;
  display: flex;
  flex-direction: column;
}

.review_total-summary_item {
  display: flex;
}

.review_total-summary_item-name {
  display: flex;
  align-items: center;
  flex: 1;
  padding-right: 30px;
}

.review_total-summary_item-name p {
  margin-bottom: 0;
  margin-left: 5px;
}

p.review_total-summary_item-note {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 500;
}

.addReviewBtn {
  padding-right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.review_item {
  padding: 28px 40px;
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  background-color: #ffffff;
}

.review_item:nth-child(1) {
  margin-top: -30px;
}

.reviewProfileImg {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  overflow: hidden;
  object-fit: contain;
}

.reviewProfileImg img {
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.reviewProfileImg {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  overflow: hidden;
  object-fit: contain;
  margin-right: 8px;
}

.review_item-top-profile {
  display: flex;
  align-items: center;
}

span.reviewProfile_name {
  font-weight: 600;
}

span.reviewProfile_category {
  margin-left: 4px;
  color: #4b5162;
  font-size: 14px;
  line-height: 21px;
  vertical-align: text-bottom;
}

.reviewProfile_stars .comp_infostars {
  color: #e39c3c;
  font-size: 19px;
}

.review_item-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.review_item-top-date p {
  color: #7c8493;
  font-size: 14px;
  margin-bottom: 0;
  text-align: end;
}

.review_verified {
  margin-top: 12px;
  color: #7c8493;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  gap: 6px;
}

.reviews_list {
  gap: 24px;
  display: flex;
  flex-direction: column;
}

.review_content-text {
  max-height: 75px;
  /* Limită la aprox. 4 rânduri */
  overflow: hidden;
  position: relative;
}

.review_content-text.expanded {
  max-height: none;
}

.read-more {
  color: #1a3c5e;
  cursor: pointer;
  margin-top: 5px;
  display: inline-block;
}

.review_verified {
  display: flex;
  align-items: center;
  color: #7c8493;
  margin-top: 10px;
}

.review_verified svg {
  margin-right: 5px;
}

.opacity-50 {
  opacity: 0.5;
}

small.read-more {
  color: #6d86e3;
  font-size: 14px;
}

.portfolio-section {
  margin-top: 124px;
}

.portfolio-section h2 {
  font-size: 44px;
  font-family: "ClashDisplay";
  font-weight: 600;
  margin-bottom: 40px;
}

/* Layoutul cu CSS Grid pentru 2 rânduri (3 coloane pe rând) */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  justify-items: center;
}

/* Fiecare link se transformă într-un container pătrat */
.gallery a {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border: 1px solid #262861;
  border-radius: 0 20px;
}

/* Imaginile se întind să umple containerul pătrat */
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay-ul afișat pe a 6-a imagine */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "ClashDisplay";
  font-weight: 600;
}

/* Ascundem imaginile suplimentare */
.hidden {
  display: none;
}

.qualifications-section h2 {
  font-size: 44px;
  font-family: "ClashDisplay";
  font-weight: 600;
  line-height: 48px;
  margin-bottom: 32px;
}

.qualifications-section {
  margin-top: 124px;
}

.qualifications_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.qualification-img img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

.qualification-img {
  width: auto;
  height: 100%;
  max-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #d6d6d680;
  border-radius: 0 20px;
  border: 1px solid #d6ddeb;
  padding: 15px;
}

.qualifications-text {
  text-align: center;
  margin-top: 12px;
}

p.qualification_title {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
}

p.qualification_data {
  margin-bottom: 0;
}

.trust-notification {
  margin-top: 124px;
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  padding: 48px 40px;
}

h5.verified_section-title {
  font-family: "ClashDisplay";
  font-size: 24px;
  font-weight: 600;
  max-width: 500px;
  margin-bottom: 11px;
}

.trust-checklist {
  margin-top: 48px;
}

p.trust-checklist_title-list {
  font-family: "ClashDisplay";
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

ul.trust-checklist_title-items {
  padding-left: 25px;
  list-style: none;
  gap: 7px;
  display: flex;
  flex-direction: column;
  color: #4b5162;
}

/*END DETAILS PAGE*/

/*START REQUEST OFER PAGE*/
.form-group {
  margin-bottom: 12px;
}

.form-field-input {
  width: 100%;
  border: 1px solid #d6ddeb;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 16px;
  color: #4b5162;
  transition: border-color 0.3s ease;
}

input.valid,
textarea.valid,
select.valid {
  border-color: #28a745;
  /* Verde */
}

input.invalid,
textarea.invalid,
select.invalid {
  border-color: #dc3545;
  /* Roșu */
  animation: shake 0.5s;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(0);
  }
}

.checkbox-group {
  margin-top: 10px;
}

.checkbox-group input {
  margin-right: 10px;
}

.form-group textarea {
  min-height: 100px;
}

/* Secțiunea de upload poză */
.custom-file-upload {
  margin-top: 10px;
}

.custom-file-upload p {
  color: #666;
  font-size: 14px;
}

.upload-area {
  border: 2px dashed #e2e8f0;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  position: relative;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  cursor: pointer;
}

.upload-area:hover {
  border-color: #e69b36;
  background-color: #fff;
}

.upload-icon {
  /* margin-bottom: 8px; */
  display: block;
}

.drop_file-title {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.browse-button {
  background-color: #262861;
  color: white;
  padding: 4px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.custom-file-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-info {
  font-size: 12px;
  color: #999;
}

/* Buton de trimitere */
.btn-submit {
  width: 100%;
  padding: 12px 32px;
  background-color: #262861;
  color: white;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
}

.btn-submit:hover {
  background-color: #14213d;
}

.background-gradient {
  background: linear-gradient(
    90deg,
    rgba(184, 43, 0, 0.9) 0%,
    rgba(38, 40, 97, 0.9) 100%
  );
}

.background_lightblue {
  background-color: #f4f8fe;
}

.company-logo img {
  max-width: 100%;
  height: auto;
}

.topForm-company .company-logo {
  background-color: #fff;
}

.topForm-company .col-info {
  display: flex;
  align-items: center;
}

.formSection {
  margin-top: 32px;
  box-shadow: 0 4px 16px 0 #26286133;
  border-radius: 24px;
  padding: 48px;
  background-color: #fff;
}

.form_title h2 {
  font-family: "ClashDisplay";
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 40px;
}

.container.form_container {
  max-width: 794px;
}

.form_section .form-group.col-lg-12 {
  padding: 0;
}

.form_section h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 20px;
}

.form_section {
  margin-bottom: 40px;
}

.form_section h3 span {
  font-weight: 400;
  color: #7c8493;
  font-size: 20px;
}

p.form_section-info {
  color: #6c757d;
}

p.drop_file-title {
  color: #25324b;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  margin-top: 8px;
}

p.file-info {
  color: #7c8493;
  margin-bottom: 10px;
  margin-top: 10px;
}

input[type="file" i] {
  background-color: #262861;
}

.file-list {
  margin-top: 10px;
}

/* OBSOLETE */
/* .file-list ul {
    list-style-type: none;
    padding: 0;
}

.file-list li {
    background-color: #f0f0f0;
    padding: 5px 10px;
    margin-bottom: 5px;
    border-radius: 5px;
} */

/* Styles for the file list */
.file-list ul {
  list-style-type: none;
  /* Removes default bullet points */
  padding-left: 0;
  /* Removes default padding for ul */
  margin-top: 10px;
}

.file-list li {
  display: flex;
  /* Enables Flexbox for the list item */
  justify-content: space-between;
  /* Pushes content to ends: text to left, button to right */
  align-items: center;
  /* Vertically aligns text and button */
  padding: 8px 15px;
  /* Adds some padding inside each list item */
  border-bottom: 1px solid #e0e0e0;
  /* Light separator line */
  font-size: 0.9rem;
  /* Adjust as needed */
  color: #333;
  /* Text color for the file name */
  background-color: #bebebe;
  /* Light background for the list item */
  border-radius: 8px;
  /* Rounded corners for the list item */
}

.file-list li:last-child {
  border-bottom: none;
  /* Removes border from the last item */
}

/* Styles for the remove button itself */
.remove-file-button {
  background-color: transparent;
  /* Makes the button background transparent */
  border: none;
  /* Removes any default button border */
  color: #dc3545;
  /* Red color for the '✖' icon (Bootstrap danger red) */
  font-size: 1.2rem;
  /* Makes the '✖' a bit larger and easier to click */
  font-weight: bold;
  /* Makes the '✖' thicker */
  cursor: pointer;
  /* Changes cursor to a pointer on hover */
  padding: 2px 8px;
  /* Adds some clickable area around the '✖' */
  margin-left: 10px;
  /* Adds some space between the file name and the button */
  line-height: 1;
  /* Helps with vertical alignment of the '✖' */
  transition: color 0.2s ease-in-out;
  /* Smooth color transition on hover */
}

.remove-file-button:hover,
.remove-file-button:focus {
  color: #a71d2a;
  /* Darker red on hover/focus for feedback */
  outline: none;
  /* Removes default focus outline if you prefer, or style it */
}

/*END REQUEST OFER PAGE*/

/*START LOGIN PAGE*/
.login_card {
  box-shadow: 0 5px 20px 0 #0708291a;
  background-color: #fff;
  border-radius: 20px;
  max-width: 500px;
  margin: auto;
  margin-top: 90px;
  margin-bottom: 90px;
  padding: 56px 44px;
  width: 100%;
}

.login_page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login_logo img {
  max-width: 150px;
  height: auto;
}

.login_logo {
  margin-bottom: 40px;
}

.login_card h1,
.login_card h2 {
  font-family: "ClashDisplay";
  font-size: 32px;
  font-weight: 600;
  /* line-height: 41px;` */
  margin-bottom: 12px;
}

.login_card > p {
  color: #4b5162;
  margin-bottom: 54px;
  line-height: 24px;
}

.btn.btn-orange {
  background-color: #e69b36;
  color: #ffffff;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
}

.btn.btn-orange:hover {
  background-color: #262861;
}

.btn_login .btn {
  width: 100%;
  margin-bottom: 20px;
}

.btn_login p {
  text-align: center;
}

.btn_login a {
  color: #0b44a0;
  text-decoration: none;
}

.btn_login a:hover {
  text-decoration: underline;
}

.sepparator {
  margin-top: 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid #c6c6c6;
}

.login_card .form-grup {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.login_card .form-grup label {
  font-weight: 600;
  margin-bottom: 14px;
}

.login_card .btn {
  width: 100%;
}

.btn-register-remove {
  margin-top: 15px;
  padding: 10px 15px;
  /* Adds some internal spacing */
  border: none;
  /* Removes default browser border */
  border-radius: 5px;
  /* Rounded corners */
  background-color: #dc3545;
  /* A common "danger" red */
  color: white;
  /* White text for good contrast */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.1s ease;
  /* Smooth transitions */
  outline: none;
  /* Removes default focus outline, we'll add a custom one */
}

.btn-register-remove:hover {
  background-color: #c82333;
  /* Darker red on hover */
  color: white;
  /* Ensures text remains readable */
}

.btn-register-remove:active {
  background-color: #bd2130;
  /* Even darker when pressed */
  color: white;
  /* Keeps text readable */
  transform: translateY(1px);
  /* Subtle press down effect */
}

.btn-register-remove:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5);
  /* Custom focus ring for accessibility */
}

#cat1.form-field-input,
#cat2.form-field-input,
#cat3.form-field-input {
  border: 2px solid #003366;
  font-weight: 600;

  /* 1. Hide the browser's default arrow */
  -webkit-appearance: none;
  /* Safari, Chrome, Edge */
  -moz-appearance: none;
  /* Firefox */
  appearance: none;
  /* Standard, but prefixes needed for broad coverage */

  /* 2. Add SVG arrow as background */
  /* SVG for a down chevron arrow. 'currentColor' allows styling through CSS 'color'. */
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  /* Position the arrow: from the right (e.g., 0.75rem), vertically centered */
  background-position: right 0.75rem center;
  /* SVG size, if necessary. Can be omitted if the SVG has good intrinsic dimensions. */
  /* background-size: 12px 8px; */

  /* 3. Adjust right padding to make room for the arrow */
  /* The initial padding of .form-field-input is probably something like 0.5rem 0.75rem. */
  /* Arrow (12px width) + margin from edge (0.75rem ~ 12px) + text-arrow space (0.5rem ~ 8px) = ~32px */
  /* Make sure long text doesn't overlap with the arrow. */
  padding-right: 2.25rem;
  /* Adjust this value (e.g., 32px-36px) as needed. */

  /* 4. Re-add the pointer cursor, as 'appearance: none' might remove it in some browsers */
  cursor: pointer;
}

#cat1.form-field-input:focus,
#cat2.form-field-input:focus,
#cat3.form-field-input:focus {
  border-color: #0059b3;
  box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.25);
  outline: none;
}

label[for="cat1"],
label[for="cat2"],
label[for="cat3"] {
  font-weight: bold;
  /* color: #003366; */
}

.sepparator span {
  display: block;
  background-color: #fff;
  width: fit-content;
  padding: 5px 20px;
  margin: auto;
  margin-bottom: -15px;
}

.btn_w-img img {
  width: 25px;
  height: 25px;
}

.btn.btn-border {
  border: 1px solid #eaeaea;
  padding: 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
}

.social_btns {
  gap: 14px;
  display: grid;
}

.btn.btn-border:hover {
  background-color: #e69b36;
}

.profile-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

.profile-image-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #c3c3c3;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 2px solid #e0e0e0;
  /* Opțional, pentru a defini marginea cercului */
}

.profile-image-circle img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.placeholder-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.upload-button {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #1a2b49;
  /* Culoare albastru închis similar designului modern */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.upload-button:hover {
  background-color: #2c4066;
  /* Efect hover pentru interactivitate */
}

.form-group label {
  font-size: 14px;
  color: #333;
}

label[for="profile-image"] {
  font-size: 12px;
  color: #7c8493;
}

p.info_gdpr {
  margin-bottom: 0;
  margin-top: 40px;
}

div.register_meserias {
  max-width: 1000px;
}

p.info_create {
  margin-bottom: 12px;
}

form#create-account-form h3 {
  font-family: "ClashDisplay";
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 31px;
  font-size: 24px;
}

p.form_section-label {
  font-weight: 500;
}

p.form_section-label span {
  font-weight: 400;
  color: #7c8493;
}

label {
  font-weight: 500;
  line-height: 24px;
  color: #25324b;
}

label.label-upload {
  margin-bottom: 0;
  margin-top: 0px;
}

label.label-upload span {
  color: #7c8493;
  font-weight: 400;
}

.form_section.slim_fileupload .form-group {
  margin-bottom: 0;
}

.documents_list {
  padding-top: 15px;
}

.file-list {
  margin-top: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* .preview-image {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
} */

/* Qualification image + hover overlay + X button */
.preview-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.preview-image {
  display: block;
  max-width: 72px;
  height: auto;
  border-radius: 8px;
}
.img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease-in-out;
  pointer-events: auto;
  z-index: 1;
}
.preview-wrapper:hover .img-overlay {
  opacity: 1;
}
.camera-icon {
  opacity: 0.95;
}
.preview-wrapper .remove-qual-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-wrapper .remove-qual-btn:hover {
  background: rgba(239, 19, 19, 0.8);
}

/* Key fix: when hovering the X, suppress the overlay */
.preview-wrapper .remove-qual-btn:hover + .img-overlay {
  opacity: 0;
}

.remove-qualification-btn {
  width: auto !important;
  margin-left: auto;
}

.file-item p {
  margin: 0;
  color: #333;
}

button.delete-button {
  margin-left: 10px;
  padding: 2px 5px;
  box-shadow: none;
  border: none;
  background-color: #ff6060;
  color: #fff;
  border-radius: 7px;
  line-height: 1;
  font-size: 12px;
}

p.verification-message {
  margin-bottom: 20px;
}

/*END LOGIN PAGE*/

/*START ADMIN PAGE*/
.admin-page .sidebar {
  padding: 0;
  overflow: hidden;
}

.admin-page .sidebar ul {
  padding: 0;
  list-style: none;
  border: 1px solid #d6ddeb;
  border-radius: 0 20px 0 20px;
  margin-bottom: 50px;
}

.admin-page .sidebar ul li a {
  font-family: "ClashDisplay";
  color: #25324b;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 20px;
  font-weight: 600;
  padding: 15px;
  border-bottom: 1px solid #d6ddeb;
  border-radius: 0 0 0 20px;
}

.admin-page .sidebar ul li:last-child a {
  border-bottom: none;
}

.admin-page .sidebar ul li a.active {
  box-shadow: 0 5px 20px 0 #0708291a;
  z-index: 9999;
  position: relative;
}

.request-logo,
.reviews-logo,
.header_profile-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 1px solid #d6ddeb;
  border-radius: 12px;
}

.cta_btns-about {
  gap: 5px;
  display: flex;
  flex-direction: column;
}

.request-logo img,
.reviews-logo img,
.header_profile-img img {
  object-fit: cover;
  width: auto;
  height: auto;
  max-width: 100%;
  /* max-height: 100%; */
}

button#user-menu-button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 18px;
  color: #262861;
}

.request-item,
.reviews-item {
  padding: 15px;
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  margin: 0;
  margin-bottom: 20px;
}

.admin-page .content {
  padding: 0 20px;
  padding-right: 0;
}

.reviews-item {
  display: flex;
}

p.request_company {
  font-family: "ClashDisplay";
  margin-bottom: 0px;
  font-weight: 600;
  font-size: 18px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.request-tags {
  display: flex;
  gap: 5px;
  justify-content: space-between;
}

.request-btn .btn.btn-outline {
  padding: 8px 28px;
}

.request-item-footer {
  border-top: 1px solid #f2f2f2;
  margin-top: 10px;
  padding-top: 7px;
  display: flex;
  width: 100%;
  justify-content: center;
}

p.request_status-text,
p.request_id-text {
  color: #262861;
  font-size: 13px;
}

p.request_id-text {
  display: flex;
  gap: 5px;
}

.request-item-top.col-lg-1 {
  padding: 0;
  display: flex;
  justify-content: end;
}

p.request_date-text {
  font-size: 13px;
  display: flex;
  gap: 3px;
}

span.request-tag {
  color: #7c8493;
  font-size: 14px;
  align-items: center;
  width: 100%;
  max-width: 150px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-right: 15px;
}

.request-item-footer .request-status {
  font-size: 14px;
}

.request-status {
  color: #e69b36;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.req_date {
  height: 100%;
  display: flex;
}

.request-date {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c8493;
}

.request-item .col-lg-2 {
  padding-left: 5px;
  padding-right: 5px;
}

.request-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.request-list .request-item {
  opacity: 1;
}

/* Set opacity of the 6th item to 0.5 */
.request-list .request-item:nth-child(6) {
  opacity: 0.5;
}

/* Hide all items beyond the 6th */
.request-list .request-item:nth-child(n + 7) {
  display: none;
}

/* Style the see-more section */
.see-more {
  text-align: center;
  margin-top: 20px;
}

.slim_fileupload .upload-area {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 12px;
}

div#favorite .result-box {
  margin-top: 0;
}

div#favorite .results-list {
  gap: 24px;
}

.reviews-info .comp_infostars {
  font-size: 20px;
  color: #e39c3c;
}

.review_text {
  color: #4b5162;
}

.reviews-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.setari_cont-card {
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  padding: 48px 40px;
}

h2#profile-name {
  color: #262861;
  font-weight: 700;
}

.close-account button {
  margin-top: 32px;
  color: #7c8493;
  display: flex;
  align-items: center;
  gap: 5px;
}

.show_desktop {
  display: flex !important;
}

.show_mobile {
  display: none !important;
}

.request-details-info {
  background: #fff;
  border-radius: 10px;
  padding: 32px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.request-details-card h2 {
  font-size: 24px;
  color: #262861;
  margin-bottom: 20px;
}

.request-details-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.request-details-content p strong {
  color: #262861;
}

.request-images h3 {
  font-size: 18px;
  color: #262861;
  margin-top: 20px;
  margin-bottom: 10px;
}

.image-gallery {
  display: flex;
  gap: 10px;
}

.image-placeholder {
  width: 100px;
  height: 100px;
  background: #e0e0e0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}

.image-placeholder:last-child {
  background: #666;
}

.back-button {
  margin-top: 20px;
}

.btn-outline {
  border: 1px solid #262861;
  color: #262861;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

.btn-outline:hover {
  background: #262861;
  color: #fff;
}

.request-details-header {
  padding-top: 0;
}

.request-details-header .request-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.request-details-header.container p.request_company {
  font-size: 24px;
  margin-bottom: 0;
}

.request-details-info h2 {
  font-family: "ClashDisplay";
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 22px;
}

.request-details-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.request-details-content p span {
  color: #4b5162;
}

.request-images .gallery_item {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border: 1px solid #262861;
  border-radius: 0 20px;
}

.request-images .portfolio-section {
  margin-top: 50px;
}

.request-details-buttons {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-form-section {
  background: #fff;
  padding: 20px;
  margin-top: 0;
  border: 1px solid #d6ddeb;
  border-radius: 20px;
}

.review-rating {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.review-form-section h3 {
  font-size: 24px;
  color: #262861;
  margin-bottom: 20px;
}

.review-rating label {
  width: 25%;
  min-width: 180px;
  color: #4b5162;
  font-weight: 400;
}

.review-rating {
  margin-bottom: 10px;
}

.review-rating label svg {
  margin-right: 8px;
}

.stars {
  display: flex;
  gap: 5px;
  line-height: 1;
}

.star {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
}

.star.filled {
  color: #e69b36;
}

.review-comment textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

:focus-visible {
  outline: none;
}

textarea.bt-line {
  border: none;
  border-top: 1px solid #d6ddeb;
  border-radius: 0;
  padding-top: 26px;
}

.review-form-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.btn-primary {
  background: #262861;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
}

.btn-primary:hover {
  background: #1e2047;
}

/* Stiluri pentru tab-ul Review */
.reviews-item {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reviews-info .comp_infostars {
  font-size: 18px;
  color: #e69b36;
}

.review_text {
  font-size: 14px;
  color: #666;
}

.reviews-btn {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
}

.reviews-date {
  font-size: 14px;
  color: #666;
}

/*END ADMIN PAGE*/

/*START HEADER*/
header .logo img {
  height: 40px;
  /* Ajustează înălțimea logo-ului */
}

.nav-menu {
  flex-grow: 1;
  margin-left: 30px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-item {
  display: inline-block;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #e69b36;
  /* Culoare portocalie similară cu logo-ul */
}

.header-actions .btn-primary {
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s;
  margin-right: 24px;
}

.header-actions .btn-primary:hover {
  background-color: #2a5c8e;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/*END HEADER*/
/*START ADMIN MESERIAS*/
span.status-nou {
  color: #0b44a0;
}

.status-finalizat {
  color: #0ba02c;
}

.subscription-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

p.subscription-info-renew span {
  font-weight: 600;
}

.subscription-info p strong {
  color: #e69b36;
}

.subscription-buttons {
  text-align: center;
  margin-top: 20px;
}

.subscription-timer {
  position: relative;
}

.timer-circle {
  position: relative;
  width: 200px;
  height: 200px;
}

.timer-svg {
  transform: rotate(-90deg);
}

.timer-bg {
  stroke: #e5e7eb;
}

.timer-progress {
  stroke: #e69b36;
  transition: stroke-dashoffset 1s linear;
}

.timer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 24px;
  color: #262861;
}

.timer-text span {
  font-weight: bold;
}

.timer-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7c8493;
  margin-top: 5px;
}

.timer-labels span {
  width: 33%;
  text-align: center;
}

p.subscription-info-title {
  font-family: "ClashDisplay";
  font-size: 30px;
  font-weight: 600;
  text-align: center;
}

p.subscription-info-date {
  font-family: "ClashDisplay";
  color: #e69b36;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 70px;
}

p.subscription-info-renew {
  text-align: center;
  width: 100%;
  max-width: 340px;
  margin: auto;
  font-size: 18px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.timer-circle {
  position: relative;
  width: 300px;
  height: 300px;
}

.timer-svg {
  transform: rotate(-90deg);
}

.timer-bg {
  stroke: #e5e7eb;
  stroke-dasharray: 20 20;
}

.timer-progress {
  stroke: #e69b36;
  transition: stroke-dashoffset 1s linear;
}

.timer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 36px;
  color: #262861;
}

.timer-text span {
  font-weight: 800;
  font-size: 15px;
}

.timer-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #cfcfcf;
  margin-top: 0px;
  font-weight: 400;
}

.timer-labels span {
  width: 25%;
  /* Ajustăm pentru 4 elemente */
  text-align: center;
}

span#timer-days-mobile,
span#timer-hours-mobile,
span#timer-minutes-mobile {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 43px;
}

span#timer-days-desktop,
span#timer-hours-desktop,
span#timer-minutes-desktop {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 43px;
}

.setari_cont-card-meserias .login_card {
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.setari_cont-card-meserias h3 {
  font-family: "ClashDisplay";
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
}

.setari_cont-card-meserias {
  border: none;
  border-radius: 20px;
  padding: 0;
}

.winput_right {
  padding: 20px;
}

.cert_inputs {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.form-field-input.nume-certificat,
.form-field-input.data-certificat {
  height: 44px;
}

.cert-add-button {
  width: fit-content;
}

.select2-container .select2-selection--multiple {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  min-height: 32px;
  user-select: none;
  -webkit-user-select: none;
}

.services-category .select2-container {
  width: 100% !important;
  overflow: hidden;
}

.select2-container--default .select2-selection--multiple {
  background-color: white !important;
  position: relative;
  width: 100%;
  border: 1px solid #d6ddeb;
  border-radius: 12px;
  padding: 5px 10px;
  font-size: 16px;
  color: #4b5162;
  transition: border-color 0.3s ease;
  display: flex;
  /*  align-items: center;*/
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 16px;
}

.service-item {
  animation: fadeInScale 0.3s ease-out forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.service-item .btn-check {
  display: none !important;
}

.service-item .btn-check + .service-label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #d6ddeb;
  background-color: white;
  color: #374151;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
  min-height: 54px;
  line-height: 1.2;
}

.service-item .btn-check:checked + .service-label {
  background-color: #262861;
  color: white !important;
  border-color: #262861;
  box-shadow: 0 4px 12px rgba(38, 40, 97, 0.15);
}

.service-item .btn-check + .service-label:hover {
  border-color: #262861;
  background-color: #f8f9fa;
}

.service-item .btn-check:checked + .service-label:hover {
  background-color: #1e204b;
  border-color: #1e204b;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  font-size: 14px;
  background-color: #f4f8fe;
  border: 1px solid #262861;
  border-radius: 20px;
  box-sizing: border-box;
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 3px;
  padding-left: 10px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: wrap;
  color: #262861;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  background-color: transparent;
  border: none;
  border-right: 1px solid #aaa;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  color: #dd0000;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding: 3px 8px;
  position: absolute;
  left: 0;
  top: -1px;
  bottom: 0;
}

.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #e69b36;
  color: white;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  list-style: none;
  padding: 0;
  height: 100%;
  display: inline-block;
  margin-bottom: 0;
}

span.select2-search.select2-search--inline {
  height: 100%;
  display: inline-block;
  line-height: 30px;
}

.select2-container .select2-search--inline .select2-search__field {
  box-sizing: border-box;
  border: none;
  font-size: 100%;
  margin-top: 0;
  margin-left: 5px;
  padding: 0;
  max-width: 100%;
  resize: none;
  height: 32px;
  vertical-align: bottom;
  font-family: sans-serif;
  overflow: hidden;
  word-break: keep-all;
}

/* .edit-account_section {
  margin-bottom: 36px;
} */

.checkbox-btn {
  padding: 8px 12px;
  font-size: 14px;
  color: #7c8493;
  line-height: 1.3;
  border: 1px solid #7c8493;
}

.btn-check:checked + .btn {
  border: 1px solid #262861;
  color: #262861;
  background-color: #f4f8fe;
}

.qr-tab-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.qr-code-wrapper {
  width: 100%;
  max-width: 300px;
  height: 100%;
  max-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  border: 4px solid #e69b36;
  border-radius: 27px;
}

.qr-code-wrapper img {
  width: 100%;
}

.qr-username {
  margin-top: 10px;
  font-family: "ClashDisplay";
  font-size: 28px;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 36px;
}

.qr-description {
  color: #4b5162;
  font-size: 20px;
  text-align: center;
  margin-bottom: 32px;
}

.abonamente-container {
  padding: 20px;
}

h2.abonamente-title {
  font-family: "ClashDisplay";
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 16px;
}

p.abonamente-subtitle {
  max-width: 550px;
  margin: auto;
  text-align: center;
  margin-bottom: 44px;
}

.plan-box {
  padding: 28px 24px;
  border-radius: 32px;
}

.plan-box {
  padding: 28px 24px;
  border-radius: 32px;
  border: 1px solid #d6ddeb;
  background-color: #f4f8fe;
  box-shadow: #262861 10px 10px 0px 0px;
  height: 100%;
}

h3.plan-title {
  font-size: 22px;
  text-align: center;
  line-height: 1.1;
  font-weight: 500;
  font-family: "ClashDisplay";
  box-shadow: 0px 2px 4px 0px #2628614d;
  border: 1px solid #d6ddeb;
  border-radius: 18px;
  width: fit-content;
  padding: 5px 18px;
  margin: auto;
  margin-bottom: 28px;
}

.plan-price {
  color: #e69b36;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-content: flex-start;
  flex-wrap: wrap;
}

.plan-price span {
  font-weight: 700;
  font-size: 44px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  margin-left: 5px;
}

ul.plan-features {
  margin-top: 28px;
  padding: 0;
  padding-top: 24px;
  border-top: 1px solid #d6ddeb;
  list-style: none;
  font-size: 14px;
}

ul.plan-features li {
  margin-bottom: 16px;
}

/*END ADMIN MESERIAS*/

/*START HOMEPAGE*/
section.hero_section.background_lightblue {
  border-radius: 0 0 150px 150px;
}

section.hero_section {
  position: relative;
}

section.hero_section .hero_img {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 800px;
}

section.hero_section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 150px;
}

h1.hero-title {
  font-size: 44px;
  font-family: "ClashDisplay";
  font-weight: 600;
  line-height: 1.1;
  z-index: 9;
  position: relative;
  text-align: center;
}

p.hero_description {
  margin-top: 24px;
  margin-bottom: 40px;
  z-index: 9;
  position: relative;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
div#myTabContent {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
input.hero-search {
  display: flex;
  align-items: center;
  background-color: rgb(255, 255, 255);
  box-shadow: rgb(244, 160, 0) 4px 4px 0px;
  position: relative;
  padding: 8px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(38, 40, 97);
  border-image: initial;
  overflow: hidden;
  border-radius: 0px 25px;
  margin-left: 0;
  margin-top: 0;
  height: 78px;
  width: 100%;
  padding-left: 70px;
  padding-right: 140px;
  z-index: 9;
  position: relative;
}

form.form_hero {
  position: relative;
  max-width: 600px;
  margin: auto;
}

form.form_hero svg {
  position: absolute;
  left: 27px;
  z-index: 99;
  top: 27px;
  bottom: 27px;
}

.btn_hero {
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: 14px;
  z-index: 9;
}

h2.hp_category-title {
  font-size: 44px;
  text-align: center;
  font-family: "ClashDisplay";
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 46px;
}

.categorySwiper {
  padding-bottom: 100px;
}

.disabled_swiper_button {
  opacity: 0;
  cursor: auto;
  pointer-events: none;
}

.swiper-button-next {
  right: -30px;
  color: #25324b;
}

.swiper-button-prev {
  color: #25324b;
  left: -30px;
}

.cat_box {
  box-shadow: 0px 4px 16px 0px #26286133;
  border: 1px solid #d6ddeb;
  border-radius: 0 20px;
  padding: 15px;
  margin: 10px;
  height: 100%;
}

p.cat_box-title {
  font-family: "ClashDisplay";
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: -15px;
}

.swiper-slide {
  height: auto;
}

.swiper-pagination-bullet-active {
  background: #25324b;
}

.app-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.app-phone-preview {
  margin-top: -80px;
}

section.app-section {
  margin-top: 150px;
}

.app-section-content {
  margin-left: 70px;
}

h2.app-title {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 44px;
  margin-bottom: 28px;
}

h2.app-title span.app-title-highlight {
  color: #e69b36;
}

.app-buttons {
  margin-top: 58px;
  display: flex;
  gap: 32px;
}

section.how-it-works-section {
  margin-top: 124px;
  margin-bottom: 124px;
}

h2.how-it-works-title {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 44px;
  line-height: 110.00000000000001%;
  text-align: center;
  max-width: 750px;
  margin: auto;
  margin-bottom: 24px;
}

p.how-it-works-subtitle {
  max-width: 750px;
  margin: auto;
  margin-bottom: 74px;
  color: #6c6f85;
}

h3.step-title {
  margin-top: 40px;
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  text-align: center;
  margin-bottom: 24px;
}

.about-section {
  padding: 100px 0;
  background-color: #f4f8fe;
}

.about-title {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 48px;
  margin-bottom: 24px;
  color: #25324b;
}

.highlight-orange {
  color: #e69b36;
}

.about-text {
  color: #4b5162;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 550px;
}

.about-btn {
  padding: 12px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
}

.about-image-wrapper {
  position: relative;
}

.about-content-bottom {
  display: flex;
  align-items: center;
}

.about-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 35px;
  margin-left: 30px;
}

.about-stats-list li {
  display: flex;
  align-items: center;
}

.about-stat-icon {
  background: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.about-stat-icon img {
  width: 18px;
  height: 18px;
}

.about-stat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.stat-number {
  font-weight: 600;
}

.stat-label {
  font-size: 13px;
}

.about-main-image {
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin-bottom: 70px;
  max-height: 475px;
  width: 335px;
  border-radius: 0 30px;
  border: 1px solid #262861;
}

.about-main-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.secure-section {
  background-color: #1d2261;
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.secure-title {
  font-size: 44px;
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 36px;
  font-family: "ClashDisplay";
}

.secure-description {
  font-size: 16px;
  color: #c8cbe2;
  max-width: 500px;
  line-height: 1.6;
}

.highlight-orange {
  color: #e69b36;
}

.secure-graphic-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.secure-shield {
  max-width: 250px;
  z-index: 1;
  position: relative;
}

/* Carduri */
.secure-card {
  background: white;
  color: #25324b;
  border-radius: 0 20px;
  padding: 20px;
  max-width: 290px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 2;
  gap: 12px;
}

.secure-card-top h4 {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 0;
}

.secure-card p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.secure-card-icon {
  box-shadow: 0px 3.43px 13.71px 0px #26286133;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 100px;
  background-color: #f0f4fb;
}

/* Poziționare carduri */
.secure-card-top-left {
  top: -50px;
  left: 0;
}

.secure-card-top-right {
  top: -40px;
  right: -80px;
}

.secure-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.secure-card-bottom {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.reviews-section {
  padding: 100px 0;
  background: white;
}

.reviews-title {
  font-size: 32px;
  font-weight: 700;
  color: #25324b;
  margin-bottom: 10px;
}

.reviews-subtitle {
  color: #6c6f85;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.review-card {
  background: #fff;
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  padding: 28px;
  margin: 0 auto;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.swiper.reviews-swiper {
  padding-bottom: 40px;
}

.review-text {
  font-size: 16px;
  color: #4b5162;
  line-height: 1.5;
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.review-card .comp_infostars {
  text-align: justify;
}

h2.faq-title {
  font-family: "ClashDisplay";
  font-weight: 600;
  font-size: 48px;
  line-height: 1.3;
  margin-bottom: 20px;
}

p.faq-desc {
  color: #4b5162;
  font-size: 16px;
  margin-bottom: 36px;
}

.accordion-button:not(.collapsed) {
  color: #1c1f25;
  background-color: #ffffff;
  box-shadow: none;
}

.accordion-button::before {
  content: "";
  width: 4px;
  height: 40%;
  background-color: #e39c3c;
  position: absolute;
  top: 30%;
  bottom: 30%;
  left: 0;
  border-radius: 10px;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #eceef4;
}

button.accordion-button {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

button:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

.accordion-body {
  color: #4b5162;
}

section.faq-section {
  padding-bottom: 100px;
}

/*END HOMEPAGE*/

.mobile_btns {
  display: none;
}

/*FOOTER*/
.footer-section {
  background-color: #202430;
  color: white;
  padding: 60px 20px 30px;
  font-size: 14px;
}

p.footer_about-info {
  color: #d6ddeb;
  line-height: 1.6;
  margin-bottom: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 2fr;
  gap: 40px;
}

a.footer_social {
  background-color: #e39c3c;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 500px;
  flex-wrap: 0;
  flex-grow: 0;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 16px;
}

.footer-column ul li a {
  color: #d6ddeb;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #e69b36;
}

p.newsletter-description {
  color: #d6ddeb;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.social-icons a img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.store-buttons a img {
  height: 40px;
  margin-right: 10px;
  margin-top: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 100px;
  border: none;
  font-size: 14px;
}

.newsletter-form button {
  background-color: #e39c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #25324b;
}

/*
 * Updated Footer Bottom Styles
 */

/* V1 */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  position: relative;
  padding: 0 16px;
}
.footer-bottom .footer-spacer {
  flex: 1;
}
.footer-bottom .copyright-text {
  flex: 0 1 auto;
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
}
.footer-bottom .powered-by {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

/* Requirement 3: Bigger image */
.powered-by img {
  height: 24px;
  /* Adjust the height as needed */
  margin-left: 8px;
  /* Adds a little space after "Powered by" */
}

.footer_power {
  float: right;
}

.footer_power img {
  width: 60px;
}

/*END FOOTER*/

/*CARD*/
/* Container general pentru form-ul de plată */
.login_card {
  width: 100%;
  max-width: 450px;
  margin: 50px auto;
  padding: 30px;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Stilizare etichete (labels) */
.login_card .form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  display: block;
}

/* Element Stripe (input pentru card) */
#card-element {
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #e0e4e9;
  background-color: #fafafa;
  transition: border-color 0.2s ease;
}

/* Hover și focus pentru input Stripe */
#card-element:hover,
#card-element:focus-within {
  border-color: #0069ff;
  box-shadow: 0 0 0 2px rgba(0, 105, 255, 0.1);
}

/* Mesajele de eroare de la Stripe */
#card-errors {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

/*END CARD*/
.user-menu {
  position: relative;
  display: inline-block;
}

.user-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.user-menu-dropdown {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 180px;
  text-align: left;
  flex-direction: column;
}

.user-menu-dropdown a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.user-menu-dropdown a:hover {
  background-color: #f0f0f0;
}

/* a.back-login-link {
  text-align: center;
  width: 100%;
  display: block;
  margin-top: 15px;
  transition: 0.3s;
}

a.back-login-link:hover {
  text-align: center;
  width: 100%;
  display: block;
  margin-top: 15px;
  transition: 0.3s;
  color: #e69b36;
} */

/* Filtrul pe mobil */
.filter-wrapper {
  display: block;
}

.mobile-filter-btn,
button#close-filter {
  display: none;
}

@media screen and (max-width: 768px) {
  .filter-wrapper {
    display: none;
    position: fixed;
    background: #fff;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 75px;
  }

  .close-filter {
    display: block;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #262861;
  }

  aside.sidebar,
  .mobile-filter-btn,
  button#close-filter {
    display: flex !important;
  }

  .footer-bottom {
    /* 1. Change layout from row to a vertical column */
    flex-direction: column;

    /* 2. Center the items horizontally */
    justify-content: center;

    /* 3. Add some space between the stacked items */
    gap: 15px;

    /* 4. Center the text within each item */
    text-align: center;
  }
}

/* Butonul de deschidere (mobil only) */
.mobile-filter-btn {
  display: none;
  border: none;
  background: none;
  color: #262861;
  font-weight: bold;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .mobile-filter-btn {
    display: flex;
  }
}

.img-fluid {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

#date-juridice,
#date-fizice {
  transition: all 0.3s ease;
  padding: 15px;
  background-color: #ededed;
  margin-bottom: 15px;
  border-radius: 10px;
}

/* --------------------------------------------------------------NAVBAR-------------------------------------------------------------  */

.distance-navbar {
  margin-top: 60px;
  margin-bottom: 60px;
}

.nav-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #202430; /* Dark background matching image */
  padding: 0 10px 12px 10px;
  display: flex !important; /* Force display since it was display: none */
  justify-content: space-between;
  align-items: flex-end;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  height: 80px;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

/* Elemente de navigație */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  color: #94a3b8; /* Muted color for inactive */
  font-size: 11px;
  font-weight: 500;
  z-index: 1;
  position: relative;
  transition: all 0.3s ease;
  flex: 1;
  padding-bottom: 5px;
  gap: 6px;
}

.nav-item.active-navbar {
  color: #ffffff !important;
}

.nav-item.active-navbar img {
  filter: brightness(0) invert(1) !important;
}

.nav-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #ef4444;
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #202430;
  line-height: 1;
  z-index: 10;
}

.nav-item img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(0.6); /* Muted icon for inactive */
  transition: 0.3s ease;
}

.nav-item.active-navbar img {
  filter: brightness(0) invert(1);
}

.nav-home {
  position: relative;
  width: 80px;
  flex: 0 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10;
}

.nav-home-btn {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  background-color: #e69b36;
  border-radius: 50%;
  border: 6px solid #202430; /* Match navbar background */
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  z-index: 20;
}

.nav-home-btn img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1); /* White logo on orange */
}

.nav-container .nav-item:nth-child(2) {
  margin-right: 0px;
}

.nav-container .nav-item:nth-child(4) {
  margin-left: 0px;
}
h1.hero-title-contractor {
  font-size: 44px;
  font-family: "ClashDisplay";
  font-weight: 600;
  line-height: 1.1;
  z-index: 9;
  position: relative;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  /* pe desktop, ascunde dropdown-ul */
  .mobile-menu {
    display: none;
  }
}

.no_data-box img {
  width: auto;
  max-width: 100%;
  margin: auto;
  height: auto;
}

.no_data-box {
  text-align: center;
}

.no_data-box h4 {
  font-family: "ClashDisplay";
}

p.abonamente-subtitle.abonamente_label {
  color: #fff;
  border-radius: 50px;
  padding: 10px;
  text-align: center;
}

p.abonamente_label-info {
  text-align: center;
  font-size: 13px;
  letter-spacing: -0.5px;
  margin-bottom: 50px;
}

.plan-box.plan_box-white {
  background-color: #fff;
  border-color: #ebebeb;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  border-radius: 0 30px;
}

.reg_abon-container h3.plan-title {
  box-shadow: none;
  border: none;
  text-align: left;
  padding: 0;
  margin: 0;
  margin-bottom: 30px;
}

.reg_abon-container h3.plan-title span {
  display: block;
  background-color: #262761;
  color: #fff;
  font-family: "Inter";
  font-weight: 400;
  font-size: 13px;
  padding: 7px;
  border-radius: 50px;
  width: fit-content;
}

.reg_abon-container .abon_plan-period {
  font-size: 40px;
  color: #000;
  margin-bottom: 20px;
}

.reg_abon-container .abon_plan-period span {
  font-size: 14px;
}

.abon_plan-btn a {
  background-color: #e69b36;
  color: #fff;
  text-align: center;
  width: 100%;
  display: block;
  margin-top: 30px;
  padding: 10px;
  border-radius: 30px;
}

.plan-box.plan_box-featured {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  border-radius: 0 30px;
  background-color: #e9a750;
  border-color: #e9a750;
}

.reg_abon-plan-top {
  background-color: #ffffff9c;
  border-radius: 0 20px;
  padding: 10px;
}

.plan-box.plan_box-featured .abon_plan-btn a {
  background-color: #262761;
}

.reg_abon-container {
  padding: 0;
}

.abon_plan-btn a:hover {
  background-color: #262761;
}

.plan-box.plan_box-featured .abon_plan-btn a:hover {
  background-color: #e69b36;
}

.reg_abon-contract_text {
  display: flex;
  flex-wrap: wrap;
}

.reg_abon-contract_text label {
  line-height: 30px;
  color: #000;
}

.reg_abon-contract_text input {
  border: 2px solid #e69b36;
  border-radius: 40px;
  padding: 5px 15px;
  margin-bottom: 11px;
  width: 100%;
  display: block;
}

button#sig-clearBtn {
  background-color: #ddd;
  border: none;
  padding: 5px 10px;
  border-radius: 10px;
}

#meserias-contract-section h3 {
  font-size: 15px;
  line-height: 1;
  font-family: "ClashDisplay";
  margin-top: 25px;
}

#meserias-contract-section p,
#meserias-contract-section li {
  font-size: 12px;
}

form#create-meserias-account-form {
  display: contents;
}

.btn.btn_red {
  text-align: left;
}

button.btn.btn_red {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: red;
  padding: 0;
  font-size: 14px;
}

button.btn.btn_red img {
  width: 16px;
}

div#abonament-section,
div#meserias-contract-section {
  max-width: 1000px;
}

.modal.show .modal-dialog {
  transform: none;
  margin-top: 10%;
}

/***************************************************/
/****                                           ****/
/****                                           ****/
/****                RESPONSIVE                 ****/
/****                                           ****/
/****                                           ****/
/***************************************************/

/*767px*/
@media only screen and (max-width: 767px) {
  .nav-container {
    display: flex;
    z-index: 999999;
  }

  .show_desktop {
    display: none !important;
  }

  .show_mobile {
    display: flex !important;
  }

  .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  ul.pagination_list.justify-content-center,
  .comp_infostars {
    gap: 12px;
  }

  span.resuts_nr {
    font-family: ClashDisplay;
    font-size: 16px;
    color: #25324b;
  }

  sults-header .sort {
    border: 1px solid #6c757d;
    padding: 5px 10px;
    border-radius: 100px;
  }

  label.me-2[for="sort"],
  select.select-sort {
    font-size: 16px;
  }

  .results-header .sort {
    padding: 5px 5px;
    display: flex;
    justify-content: space-between;
  }

  .content,
  aside {
    padding: 0px;
  }

  .results-header h2 {
    padding: 0 15px;
  }

  .result-box {
    margin-top: 0;
    padding: 10px 24px;
    padding-bottom: 30px;
  }

  .results-header {
    margin-bottom: 32px;
    padding: 0 15px;
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    max-width: 100%;
    margin-bottom: 54px;
  }

  .results-list {
    gap: 24px;
    padding: 0;
  }

  .verification-section span.verified-label {
    margin-left: 7px;
    font-size: 12px;
    font-weight: 400;
  }

  .verification-section {
    margin-bottom: 18px;
  }

  .company-logo {
    width: 67px;
    height: 67px;
    margin-right: 8px;
  }

  h3.company-title {
    font-size: 18px;
    font-weight: 700;
    color: #25324b;
    line-height: 20px;
    margin-bottom: 2px;
  }

  .rating_com {
    color: #25324b;
    font-size: 14px;
  }

  span.rating_comTotal,
  span.rating_comTotalRec {
    font-size: 12px;
  }

  .icons-zone,
  .row.com_service {
    margin-top: 16px;
  }

  .feature_box svg {
    width: 18px;
    height: 18px;
  }

  p.feature_boxText {
    font-size: 14px;
    margin-left: 6px;
  }

  .feature_box {
    margin-right: 12px;
  }

  .services-zone,
  .buttons-zone {
    width: 100%;
    padding: 0;
  }

  .col-4.buttons-zone {
    margin-top: 24px;
  }

  nav a {
    margin-left: 0;
  }

  .profile-image-section {
    height: 150px;
  }

  .title-content-section {
    margin-top: 80px !important;
    padding: 0 15px;
  }

  .informations-section {
    margin-top: 40px;
    padding: 0 15px;
  }

  /*details_page*/
  .reviews_total-note {
    align-items: baseline;
    flex-direction: column;
  }

  img.img-fluid {
    border-radius: 20px;
  }

  a.btn.btn-slider {
    display: none;
  }

  .title-content-section h1 {
    font-size: 34px;
    line-height: 38px;
  }

  .title-content-section .rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .title-content-features {
    margin-top: 18px;
    gap: 22px;
  }

  .top_label {
    display: flex;
    justify-content: flex-start;
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .btns_col {
    flex-direction: column-reverse;
    display: flex;
  }

  .title-content-section.row > div,
  .informations-section > .col-md-8 {
    padding: 0;
  }

  .services_container {
    padding: 32px 18px;
  }

  .services_list .services_box {
    padding: 20px;
  }

  .services_items {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 13px;
  }

  .sidebar-details {
    margin-top: 64px;
    padding: 24px 20px;
  }

  .reviews-section {
    margin-top: 64px;
  }

  .reviews-section h2,
  .portfolio-section h2,
  .qualifications-section h2 {
    font-size: 24px;
  }

  .review_container-top {
    padding: 20px;
    padding-bottom: 50px;
  }

  .review_container-top .row > div {
    padding: 0;
  }

  .review_total-summary {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    gap: 4px;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
  }

  .addReviewBtn {
    margin-top: 28px;
    margin-bottom: 32px;
    justify-content: flex-start;
  }

  .review_item {
    padding: 18px;
  }

  button.btn.btn-outline {
    width: 100%;
  }

  .portfolio-section,
  .qualifications-section,
  .trust-notification {
    margin-top: 64px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery a {
    height: auto;
  }

  .qualifications_list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .qualification-img {
    width: 150px;
    height: 100%;
    max-height: 150px;
  }

  .qualifications_item {
    display: flex;
    gap: 20px;
  }

  .qualifications-text {
    text-align: left;
    margin-top: 12px;
  }

  .trust-notification > div {
    display: flex;
    flex-direction: column;
  }

  .row.trust-checklist {
    flex-direction: column;
    margin-top: 36px;
    margin-left: 0;
  }

  .trust-notification {
    padding: 28px 18px;
  }

  p.trust-checklist_title-list {
    display: flex;
    align-items: center;
    line-height: 1;
    gap: 10px;
    margin-left: -4px;
  }

  ul.trust-checklist_title-items {
    padding-left: 0;
  }

  /*Request offer page*/
  .formSection {
    padding: 28px 18px;
  }

  .form_title h2 {
    font-size: 28px;
  }

  .form_section .form-group.col-lg-6 {
    padding: 0;
  }

  .checkbox-group {
    margin-top: 10px;
    gap: 16px;
  }

  /*login page*/
  .login_page {
    padding-left: 15px;
    padding-right: 15px;
  }

  .login_card {
    padding: 28px 18px;
  }

  /*header*/
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .header-actions.active {
    display: block;
    text-align: center;
    margin-top: 20px;
  }

  .request-item-top.col-lg-1 {
    justify-content: space-between;
    align-items: center;
  }

  p.request_status-text,
  p.request_id-text,
  p.request_date-text {
    display: flex;
    flex-direction: column;
  }

  p.request_date-text {
    justify-content: center;
    margin-right: 10px;
  }

  span.request-tag {
    max-width: 100%;
  }

  .categorySwiper {
    width: calc(100% + 0px);
    margin-top: 15px;
    /*margin-right: -15px;*/
    /*margin-left: -15px;*/
    padding: 0 15px;
    padding-bottom: 75px;
  }

  .cat_box {
    margin: 0;
    padding: 15px;
  }

  p.cat_box-title {
    margin-bottom: 0;
  }

  /*admin page*/
  .mobile_welcome {
    display: flex !important;
    flex-direction: column;
  }

  .mobile_welcome_container {
    padding: 0 20px;
  }

  .profile_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .profile_img {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 100%;
  }

  .profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hello_msg {
    margin-top: 16px;
    font-family: "ClashDisplay";
    font-weight: 600;
    font-size: 24px;
  }

  .request_btn a {
    width: 100%;
    margin-bottom: 40px;
    margin-top: 40px;
  }

  .admin-page .content,
  .request-info,
  .reviews-info {
    padding: 0;
  }

  .request-tags {
    gap: 8px;
    flex-direction: column;
  }

  .request-item-top {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    align-items: center;
  }

  .request-top-meta {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .request-status .status-active {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    gap: 2px;
    font-size: 13px;
    font-weight: 500;
  }

  /* Specific fix for images in status if any */
  .request-status .status-active svg,
  .request-status .status-active img {
    margin-bottom: 2px;
  }

  .request-date {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #7c8493;
    line-height: 1.2;
    font-weight: 500;
  }

  .request-date-only {
    color: #25324b;
    font-weight: 600;
  }

  .request-time-only {
    font-size: 12px;
  }

  .request-item-content {
    padding: 15px;
  }

  .request-btn {
    margin-top: 24px;
  }

  .request-info,
  .reviews-info {
    margin-top: 10px;
  }

  .setari_cont-card {
    border: none;
    border-radius: 0;
    padding: 0;
  }

  #setari_cont-card .profile-image-circle {
    width: 60px;
    height: 60px;
  }

  #setari_cont-card .placeholder-icon svg {
    width: 20px;
  }

  .request-item.row {
    margin: 0;
  }

  .request-details-item .request-item-top {
    width: 20%;
  }

  .request-details-item .request-info {
    width: 80%;
    margin-top: 0;
  }

  .page-content {
    padding-top: 30px;
    padding-bottom: 150px;
  }

  .request-details-info {
    padding: 25px 20px;
  }

  .request-details-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .request-images .gallery_item {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    border: 1px solid #262861;
    border-radius: 0 15px;
  }

  .request-details-buttons {
    margin-top: 30px;
    gap: 20px;
    display: flex;
    flex-direction: column;
  }

  .certs-item {
    margin-bottom: 15px;
  }

  .qr-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-group.row {
    gap: 12px;
  }

  p.subscription-info-date {
    font-family: "ClashDisplay";
    color: #e69b36;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
  }

  .subscription-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .subscription-timer {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

  /* .plan-list.row > div {
    margin-bottom: 30px;
  } */

  a.plan-button.btn.btn-primary {
    width: 100%;
  }

  /*homepage*/
  .app-section .container {
    flex-direction: column;
  }

  .about-main-image {
    width: 100%;
    margin-bottom: 0;
    margin-top: 50px;
  }

  .app-section-content {
    margin-left: 0;
  }

  section.hero_section {
    position: relative;
    padding-top: 50px;
    padding-bottom: 310px;
  }

  h1.hero-title,
  h2.hp_category-title,
  h2.app-title,
  h2.how-it-works-title,
  .about-title,
  .secure-title,
  h2.faq-title {
    font-size: 34px;
  }

  input.hero-search {
    padding-left: 50px;
  }

  form.form_hero svg {
    left: 15px;
  }

  section.hero_section .hero_img {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 100%;
  }

  .hero_section {
    margin-bottom: 30px;
  }

  h2.hp_category-title,
  h2.app-title,
  h2.how-it-works-title,
  .about-title,
  .secure-title,
  h2.faq-title {
    margin-bottom: 16px;
  }

  section.app-section {
    margin-top: 100px;
  }

  .app-buttons {
    margin-top: 50px;
    display: flex;
    gap: inherit;
    justify-content: space-between;
    margin-bottom: 50px;
  }

  section.how-it-works-section {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .how-it-works-step {
    width: 50%;
    margin-bottom: 45px;
  }

  .step-icon img {
    max-width: 100px;
  }

  h3.step-title {
    margin-top: 20px;
    font-family: "ClashDisplay";
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    margin-bottom: 14px;
  }

  p.step-desc {
    font-size: 14px;
  }

  .about-content-bottom {
    flex-direction: column;
    margin-top: 30px;
  }

  section.about-section .row.align-items-center {
    flex-direction: column-reverse;
  }

  .about-section,
  .secure-section {
    padding: 50px 0;
  }

  ul.about-stats-list {
    margin-left: 0;
    gap: 15px;
    margin-top: 20px;
  }

  .secure-card-top-left,
  .secure-card-top-right,
  .secure-card-bottom {
    top: 0;
    left: 0;
    right: 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    transform: translateX(0);
  }

  .secure-graphic-wrapper {
    flex-direction: column;
  }

  .reviews-section {
    padding: 20px 0;
  }

  div#faqAccordion {
    margin-top: 30px;
  }

  .mobile_btns {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .mobile_btns a.btn {
    font-size: 13px;
    padding: 3px 10px;
  }

  header .logo img {
    height: 50px;
  }

  .mobile_btns svg {
    width: 30px;
    height: 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  form.newsletter-form {
    flex-direction: column;
  }

  .footer-column ul li {
    margin-bottom: 8px;
  }

  .footer-section {
    background-color: #202430;
    color: white;
    padding: 20px;
    font-size: 14px;
    padding-bottom: 100px;
  }

  .footer-bottom {
    margin-top: 0;
  }

  /* ascunde lista normală pe mobil */
  /* .sidebar ul {
    display: none;
  } */

  .desktop_only {
    display: none;
  }

  /* Original styles for context */
  .mobile-menu {
    display: block;
    margin-bottom: 1rem;
    /* position: relative; /* Add this if you plan to use ::after for the arrow on the wrapper */
  }

  #mobile-menu-select {
    font-family: "ClashDisplay", sans-serif;
    /* Added a common fallback font */
    color: #25324b;
    /* display: flex; */
    /* Generally not needed or effective for styling select internals */
    /* align-items: center; */
    /* gap: 18px; */
    font-size: 20px;
    /* This will affect the 'em' unit for arrow size */
    font-weight: 600;
    padding: 20px 24px;
    /* We will adjust right padding */
    border: 1px solid #d6ddeb;
    border-radius: 0 20px 0 20px;
    width: 100%;
    cursor: pointer;
    /* Good for usability */

    /* --- NEW STYLES FOR CUSTOM ARROW --- */
    /* 1. Hide the default browser arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* 2. Add your custom arrow as a background image */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2325324B'%3E%3Cpath d='M8 11.293l-4.646-4.647a.5.5 0 0 1 .708-.708L8 9.879l3.938-3.939a.5.5 0 0 1 .708.708L8 11.293z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;

    /* 3. Position and size the custom arrow */
    /* 'right 15px center' means 15px from the right edge, vertically centered */
    background-position: right 15px center;
    /* Adjust '15px' to move arrow left/right from the edge */
    background-size: 1.6em 1.6em;
    /* Make arrow bigger (1.2 times the font-size) - adjust as needed */
    /* Or use fixed pixels: e.g., 18px 18px */

    /* 4. Adjust right padding to make space for the arrow and prevent text overlap */
    /*    Current right padding is 24px. Arrow is ~1.2em (e.g. 24px if font-size 20px) + 15px offset. */
    /*    So we need at least 24px (arrow) + 15px (offset from edge) = 39px. Add some extra space. */
    /* padding-right: 50px; */
    /* Adjust this value: e.g., arrow width + offset + desired space */
  }

  /* Remove the default arrow for IE/Edge (older versions) */
  #mobile-menu-select::-ms-expand {
    display: none;
  }

  .mobile-menu-select {
    font-family: "ClashDisplay", sans-serif;
    /* Added a common fallback font */
    color: #25324b;
    /* display: flex; */
    /* Generally not needed or effective for styling select internals */
    /* align-items: center; */
    /* gap: 18px; */
    font-size: 20px;
    /* This will affect the 'em' unit for arrow size */
    font-weight: 600;
    padding: 20px 24px;
    /* We will adjust right padding */
    border: 1px solid #d6ddeb;
    border-radius: 0 20px 0 20px;
    width: 100%;
    cursor: pointer;
    /* Good for usability */

    /* --- NEW STYLES FOR CUSTOM ARROW --- */
    /* 1. Hide the default browser arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* 2. Add your custom arrow as a background image */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2325324B'%3E%3Cpath d='M8 11.293l-4.646-4.647a.5.5 0 0 1 .708-.708L8 9.879l3.938-3.939a.5.5 0 0 1 .708.708L8 11.293z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;

    /* 3. Position and size the custom arrow */
    /* 'right 15px center' means 15px from the right edge, vertically centered */
    background-position: right 15px center;
    /* Adjust '15px' to move arrow left/right from the edge */
    background-size: 1.6em 1.6em;
    /* Make arrow bigger (1.2 times the font-size) - adjust as needed */
    /* Or use fixed pixels: e.g., 18px 18px */

    /* 4. Adjust right padding to make space for the arrow and prevent text overlap */
    /*    Current right padding is 24px. Arrow is ~1.2em (e.g. 24px if font-size 20px) + 15px offset. */
    /*    So we need at least 24px (arrow) + 15px (offset from edge) = 39px. Add some extra space. */
    /* padding-right: 50px; */
    /* Adjust this value: e.g., arrow width + offset + desired space */
  }

  /* Remove the default arrow for IE/Edge (older versions) */
  .mobile-menu-select::-ms-expand {
    display: none;
  }

  .sidebar {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
  }

  .mobile_btns img {
    max-width: 25px;
    height: auto;
  }

  a.mobile_header_notification {
    position: relative;
  }

  span.notification_nr {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
    font-size: 11px;
    background-color: #e69b36;
    color: #fff;
    padding: 1px 2px;
    border-radius: 30px;
  }

  .footer_power {
    float: none;
    margin-top: 30px;
  }

  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .trust-notification-box {
    flex-direction: column;
    gap: 15px;
  }

  .trust-notification-items {
    margin: 0 !important;
  }

  header {
    padding: 10px;
  }

  nav.page_navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .pagination_list {
    order: 1;
    flex: 0 0 100%;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .pagination_backBtn,
  .pagination_forwBtn {
    order: 2;
    flex: 0 0 45%;
    margin: 0 2.5%;
    margin-top: 15px;
  }

  .pagination_backBtn .Btn-link,
  .pagination_forwBtn .Btn-link {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  div#favorite .results-list {
    gap: 24px;
    padding: 0;
  }

  a.nav-item.active-navbar {
    color: #E69B36 !important;
  }

  a.nav-item.active-navbar img {
    filter: invert(66%) sepia(59%) saturate(874%) hue-rotate(353deg) brightness(160%) contrast(89%) !important;
  }

  .swiper-button-next {
    right: 0 !important;
  }

  .swiper-button-prev {
    left: 0 !important;
  }

  .cat_box {
    box-shadow: 0px 4px 7px 0px #26286133;
    border: 1px solid #d6ddeb;
    border-radius: 0 20px;
    padding: 15px;
    /* margin: 10px; */
    margin: 0 auto;
    height: 100%;
    width: 75%;
  }

  .swiper-slide-active {
    margin-right: -15px !important;
    margin-left: 10px !important;
  }

  .categorySwiper {
    padding-left: 0;
    padding-right: 0;
  }
}

.category-dropdown {
  font-weight: 600;
  /* Makes the text slightly bolder */
  border: 1px solid #004a7c;
  /* Dark blue border - adjust color as needed */
  /* You might need to adjust padding or height if the border makes it look different */
}

.remove-service-button {
  background-color: #dc3545;
  /* Red background */
  color: white;
  /* White text */
  border-color: #dc3545;
  /* Red border */
  padding: 0.375rem 0.75rem;
  /* Adjust padding to match other .btn if needed */
  font-size: 0.9rem;
  /* Adjust font size */
  margin-top: 5px;
  /* Add some space above if it's below the select */
  /* Or if it's next to it, you might need margin-left */
}

.remove-service-button:hover,
.remove-service-button:focus {
  background-color: #c82333;
  /* Darker red on hover/focus */
  border-color: #bd2130;
  color: white;
}

.app-container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
  box-sizing: border-box;
  /* Include padding and border in the element's total width and height */
  display: flex;
  /* Use flexbox to manage children if needed */
  flex-direction: column;
  /* Stack children vertically */
}

.NT-page-container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  /* Ensures child elements with negative margins don't break layout */
}

.NT-header {
  display: flex;
  align-items: center;
  /* Vertically align items */
  justify-content: space-between;
  padding: 20px 25px;
  /* Adjusted padding */
  border-bottom: 1px solid #e9ecef;
  /* Lighter border */
}

.NT-header-left {
  /* Wrapper for back button and title */
  display: flex;
  align-items: center;
  gap: 15px;
}

.NT-header-actions {
  display: flex;
  gap: 10px;
  /* Space between the two new buttons */
  margin-left: 15px;
  /* Space between title and actions */
}

.NT-header-action-btn {
  padding: 8px 15px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background-color: #f8f9fa;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 6px;
  /* Space between icon and text in button */
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.NT-header-action-btn:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.NT-header-action-btn .NT-btn-icon {
  width: 16px;
  /* Adjust icon size as needed */
  height: 16px;
  /* fill: #ffffff */
}

.NT-delete-all-btn {
  /* Specific style for delete all button if needed */
  border-color: #dc3545;
  color: #dc3545;
}

.NT-delete-all-btn:hover {
  background-color: #e9ecef;
  border-color: #c82333;
}

/* .NT-delete-all-btn:hover .NT-btn-icon {
    fill: #fff;
} */

.NT-header-action-btn.NT-btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #e9ecef;
  /* Lighter background when disabled */
  border-color: #ced4da;
}

.NT-header-action-btn.NT-btn-disabled:hover {
  background-color: #e9ecef;
  /* Prevent hover effect when disabled */
  border-color: #ced4da;
}

.NT-back-icon {
  /* width: 24px; */
  height: 24px;
  /* margin-right: 10px; Removed, using gap from flexbox */
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.NT-back-icon:hover {
  transform: translateX(-3px);
}

.NT-btn-text {
  line-height: 1;
  /* Helps with vertical alignment sometimes */
}

.NT-page-title {
  /* Style for "Notificări" */
  font-size: 1.75em;
  /* Larger title */
  font-weight: 600;
  /* Bolder */
  color: #343a40;
  margin: 0;
  /* Remove default margin */
}

/* Notification List Wrapper & List */
.NT-list-wrapper {
  padding: 0px;
  /* No padding on wrapper, padding will be on items */
}

/* Individual Notification Item Styling */
.NT-notification {
  display: flex;
  align-items: flex-start;
  /* Align items to the top for multi-line text */
  padding: 18px 25px;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease-in-out;
  position: relative;
  /* For unread indicator positioning */
}

.NT-notification:last-child {
  border-bottom: none;
}

.NT-notification:hover {
  background-color: #f8f9fa;
  /* Slight hover effect */
}

.NT-notification-unread {
  background-color: #e7f3ff;
  /* Lighter blue for unread */
  font-weight: 500;
  /* Slightly bolder text for unread items */
}

/* Unread indicator (a small dot) */
.NT-notification-unread::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #007bff;
  /* Blue dot */
  border-radius: 50%;
}

/* Icon and Avatar Wrapper */
.NT-icon-avatar-wrapper {
  flex-shrink: 0;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  /* Consistent width for the icon/avatar area */
  height: 48px;
}

.NT-profile-pic {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
  /* Ensures image covers the area without distortion */
  border: 2px solid #fff;
  /* Optional: white border around avatar */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.NT-type-icon {
  /* For general notification type icons (accept, decline etc.) */
  width: 32px;
  /* Adjust as needed */
  height: 32px;
  opacity: 0.7;
}

/* Notification Text Content */
.NT-content-wrapper {
  /* This is the <a> tag */
  display: flex;
  align-items: flex-start;
  /* Align items to the top */
  flex-grow: 1;
  text-decoration: none;
  color: #212529;
  /* Darker text for better readability */
}

.NT-text-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.NT-title-time-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  /* Align title and time nicely */
  margin-bottom: 4px;
}

.NT-title {
  font-size: 1.05em;
  /* Slightly larger title */
  font-weight: 600;
  /* Bolder title */
  color: #343a40;
  margin-right: 10px;
  /* Space between title and time if they wrap */
}

.NT-time {
  font-size: 0.8em;
  color: #6c757d;
  /* Muted color for time */
  white-space: nowrap;
  /* Prevent time from wrapping */
  margin-left: auto;
  /* Push time to the right */
}

.NT-message-preview {
  /* Renamed from NT-text p */
  font-size: 0.9em;
  color: #495057;
  line-height: 1.5;
  margin: 0;
}

/* Notification Actions */
.NT-notification-actions {
  margin-left: 15px;
  display: flex;
  align-items: center;
  /* Center the delete button vertically */
  flex-shrink: 0;
  padding-top: 4px;
  /* Align with text content better */
}

.NT-action-btn {
  /* General style for action buttons if you add more */
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.NT-action-btn:hover {
  background-color: #e9ecef;
}

.NT-delete-btn .NT-delete-icon-svg {
  /* Style for the SVG inside delete button */
  width: 18px;
  height: 18px;
  fill: #6c757d;
  /* Color for the SVG icon */
}

.NT-delete-btn:hover .NT-delete-icon-svg {
  fill: #dc3545;
  /* Red on hover for delete */
}

/* Styling for different notification types */
/* Accepted */
.NT-type-accepted .NT-title {
  color: #28a745;
  /* Green */
}

/* Declined */
.NT-type-declined .NT-title {
  color: #dc3545;
  /* Red */
}

/* Completed */
.NT-type-completed .NT-title {
  color: #17a2b8;
  /* Teal/Info Blue */
}

/* New Offer */
.NT-type-new-offer .NT-title {
  color: #ffc107;
  /* Amber/Yellow */
}

.NT-type-new-offer.NT-notification-unread .NT-profile-pic {
  /* Special highlight for unread new offers */
  border: 2px solid #ffc107;
}

/* New Message */
.NT-type-new-message .NT-title {
  color: #007bff;
  /* Standard Blue */
}

/* New Review */
.NT-type-review .NT-title {
  color: #fd7e14;
  /* Orange */
}

/* Empty State */
.NT-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 54vh;
  color: #6c757d;
}

.NT-empty-state img {
  max-width: 100px;
  /* Slightly smaller image */
  margin-bottom: 20px;
  opacity: 0.6;
}

.NT-empty-state p {
  font-size: 1.05em;
  margin-top: 0;
}

/* Desktop Notification Icon in Header */
.desktop_header_notification {
  margin-right: 15px;
  /* Space before the user profile */
  position: relative;
  /* For positioning the count badge */
  text-decoration: none;
  display: inline-block;
  /* Or flex for better alignment if needed */
  line-height: 1;
  /* Helps align badge with icon */
}

.desktop_header_notification img {
  width: 28px;
  vertical-align: middle;
}

.notification_nr.desktop_notification_nr {
  position: absolute;
  left: 1px;
  top: -8px;
  line-height: 1;
  font-size: 14px;
  background-color: #e69b36;
  color: #fff;
  padding: 2px 3px;
  border-radius: 30px;
}

/* Desktop Notification Icon in Header */
.desktop_header_logout {
  margin-right: 15px;
  /* Space before the user profile */
  position: relative;
  /* For positioning the count badge */
  text-decoration: none;
  display: inline-block;
  /* Or flex for better alignment if needed */
  line-height: 1;
  /* Helps align badge with icon */
}

.desktop_header_logout img {
  width: 24px;
  /* Or your desired size */
  height: 24px;
  vertical-align: middle;
  /* Align with text if any, or other icons */
}

.desktop_header_chat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #262861;
  color: white;
  border-radius: 32px;
  padding: 8px 30px;
  margin-right: 15px;
}

.desktop_header_chat.active,
.desktop_header_chat.active svg path {
  color: #e69b36;
  fill: #e69b36;
}

/* Detect City Button Container on filter page */
#detect-city-btn {
  padding: 6px 20px !important;
  white-space: nowrap;
}

#detect-city-status {
  display: block;
  margin-top: 4px;
}

.hero_content {
  width: 100%;
  max-width: 750px;
  margin: auto;
}
/* containerul de tab-uri – pastilă cu border și shadow */
#myTab {
  border: 2px solid #889abd;
  border-radius: 999px;
  padding: 5px;
  display: inline-flex;
  background: #ffffff; /* peste stilul default bootstrap */
}

/* scoatem stilul clasic de tabs Bootstrap */
#myTab .nav-link {
  border: none;
  border-radius: 999px;
  margin: 0;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 18px;
  color: #262861;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* iconițele din butoane */
#myTab .nav-link img {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
}

/* starea activă – tab albastru */
#myTab .nav-link.active {
  background: #262861;
  color: #ffffff;
}

/* tab neactiv – doar text portocaliu pentru mAlert */
#mAlert-tab.nav-link {
  color: #b82b00;
}

/* când mAlert e activ – portocaliu plin */
#mAlert-tab.nav-link.active {
  background: #b82b00;
  color: #ffffff;
}

/* elimină underline-ul default de la .nav-tabs */
.nav-tabs {
  border-bottom: 0;
}
#search-tab.nav-link.active img {
  filter: brightness(0) invert(1);
}

/* când tab-ul NU e activ → iconiță normală */
#search-tab.nav-link img {
  filter: none;
}
#mAlert-tab.nav-link.active img {
  filter: brightness(0) invert(1);
}

/* iconiță normală când NU e activ */
#mAlert-tab.nav-link img {
  filter: none;
}
button#search-tab.active svg circle,
button#search-tab.active svg path {
  stroke: #fff !important;
}
input.hero-search.red-border {
  box-shadow: #b82b00 4px 4px 0px;
}
.steps_box img {
  width: 100%;
  margin-bottom: 20px;
}
.steps_box {
  width: 100%;
  max-width: 294px;
  margin: auto;
  text-align: center;
}
.steps_section {
  margin-bottom: 100px;
}
p.steps_heading {
  font-family: "ClashDisplay";
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: #262861;
  margin-bottom: 20px;
}
p.steps_desc {
  color: #4b5162;
}
span.mAlertBadge {
  background-color: #ffffff;
  border: 1px solid rgba(38, 40, 97, 1);
  border-radius: 30px;
  display: inline-block;
  align-items: center;
  width: fit-content;
  font-size: 28px;
  padding: 3px;
  color: rgba(38, 40, 97, 1);
  line-height: 1;
  padding-right: 10px;
  vertical-align: middle;
}
span.mAlertBadge img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

/**********************************************************************************************RESPONSIVE*****************************************************************************/
/* Media Query for smaller screens */
@media (max-width: 679px) {
  /* Applied for screens *narrower* than 680px */
  .NT-header-action-btn .NT-btn-text {
    display: none;
    /* Hide the text */
  }

  .NT-header-action-btn {
    padding: 15px;
    /* Adjust padding to make it more square-like for icon only */
    gap: 0;
    /* No gap if text is hidden */
  }

  .NT-header-action-btn .NT-btn-icon,
  .NT-header-action-btn .NT-btn-icon-svg {
    margin: 0;
    /* Remove any margin if text is gone */
  }
}

@media screen and (max-width: 390px) {
  .cat_box {
    width: 80%;
    margin: 0 auto;
    padding: 15px;
  }

  p.cat_box-title {
    margin-bottom: 0;
  }

  .swiper-button-next,
  .swiper-button-prev {
    transform: translate(0%, 50%);
  }

  .swiper-slide-active {
    margin-right: 0px !important;
    margin-left: 0px !important;
  }

  .swiper-button-next {
    right: 20px;
  }

  .swiper-button-prev {
    left: 20px;
  }
}

/* Mobile styles */
@media (max-width: 991px) {
  .sidebar .mobile-menu {
    display: block;
  }

  .sidebar ul {
    display: none; /* Hide the regular list on mobile by default */
  }

  /* Show the list and hide dropdown when on account settings */
  .sidebar.account-settings-active .mobile-menu {
    display: none;
  }

  .sidebar.account-settings-active ul {
    display: block;
  }
}

/* Desktop styles */
@media (min-width: 992px) {
  .sidebar .mobile-menu {
    display: none !important; /* Always hide dropdown on desktop */
  }

  .sidebar ul {
    display: block !important; /* Always show list on desktop */
  }
}
select:disabled {
  opacity: 0.5;
  background-color: #e5e5e5;
}
.profile_img > div {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

/* Mobile Header */
.mobile-messages-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-messages-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mobile-messages-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-messages-logo img {
  width: 28px;
  height: 28px;
}

.mobile-messages-logo span {
  font-size: 18px;
  font-weight: 700;
  color: #e69b36;
}

.mobile-messages-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-messages-notification {
  position: relative;
  width: 24px;
  height: 24px;
}

.mobile-messages-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e69b36;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

.mobile-messages-exit {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.mobile-messages-title-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-messages-back-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-messages-title {
  font-size: 18px;
  font-weight: 600;
  color: #262861;
  margin: 0;
}

/* Mobile Chat Header */
.mobile-chat-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #262861;
  padding: 12px 16px;
  z-index: 1000;
  color: white;
  margin-top: 70px;
}

.mobile-chat-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-chat-back-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-chat-back-btn svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.mobile-chat-profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.mobile-chat-name {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.messages-container {
  display: flex;
  height: calc(100vh - 200px);
  min-height: 600px;
  max-height: 900px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(38, 40, 97, 0.12),
    0 2px 8px rgba(38, 40, 97, 0.08);
}

.sidebar-messages {
  width: 340px;
  background: #fafbfc;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-messages-header {
  padding: 28px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: white;
}

.sidebar-messages-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #262861;
  margin: 0;
  letter-spacing: -0.3px;
}

.search-box {
  padding: 16px 20px;
  margin-bottom: 8px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  background-color: #f3f4f6;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  color: #262861;
}

.search-box input::placeholder {
  color: #9ca3af;
}

.search-box input:focus {
  background-color: white;
  border-color: #262861;
  box-shadow: 0 0 0 3px rgba(38, 40, 97, 0.1);
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
  background: #fafbfc;
  padding: 4px 0;
}

.conversations-list::-webkit-scrollbar {
  width: 6px;
}

.conversations-list::-webkit-scrollbar-track {
  background: transparent;
}

.conversations-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.conversations-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.conversation-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  margin: 0 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.conversation-item .unread-badge {
  position: static;
  transform: none;
  margin-left: auto;
  background: #e69b36;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(230, 155, 54, 0.3);
}

.conversation-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: auto;
}

.conversation-item-time {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  font-weight: 500;
}

.img_chat {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  flex-shrink: 0;
}

.cta-section {
  padding: 40px 24px;
  text-align: center;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.cta-section .illustration {
  margin-bottom: 24px;
}

.cta-section .illustration img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.cta-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #262861;
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.cta-section p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 300px;
}

.btn-cta {
  background: linear-gradient(135deg, #262861 0%, #1a1d4a 100%);
  color: white;
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(38, 40, 97, 0.25);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #1a1d4a 0%, #262861 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(38, 40, 97, 0.3);
}

.btn-cta:active {
  transform: translateY(0);
}

.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  min-height: 0;
  position: relative;
}

.chat-header {
  padding: 20px 28px;
  background: linear-gradient(135deg, #262861 0%, #1a1d4a 100%);
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-back-btn {
  display: none !important;
  background: none;
  border: none;
  padding: 8px;
  margin-left: -12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  color: white;
  flex-shrink: 0;
}

.mobile-back-btn:active {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(0.9);
}

.chat-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.chat-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.messages-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9fc;
  position: relative;
  z-index: 1;
}

.messages-area::-webkit-scrollbar {
  width: 8px;
}

.messages-area::-webkit-scrollbar-track {
  background: transparent;
}

.messages-area::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.messages-area::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.message-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 75%;
  margin-bottom: 4px;
}

.message-wrapper.sent {
  align-self: flex-end;
  align-items: flex-end;
}

.message-wrapper.received {
  align-self: flex-start;
  align-items: flex-start;
}

.message-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  word-wrap: break-word;
  position: relative;
  line-height: 1.5;
}

.message-wrapper.sent .message-bubble {
  background: linear-gradient(135deg, #262861 0%, #1a1d4a 100%);
  color: white;
  border-bottom-right-radius: 6px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(38, 40, 97, 0.2);
}

.message-wrapper.received .message-bubble {
  background-color: white;
  color: #262861;
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  border: 1px solid #e5e7eb;
}

.message-time {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 6px;
  padding: 0 6px;
  font-weight: 500;
}

.message-wrapper.sent .message-time {
  color: rgba(255, 255, 255, 0.7);
}

.message-date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.message-date-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb 50%, transparent);
}

.message-date-divider .date-text {
  white-space: nowrap;
  padding: 0 8px;
}

.message-input-area {
  padding: 20px 28px;
  background: white;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  min-height: fit-content;
  position: relative;
  z-index: 5;
}

.message-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.message-input-wrapper input {
  width: 100%;
  padding: 14px 60px 14px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  font-size: 16px;
  outline: none;
  transition: all 0.2s ease;
  background: #f9fafb;
  color: #262861;
}

.message-input-wrapper input::placeholder {
  color: #9ca3af;
}

.message-input-wrapper input:focus {
  border-color: #262861;
  background: white;
  box-shadow: 0 0 0 3px rgba(38, 40, 97, 0.1);
}

.message-input-status {
  position: absolute;
  right: 55px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #2563eb;
  display: none;
  align-items: center;
  justify-content: center;
}

.message-input-area.preview-mode {
  align-items: flex-start;
  gap: 16px;
}

.message-input-area.preview-mode .message-input-wrapper {
  order: 1;
  flex: 1 1 100%;
}

.message-input-area.preview-mode .message-input-wrapper input {
  padding: 14px 120px 14px 20px;
  border-radius: 18px;
}

.message-input-area.preview-mode .message-input-status {
  display: flex;
}

.message-input-area.preview-mode .message-input-emoji {
  right: 24px;
}

.message-input-area.preview-mode .attachment-preview {
  order: 2;
  display: flex;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px 18px;
  gap: 14px;
  background: #f3f4f6;
}

.message-input-area.preview-mode .attach-button {
  order: 3;
  width: 56px;
  height: 56px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: white;
}

.message-input-area.preview-mode .send-button {
  order: 4;
  width: 60px;
  height: 60px;
}

.message-input-emoji {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #6b7280;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-input-emoji:hover {
  transform: translateY(-50%) scale(1.1);
  color: #262861;
}

.message-input-emoji svg {
  transition: all 0.2s;
}

.message-input-emoji:hover svg path {
  fill: #262861;
}

.message-bubble.emoji-only {
  background: transparent !important;
  padding: 4px 8px;
  box-shadow: none !important;
}

.message-bubble.emoji-only.single-emoji {
  font-size: 48px;
  line-height: 1;
}

.message-bubble.emoji-only.double-emoji {
  font-size: 32px;
  line-height: 1;
}

.message-bubble.emoji-only.multi-emoji {
  font-size: 24px;
  line-height: 1.2;
}

.emoji-picker-wrapper {
  position: absolute;
  bottom: calc(100% + 12px);
  right: -40px;
  z-index: 30;
  display: none;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.emoji-picker-wrapper.show {
  display: block;
}

.attachment-preview {
  padding: 12px 16px;
  background: #f0f4ff;
  border-radius: 12px;
  margin-bottom: 12px;
  display: none;
  align-items: center;
  gap: 12px;
  border: 2px solid #e0e7ff;
  width: 100%;
  flex-shrink: 0;
  order: -1;
}

.attachment-preview.active {
  display: flex;
}

.attachment-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.attachment-info {
  flex: 1;
  min-width: 0;
}

.attachment-name {
  font-size: 14px;
  font-weight: 600;
  color: #262861;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.attachment-size {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.remove-attachment {
  cursor: pointer;
  color: #ef4444;
  font-size: 22px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.remove-attachment:hover {
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.1);
}

.attach-button {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #6b7280;
  flex-shrink: 0;
}

.attach-button:hover {
  background: #e5e7eb;
  border-color: #262861;
  color: #262861;
  transform: scale(1.05);
}

.attach-button:active {
  transform: scale(0.95);
}

.attach-button svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.message-attachment {
  margin-top: 8px;
  max-width: 100%;
}

.message-attachment img {
  max-width: 100%;
  max-height: 250px;
  border-radius: 8px;
  cursor: pointer;
  object-fit: contain;
}

.message-attachment .file-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: #262861;
  font-size: 13px;
  transition: background 0.2s;
}

.message-attachment .file-link:hover {
  background: rgba(0, 0, 0, 0.1);
}

.message-attachment .file-icon {
  width: 30px;
  height: 30px;
}

.send-button {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e69b36 0%, #d88a2a 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(230, 155, 54, 0.3);
  flex-shrink: 0;
}

.send-button:hover {
  background: linear-gradient(135deg, #d88a2a 0%, #c7791f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 155, 54, 0.4);
}

.send-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(230, 155, 54, 0.3);
}

.send-button:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.send-button svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 28px;
  background: #f8f9fc;
  position: relative;
  z-index: 1;
}

.empty-state-illustration {
  opacity: 0.9;
}

.empty-state-illustration img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.empty-state h2 {
  font-size: 24px;
  font-weight: 700;
  color: #262861;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.empty-state p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
  max-width: 400px;
}

.welcome-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 28px;
  background: #f8f9fc;
  position: relative;
  z-index: 1;
}

.welcome-state-illustration {
  margin-bottom: 32px;
  opacity: 0.9;
}

.welcome-state-illustration img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.welcome-state h2 {
  font-size: 28px;
  font-weight: 700;
  color: #262861;
  margin-bottom: 6px;
  margin-top: 0;
  letter-spacing: -0.4px;
}

.welcome-state p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
  max-width: 500px;
}

.typing-indicator-container {
  background: #f8f9fc;
  padding: 0 25px 10px 25px;
}

.typing-indicator {
  display: block;
  padding: 10px 16px;
  background: white;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  width: fit-content;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

.navbar-section {
  display: none !important;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  30% {
    transform: translateY(-12px);
    opacity: 1;
  }
}

.conversation-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.conversation-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #262861;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.conversation-item-preview {
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.notif-header-title-cont {
  display: flex;
  gap: 15px;
}

/* Mobile Messaging Styles */
@media (max-width: 767px) {
  body {
    padding-top: 0;
    padding-bottom: 80px;
  }

  .mobile-messages-header {
    display: block;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .mobile-messages-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
  }

  .mobile-messages-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #262861;
    font-size: 20px;
    font-family: "clash display";
    letter-spacing: -0.3px;
  }

  .mobile-messages-logo img {
    width: 28px;
    height: 28px;
  }

  .mobile-messages-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .mobile-messages-notification,
  .mobile-messages-exit {
    color: #262861;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .mobile-messages-notification:active,
  .mobile-messages-exit:active {
    background: #f3f4f6;
    transform: scale(0.95);
  }

  .mobile-messages-notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #e69b36;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 4px rgba(230, 155, 54, 0.4);
  }

  .mobile-messages-title-bar {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f3f4f6;
  }

  .mobile-messages-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #262861;
    letter-spacing: -0.2px;
  }

  .mobile-messages-back-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #262861;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-messages-back-btn:active {
    background: #f3f4f6;
    transform: scale(0.95);
  }

  .mobile-chat-header {
    display: none;
    background: linear-gradient(135deg, #262861 0%, #1a1d4a 100%);
    color: white;
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .mobile-chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-chat-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 36px;
    min-height: 36px;
  }

  .mobile-chat-back-btn:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
  }

  .mobile-chat-profile-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .mobile-chat-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    letter-spacing: -0.2px;
  }

  .messages-container {
    flex-direction: column;
    height: calc(100vh - 160px);
    min-height: auto;
    max-height: none;
    margin: 0;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  .sidebar-messages {
    width: 100%;
    border-right: none;
    border-bottom: none;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .sidebar-messages-header {
    display: none;
  }

  .mobile-list-header {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    background: white;
  }

  .mobile-list-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  .mobile-list-title h2 {
    font-size: 18px;
    font-weight: 600;
    color: #262861;
    margin: 0;
  }

  .search-box {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: white;
  }

  .search-box input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    background-color: #f3f4f6;
    outline: none;
    transition: border-color 0.2s;
  }

  .search-box input:focus {
    border-color: #262861;
    background-color: white;
  }

  .search-box input::placeholder {
    color: #9ca3af;
  }

  .conversations-list {
    flex: 1;
    overflow-y: auto;
    background: white;
  }

  .conversation-item {
    padding: 16px 18px;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    min-height: 72px;
  }

  .conversation-item:active {
    background-color: #f9fafb;
    transform: scale(0.98);
  }

  .conversation-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .conversation-item-name {
    font-weight: 600;
    color: #262861;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .conversation-item-preview {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .conversation-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .conversation-item-time {
    font-size: 11px;
    color: #6b7280;
  }

  .conversation-item.active {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border-left: 4px solid #262861;
    box-shadow: 0 2px 8px rgba(38, 40, 97, 0.08);
  }

  .conversation-item.active .conversation-item-name {
    font-weight: 700;
  }

  .conversation-item .unread-badge {
    position: static;
    transform: none;
    margin-top: 4px;
    min-width: 20px;
    box-shadow: 0 2px 4px rgba(230, 155, 54, 0.3);
  }

  .chat-area {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    flex-direction: column;
    background: #f8f9fc;
    z-index: 1000;
  }

  .chat-area.mobile-active {
    display: flex;
    position: relative;
  }

  .messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8f9fc;
    position: relative;
    z-index: 1;
  }

  .message-wrapper {
    max-width: 85%;
    display: flex;
    flex-direction: column;
  }

  .message-wrapper.sent {
    align-self: flex-end;
    align-items: flex-end;
  }

  .message-wrapper.received {
    align-self: flex-start;
    align-items: flex-start;
  }

  .message-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    word-wrap: break-word;
    word-break: break-word;
    font-size: 14px;
    max-width: 100%;
  }

  .message-wrapper.sent .message-bubble {
    background-color: #262861;
    color: white;
    border-bottom-right-radius: 4px;
  }

  .message-wrapper.received .message-bubble {
    background-color: #ffffff;
    color: #262861;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .message-time {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    padding: 0 4px;
  }

  .message-input-area {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 100;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  }

  .message-input-area.preview-mode {
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .message-input-area.preview-mode .message-input-wrapper {
    width: 100%;
    order: 1;
  }

  .message-input-area.preview-mode .attachment-preview {
    order: 2;
    width: 100%;
    margin-bottom: 8px;
  }

  .typing-indicator-container {
    background: #f8f9fc;
    padding: 12px 16px;
    display: none;
    margin-bottom: 75px;
    position: relative;
    z-index: 5;
  }

  .typing-indicator-container.show {
    display: block;
  }

  .typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: white;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: fit-content;
  }

  .typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #262861;
    animation: typing-bounce 1.4s infinite ease-in-out;
  }

  .typing-indicator span:nth-child(1) {
    animation-delay: 0s;
  }

  .typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
  }

  .typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
  }

  .attachment-preview {
    padding: 10px 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
    display: none;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
  }

  .attachment-preview.active {
    display: flex;
  }

  .attachment-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .attachment-icon svg {
    width: 18px;
    height: 18px;
  }

  .attachment-info {
    flex: 1;
    min-width: 0;
  }

  .attachment-name {
    font-size: 13px;
    font-weight: 500;
    color: #262861;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .attachment-size {
    font-size: 11px;
    color: #6b7280;
  }

  .remove-attachment {
    cursor: pointer;
    color: #ef4444;
    font-size: 22px;
    line-height: 1;
    padding: 4px;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .remove-attachment:active {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(0.9);
  }

  .message-input-wrapper input {
    padding: 8px 50px 8px 16px;
    font-size: 14px;
    width: 100%;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    transition: all 0.2s ease;
  }

  .message-input-wrapper input:focus {
    border-color: #262861;
    background: white;
    box-shadow: 0 0 0 3px rgba(38, 40, 97, 0.1);
  }

  .message-input-wrapper {
    flex: 1;
    min-width: 150px;
    position: relative;
  }

  .message-input-emoji {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
  }

  .send-button {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e69b36 0%, #d88a2a 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: white;
    box-shadow: 0 2px 8px rgba(230, 155, 54, 0.3);
    min-width: 34px;
    min-height: 34px;
  }

  .send-button:active {
    background: linear-gradient(135deg, #d88a2a 0%, #c7791f 100%);
    transform: scale(0.95);
    box-shadow: 0 1px 4px rgba(230, 155, 54, 0.3);
  }

  .send-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
  }

  .send-button svg {
    width: 18px;
    height: 18px;
  }

  .attach-button {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #6b7280;
    min-width: 32px;
    min-height: 32px;
  }

  .attach-button:active {
    background: #e5e7eb;
    border-color: #262861;
    color: #262861;
    transform: scale(0.95);
  }

  .attach-button svg {
    width: 18px;
    height: 18px;
  }

  .welcome-state,
  .empty-state {
    padding: 0px 28px 20px 28px;
    background: #fff;
    position: relative;
    z-index: 1;
    min-height: 0;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .welcome-state-illustration,
  .empty-state-illustration {
    margin-bottom: 12px;
    opacity: 0.9;
  }

  .welcome-state-illustration img,
  .empty-state-illustration img {
    width: 100% !important;
    max-width: 200px !important;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  }

  .welcome-state h2,
  .empty-state h2 {
    font-size: 20px;
    font-weight: 700;
    color: #262861;
    margin-bottom: 12px;
    margin-top: 0;
    letter-spacing: -0.3px;
  }

  .welcome-state p,
  .empty-state p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
    max-width: 320px;
  }

  .cta-section {
    padding: 40px 24px;
    text-align: center;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
  }

  .cta-section .illustration {
    margin-bottom: 24px;
  }

  .cta-section .illustration img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  }

  .cta-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #262861;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
  }

  .cta-section p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 280px;
  }

  .btn-cta {
    background: linear-gradient(135deg, #262861 0%, #1a1d4a 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(38, 40, 97, 0.25);
    min-height: 48px;
  }

  .btn-cta:active {
    background: linear-gradient(135deg, #1a1d4a 0%, #262861 100%);
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(38, 40, 97, 0.2);
  }

  .messages-container.mobile-chat-view .sidebar-messages {
    display: none;
  }

  .messages-container.mobile-chat-view .chat-area {
    display: flex;
  }

  .nav-container {
    z-index: 999;
  }

  .messages-container.mobile-chat-view ~ .nav-container,
  body.mobile-chat-view .nav-container {
    display: none !important;
  }

  body.mobile-chat-view .nav-container.navbar-visible {
    display: flex !important;
  }

  .swipe-indicator-container {
    position: fixed;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    height: 50px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    cursor: pointer;
    user-select: none;
  }

  .messages-container.mobile-chat-view ~ .swipe-indicator-container,
  body.mobile-chat-view .swipe-indicator-container {
    display: flex;
  }

  .swipe-indicator-bar {
    width: 40px;
    height: 4px;
    background: #9ca3af;
    border-radius: 2px;
    transition: background-color 0.2s;
  }

  .swipe-indicator-container:active .swipe-indicator-bar {
    background: #6b7280;
  }

  .file-preview-panel {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8f9fc;
    min-height: 0;
    display: none;
  }

  .file-preview-panel.show {
    display: flex;
  }

  .file-preview-card {
    margin-bottom: 40px;
    padding: 20px;
    gap: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .file-preview-header {
    font-size: 14px;
    flex-wrap: wrap;
  }

  .file-preview-header p {
    font-size: 14px;
  }

  .file-preview-figure {
    min-height: 250px;
    max-height: 50vh;
  }

  .file-preview-figure img {
    max-height: 50vh;
    max-width: 100%;
    object-fit: contain;
  }

  .file-preview-figure embed {
    max-height: 50vh;
    height: 50vh;
  }

  .file-preview-actions {
    gap: 10px;
  }

  .file-preview-btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}

#myTab .nav-link {
  font-size: 14px;
  padding: 10px 15px;
}
#mAlert-tab.nav-link img {
  margin-top: -8px;
  margin-bottom: -8px;
  margin-left: -11px;
}

section.hero_section.background_lightblue {
  border-radius: 0 0 50px 50px;
}

section.hero_section {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
}

@media (max-width: 767px) {
  .eapps-widget-toolbar-panel-share-block {
    display: none !important;
  }
  body {
    padding-top: 0;
    padding-bottom: 80px;
  }

  .mobile-messages-header {
    display: block;
  }

  .mobile-chat-header {
    display: none;
  }

  .footer-section {
    display: none !important;
  }

  .navbar-section {
    display: flex !important;
  }

  .messages-container {
    flex-direction: column;
    height: calc(100vh - 160px);
    margin: 0;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
  }

  .sidebar-messages {
    width: 100%;
    border-right: none;
    border-bottom: none;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .sidebar-messages-header {
    display: flex;
    padding: 20px 24px;
    background: linear-gradient(135deg, #262861 0%, #1a1d4a 100%);
    color: white;
    align-items: center;
  }

  .sidebar-messages-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: white;
  }

  .search-box {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
  }

  .conversations-list {
    flex: 1;
    overflow-y: auto;
    background: white;
  }

  .conversation-item {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .conversation-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .conversation-item-name {
    font-weight: 600;
    color: #262861;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .conversation-item-preview {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .conversation-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .conversation-item-time {
    font-size: 11px;
    color: #6b7280;
  }

  .conversation-item.active {
    background-color: #f0f4ff;
    border-left: 3px solid #262861;
  }

  .conversation-item .unread-badge {
    position: static;
    transform: none;
    margin-top: 4px;
  }

  .chat-area {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    flex-direction: column;
    background: #f8f9fc;
    z-index: 1000;
    overflow: hidden;
    min-height: 0;
  }

  .chat-area.mobile-active {
    display: flex;
  }

  .chat-header {
    padding: 10px 16px;
    gap: 12px;
    background: linear-gradient(135deg, #262861 0%, #1a1d4a 100%);
    color: white;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .chat-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: white;
  }

  .chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
  }

  .mobile-back-btn {
    display: flex !important;
    padding: 6px;
    margin-left: -8px;
    color: white;
    background: none;
    border: none;
  }

  .messages-area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
  }

  .message-wrapper {
    max-width: 85%;
  }

  .message-input-area {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 8px 12px;
    z-index: 100;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    transition: bottom 0.3s ease;
  }

  body.mobile-chat-view .message-input-area {
    bottom: 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .message-input-area.preview-mode {
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .message-input-area.preview-mode .message-input-wrapper {
    width: 100%;
    order: 1;
  }

  .message-input-area.preview-mode .attachment-preview {
    order: 2;
    width: 100%;
    margin-bottom: 8px;
  }

  .message-input-area.preview-mode .attach-button {
    order: 3;
    align-self: flex-start;
  }

  .message-input-area.preview-mode .send-button {
    order: 4;
    align-self: flex-start;
  }

  .message-input-wrapper input {
    padding: 8px 50px 8px 16px;
    font-size: 13px;
    width: 100%;
    border-radius: 20px;
  }

  .message-input-wrapper {
    flex: 1;
    min-width: 150px;
    position: relative;
  }

  .message-input-emoji {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
  }

  .send-button {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .send-button svg {
    width: 18px;
    height: 18px;
  }

  .attach-button {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .attach-button svg {
    width: 18px;
    height: 18px;
  }

  .welcome-state-illustration img,
  .empty-state-illustration img {
    width: 100% !important;
    max-width: 300px !important;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .messages-container.mobile-chat-view .sidebar-messages {
    display: none;
  }

  .messages-container.mobile-chat-view .chat-area {
    display: flex;
  }

  .nav-container {
    z-index: 999;
  }

  .messages-container.mobile-chat-view ~ .nav-container,
  body.mobile-chat-view .nav-container {
    display: none !important;
  }

  body.mobile-chat-view .nav-container.navbar-visible {
    display: flex !important;
  }

  .swipe-indicator-container {
    position: fixed;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    height: 50px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    cursor: pointer;
    user-select: none;
  }

  .messages-container.mobile-chat-view ~ .swipe-indicator-container,
  body.mobile-chat-view .swipe-indicator-container {
    display: flex;
  }

  .swipe-indicator-bar {
    width: 40px;
    height: 4px;
    background: #9ca3af;
    border-radius: 2px;
    transition: background-color 0.2s;
  }

  .swipe-indicator-container:active .swipe-indicator-bar {
    background: #6b7280;
  }
}

.file-preview-panel {
  flex: 1;
  display: none;
  padding: 24px 24px;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f8f9fc;
  min-height: 0;
}

.file-preview-panel.show {
  display: flex;
}

.file-preview-card {
  width: min(720px, 100%);
  max-width: 100%;
  border-radius: 20px;
  padding: 28px;
  color: #1f2937;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: white;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}

.file-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #111827;
  flex-shrink: 0;
  gap: 12px;
}

.file-preview-header > div:first-child {
  flex: 0 0 auto;
}

.file-preview-header > div:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.file-preview-header p {
  margin: 0;
  font-weight: 600;
  color: #262861;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-preview-header > button {
  flex-shrink: 0;
}

.file-preview-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s;
}

.file-preview-close:hover {
  color: #262861;
}

.file-preview-figure {
  background: #f3f4f6;
  border-radius: 16px;
  min-height: 250px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(38, 40, 97, 0.12);
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding: 10px;
}

.file-preview-placeholder {
  text-align: center;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.file-preview-figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  display: block;
  margin: 0 auto;
}

.file-preview-figure embed {
  max-width: 100%;
  max-height: 400px;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.file-preview-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
}

.file-preview-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.file-preview-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.file-preview-btn.cancel {
  background: #f3f4f6;
  color: #1f2937;
}

.file-preview-btn.confirm {
  background: #262861;
  color: #ffffff;
}

.file-preview-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
/* mAlert Base Styles */
.malert-header {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 40px;
  background: linear-gradient(90deg, #c73e0f 0%, #6a2b67 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(70, 50, 80, 0.06);
}

.malert-header .malert-col {
  flex: 1;
  font-size: 14px;
  padding: 6px 8px;
}

.malert-col-cerere {
  flex: 2.2;
}

.malert-col-serviciu {
  flex: 1.8;
}

.malert-col-status {
  flex: 1;
  text-align: center;
}

.malert-col-date {
  flex: 1;
  text-align: center;
}

.malert-col-action {
  flex: 0.9;
  text-align: center;
}

.malert-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef1f6;
  margin-top: 12px;
}

.malert-item .malert-col {
  padding: 0;
  display: flex;
  align-items: center;
}

.malert-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.malert-icon img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #eef1f6;
  padding: 6px;
  background: #fff;
}

.malert-title {
  font-weight: 700;
  color: #262861;
  font-size: 16px;
}

.malert-service {
  color: #6c757d;
  font-size: 13px;
}

.malert-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  color: #1b2b5a;
  background: #eef4ff;
}

.malert-status-2 {
  background: #dff7d8;
  color: #1b6b2a;
}

.malert-status-3 {
  background: #ffecec;
  color: #b02a2a;
}

.malert-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fceeea;
  color: #b84a1a;
  font-weight: 700;
  font-size: 13px;
}

.malert-badge-new .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b84a1a;
  display: inline-block;
}

.malert-badge-viewed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f1f5fb;
  color: #1b2b5a;
  font-weight: 700;
  font-size: 13px;
}

.malert-badge-viewed .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2b2b86;
  display: inline-block;
}

.malert-badge-declined {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #ffecec;
  color: #b02a2a;
  font-weight: 700;
  font-size: 13px;
}

.malert-badge-declined .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b02a2a;
  display: inline-block;
}

.malert-badge-accepted {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #eef4ff;
  color: #1b2b5a;
  font-weight: 700;
  font-size: 13px;
}

.malert-badge-accepted .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1b2b5a;
  display: inline-block;
}

.malert-badge-completed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #dff7d8;
  color: #1b6b2a;
  font-weight: 700;
  font-size: 13px;
}

.malert-badge-completed .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1b6b2a;
  display: inline-block;
}

.malert-date {
  color: #6c757d;
  font-size: 14px;
  text-align: center;
}

.malert-action {
  text-align: right;
}

.malert-details-header {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-radius: 40px;
  background: linear-gradient(90deg, #c73e0f 0%, #6a2b67 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(70, 50, 80, 0.06);
}

.malert-back-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
}

.malert-details-title {
  color: #fff;
  font-weight: 700;
  flex: 1;
  text-align: left;
  padding-left: 8px;
}

.malert-details-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 12px;
}

.malert-details-content h2 {
  margin-top: 0;
  color: #262861;
}

.malert-client-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.malert-client-photo {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.malert-client-name p {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: #262861;
}

.malert-contact-card {
  background: #fbfbff;
  padding: 12px;
  border-radius: 10px;
  margin-top: 12px;
  border: 1px solid rgba(38, 40, 97, 0.04);
}

.malert-contact-card p {
  margin: 6px 0;
}

.malert-gallery {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.malert-gallery img {
  width: 140px;
  height: 96px;
  object-fit: contain;
  border-radius: 10px;
  padding: 5px;
}

.malert-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.btn-accept {
  background: linear-gradient(90deg, #2b2b86 0%, #c73e0f 100%);
  color: #fff;
  border: 0;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
}

.btn-refuse {
  background: #fff;
  border: 1px solid #e6e6e6;
  color: #333;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
}

.malert-empty {
  padding: 20px 20px;
  color: #3b3f46;
  text-align: center;
  background: transparent;
  border-radius: 12px;
  /* margin-top: 24px; */
}

.malert-empty-illustration img {
  width: 260px;
  max-width: 60%;
  height: auto;
  display: block;
  margin: 0 auto 24px auto;
}

.malert-empty h4 {
  font-size: 20px;
  color: #262861;
  margin: 8px 0 8px 0;
  font-weight: 700;
}

.malert-empty p {
  color: #7b7780;
  font-size: 15px;
  margin: 0 auto;
  max-width: 360px;
  line-height: 1.5;
}

.mobile-menu {
  position: relative;
}

.mobile-menu-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 40px;
  border: 1px solid #262861;
  background: #fff;
}

.mobile-menu-popover {
  position: relative;
  margin-top: 10px;
  left: 0;
  right: 0;
  background: #f4f8fe;
  border-radius: 30px;
  border: 1px solid #262861;
  z-index: 999;
  overflow: hidden;
}
span.mobile-menu-text {
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
}
.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-item[aria-selected="true"] {
  background: rgba(0, 0, 0, 0.06);
}

.mobile-menu-check {
  width: 18px;
  display: inline-flex;
  justify-content: center;
  opacity: 0;
}

.mobile-menu-item[aria-selected="true"] .mobile-menu-check {
  opacity: 1;
}
.mobile-menu-item[data-value="#cereri-malert"] {
  background-color: #f8eae6;
  color: #b82b00;
}
.mobile-menu-item[data-value="#cereri-malert"] span.mobile-menu-text {
  font-weight: 600;
  color: #b82b00;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 40px;
  cursor: pointer;
}

.mobile-menu-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-menu-icon img {
  width: 100%;
  height: 100%;
}

.mobile-menu-text {
  flex: 1;
}

.mobile-menu-check {
  width: 18px;
  opacity: 0;
  color: #ff6a00; /* culoare accent */
}

.mobile-menu-item[aria-selected="true"] {
  background: #fdf1ea; /* background din Figma */
}

.mobile-menu-item[aria-selected="true"] .mobile-menu-check {
  opacity: 1;
}

/* mAlert Mobile Styles */
@media screen and (max-width: 767px) {
  .malert-header {
    display: none !important;
  }
  section.hero_section {
    position: relative;
    padding-top: 10px;
    padding-bottom: 50px;
  }
  .malert-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .malert-item .malert-col {
    width: 100%;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .malert-col-cerere {
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 12px !important;
  }

  .malert-col-serviciu {
    margin-top: 4px;
  }

  .malert-col-status {
    margin-top: 4px;
  }

  .malert-col-date {
    margin-top: 4px;
    color: #9ca3af;
    font-size: 13px;
  }

  .malert-col-action {
    margin-top: 8px;
  }

  .malert-col-action .btn {
    width: 100%;
    padding: 10px 0;
  }

  .malert-details-header {
    border-radius: 20px;
    padding: 10px 15px;
  }

  .malert-details-title {
    font-size: 15px;
  }

  .malert-client-header {
    flex-direction: column;
    text-align: center;
  }

  .malert-client-photo {
    width: 90px;
    height: 90px;
  }

  .malert-gallery {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .malert-gallery img {
    width: calc(50% - 5px);
    height: 100px;
  }

  .malert-actions {
    flex-direction: column;
  }

  .btn-accept,
  .btn-refuse {
    width: 100%;
    text-align: center;
  }

  /* malert Contractors list mobile overrides */
  .malert-contractors-header {
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 15px;
  }
  .malert-contractors-header div:last-child {
    display: none;
  }
  .malert-contractors-back {
    padding: 6px 10px;
  }
  .malert-contractors-filter-row {
    overflow-x: auto;
    padding: 16px 0 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-snap-type: x mandatory;
  }
  .malert-contractors-filter-row::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .malert-contractors-filter {
    display: flex !important;
    gap: 0;
    padding: 0 16px;
    white-space: nowrap;
  }
  .malert-contractors-filter .filter-btn {
    flex: 0 0 100%;
    scroll-snap-align: center;
    min-width: auto;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
  }
  .malert-filter-hint {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 0 20px 16px 20px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .malert-filter-hint svg {
    animation: hintArrowBounce 1.5s infinite;
  }
  @keyframes hintArrowBounce {
    0%,
    100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(-4px);
    }
  }
  .malert-contractors-list {
    padding: 16px 12px;
    background: #f8f9fc;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .malert-contractor {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "logo meta"
      "status-actions status-actions";
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #eef1f6;
    box-shadow: 0 2px 8px rgba(38, 40, 97, 0.05);
  }
  .malert-contractor .logo {
    grid-area: logo;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .malert-contractor .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .malert-contractor .meta {
    grid-area: meta;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .malert-contractor .meta-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }
  .malert-contractor .meta .name {
    font-size: 15px;
    font-weight: 700;
    color: #262861;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
  }
  .malert-contractor .rating {
    flex-shrink: 0;
    background: #fff9e6;
    padding: 2px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #ffecb3;
  }
  .malert-contractor .rating .star {
    font-size: 14px;
    color: #e69b36;
  }
  .malert-contractor .rating .value {
    font-size: 12px;
    font-weight: 700;
    color: #b36a00;
  }
  .malert-contractor .meta .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 4px;
    font-size: 12px;
    color: #6c757d;
  }
  .malert-contractor .meta .tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fc;
    padding: 2px 8px;
    border-radius: 6px;
  }
  .malert-contractor .meta .tags .tag-icon {
    width: 12px;
    height: 12px;
    opacity: 0.7;
  }
  .malert-contractor .meta .tags .tag-sep {
    display: none; /* Hide separators on mobile as we use gap */
  }
  /* Wrap status and actions into a bottom row */
  .malert-contractor .status-col,
  .malert-contractor .actions {
    display: contents; /* Let children participate in grid or we handle them manually */
  }
  /* We'll use a container approach for the bottom row */
  /* Since we can't change HTML easily, we target the containers */

  .malert-contractor .status-col {
    grid-area: status-actions; /* We'll use this area for both */
  }

  /* Better: set a container style for the bottom part */
  .malert-contractor::after {
    content: "";
    grid-area: status-actions;
    height: 1px;
    background: #f3f4f6;
    margin: 4px 0;
  }

  .malert-contractor .status-col {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    margin-top: 4px;
  }

  .malert-contractor .actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .malert-contractor .actions .btn {
    width: 100%;
    margin: 0 !important;
    padding: 10px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
  }
}

/* malert Contractors list card base styles */
.malert-contractors-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 40px;
  background: linear-gradient(90deg, #c73e0f 0%, #6a2b67 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(70, 50, 80, 0.06);
}

.malert-contractors-back {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.malert-contractors-list {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  margin-top: 12px;
}

.malert-contractors-filter-row {
  margin-top: 10px;
  display: flex;
}

.malert-filter-hint {
  display: none;
}

.malert-contractors-filter {
  background: rgba(255, 255, 255, 0.7);
  color: #15326b;
  border: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
}

/* Toggle button style for filters */
.malert-contractors-filter .filter-btn {
  background: rgba(255, 255, 255, 0.7);
  color: #15326b;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 64px;
  transition: all 0.2s ease;
}

/* per-filter color tints */
.malert-contractors-filter .filter-btn[data-filter="0"] {
  background: #eef4ff;
  color: #1b2b5a;
  border-color: rgba(27, 43, 90, 0.12);
}
.malert-contractors-filter .filter-btn[data-filter="1"] {
  background: #e6fff2;
  color: #1f8a4d;
  border-color: rgba(31, 138, 77, 0.12);
}
.malert-contractors-filter .filter-btn[data-filter="2"] {
  background: #fff4e6;
  color: #b36a00;
  border-color: rgba(179, 106, 0, 0.12);
}
.malert-contractors-filter .filter-btn[data-filter="4"] {
  background: #fff0f0;
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.12);
}
.malert-contractors-filter .filter-btn[data-filter="3"] {
  background: #f8d7da;
  color: #842029;
  border-color: rgba(132, 32, 41, 0.12);
}
.malert-contractors-filter .filter-btn[data-filter="all"] {
  background: #ffffff;
  color: #15326b;
  border-color: rgba(0, 0, 0, 0.06);
}

/* active state */
.malert-contractors-filter .filter-btn.active[data-filter="0"] {
  background: #1b2b5a;
  color: #ffffff;
  border-color: #1b2b5a;
}
.malert-contractors-filter .filter-btn.active[data-filter="1"] {
  background: #1f8a4d;
  color: #ffffff;
  border-color: #1f8a4d;
}
.malert-contractors-filter .filter-btn.active[data-filter="2"] {
  background: #b36a00;
  color: #ffffff;
  border-color: #b36a00;
}
.malert-contractors-filter .filter-btn.active[data-filter="4"] {
  background: #c0392b;
  color: #ffffff;
  border-color: #c0392b;
}
.malert-contractors-filter .filter-btn.active[data-filter="3"] {
  background: #842029;
  color: #ffffff;
  border-color: #842029;
}
.malert-contractors-filter .filter-btn.active[data-filter="all"] {
  background: #15326b;
  color: #ffffff;
  border-color: #15326b;
}

.malert-contractors-filter .filter-count {
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  margin-left: 8px;
}

.malert-contractor .status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.malert-contractor .status-badge.se-asteapta {
  background: #eef4ff;
  color: #1b2b5a;
}
.malert-contractor .status-badge.acceptat {
  background: #fff4e6;
  color: #b36a00;
}
.malert-contractor .status-badge.in-lucrare {
  background: #e6fff2;
  color: #1f8a4d;
}
.malert-contractor .status-badge.finalizat {
  background: #fff0f0;
  color: #c0392b;
}
.malert-contractor .status-badge.refuzat {
  background: #f8d7da;
  color: #842029;
}

.malert-contractor {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid #eef1f6;
}

.malert-contractor:last-child {
  border-bottom: 0;
}

.malert-contractor .logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.malert-contractor .logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.malert-contractor .meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.malert-contractor .meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.malert-contractor .meta .name {
  font-weight: 700;
  color: #262861;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}
.malert-contractor .meta .tags {
  color: #6c757d;
  font-size: 13px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  gap: 8px;
}
.malert-contractor .meta .tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  background: transparent;
  padding: 0 4px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
}
.malert-contractor .meta .tags .tag .tag-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}
.malert-contractor .meta .tags .tag .tag-text {
  display: inline-block;
  vertical-align: middle;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.malert-contractor .meta .tags .tag-sep {
  color: #c9cdd6;
  padding: 0 4px;
}

.malert-contractor .rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 56px;
}
.malert-contractor .rating .star {
  font-size: 20px;
  line-height: 1;
  color: #f5c518;
  display: inline-block;
  vertical-align: middle;
}
.malert-contractor .rating .value {
  font-size: 13px;
  color: #6c757d;
  display: inline-block;
  vertical-align: middle;
}

.malert-contractor .status-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 120px;
}
.malert-contractor .status-line {
  margin: 0;
}
.malert-contractor .actions {
  text-align: right;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.malert-contractors-empty {
  padding: 24px;
  text-align: center;
  color: #6c757d;
}

#malert-contractors-empty-filter {
  display: block;
  padding: 24px;
  text-align: center;
  color: #6c757d;
}
#malert-contractors-empty-filter .empty-illustration {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}
#malert-contractors-empty-filter .empty-illustration svg {
  width: 96px;
  height: 96px;
  opacity: 0.95;
}
#malert-contractors-empty-filter .empty-text {
  font-weight: 700;
  color: #262861;
  font-size: 15px;
}

@media (max-width: 360px) {
  #myTab {
    flex-wrap: nowrap;
  }
  #myTab .nav-link {
    font-size: 12px;
    padding: 5px 15px;
  }
  #myTab .nav-link img {
    width: 26px;
    height: 26px;
    margin-bottom: 0;
  }

  #mAlert-tab.nav-link img {
    margin-top: -2px;
    margin-bottom: -2px;
    margin-left: -11px;
  }
}

.powered-by-container {
	margin-top: 10px !important;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
/* Portfolio Grid Update */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.portfolio-grid a {
    position: relative;
    display: block;
    border-radius: 0px 25px;
    overflow: hidden;
    border: 2px solid #262861;
}

.portfolio-grid a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-grid a:nth-child(3) {
    grid-column: span 2;
    height: 240px;
}

.portfolio-grid .overlay {
    border-radius: 12px;
}

/* Qualifications Section Updates */
.qualifications_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qualifications_item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
}

.qualification-img {
    width: 100px;
    height: 100px;
    min-width: 100px; /* Ensure it doesn't shrink */
    max-height: 100px; /* Force square */
    flex-shrink: 0;
    border-radius: 0 25px;
    overflow: hidden;
    background-color: #E6E8EB;
    padding: 8px;
}

.qualification-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qualification-img .img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #E6E8EB;
}

.qualifications-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    text-align: left;
}

.qualification_title {
    color: #262861;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.qualification_data {
    color: #5F6368;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

/* Ensure hidden items are hidden */
.hidden-qual {
    display: none !important;
}
