/* 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;
  background-color: #f4f8fe;
}

/*.row {
  width: 100%;
  margin:0;
}*/
p {
  margin-bottom: 0;
}

a {
  text-decoration: none;
  color: rgb(38 40 97);
}

/* 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 5px;
  /* Some padding around the navigation */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  /* Example font stack */
}

/* 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: 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: 38px;
  /* Consistent width for the circle */
  height: 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: 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;
  padding: 10px 24px;
  /* Adjust padding to match image's button size */
  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: 65px;
}

.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;
  font-weight: 700;
}

.review_total-note {
  display: flex;
  gap: 10px;
  align-items: center;
}

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: 28px;
  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;*/
}

button#submit-btn img {
  width: 28px;
  height: 28px;
}

.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: 20px;
}

.form-field-input {
  width: 100%;
  /*border: 1px solid #d6ddeb;*/
  border: 2px solid rgba(230, 155, 54, 1);
  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 #ccc;
  padding: 40px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  background-color: #f4f8fe66;
}

.upload-icon {
  font-size: 24px;
  color: #ff9800;
  /* Orange */
}

.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%;
  
}

/* Tighter spacing for main login choice container */
.login-container.login_card {
  padding: 36px 40px;
}

.login-container.login_card .login_logo {
  margin-bottom: 16px;
  margin-top: 0;
}

.login-container.login_card h1 {
  margin-bottom: 8px;
}

.login-container.login_card > p {
  margin-bottom: 24px;
}

.login-container.login_card .btn_login .btn {
  margin-bottom: 10px;
}

.login-container.login_card .btn_login p {
  margin-top: 0;
  margin-bottom: 0;
}

.login-container.login_card .sepparator {
  margin-top: 20px;
  margin-bottom: 20px;
}

.login_page {
  display: flex;
  justify-content: center;
align-items:flex-start;
  min-height: 100vh;
}


/*Overide card on middel*/
.card_top {
      align-items:flex-start !important;
  padding-top:20px;
}


.login_logo img {
  max-width: 150px;
  height: auto;
}

.login_logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.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: 30px;
}

.file-list {
  margin-top: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.qualification {
  gap: 20px;
}

/* .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;
  z-index: 0;
}

.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: 20px;
  border: 1px solid #d6ddeb;
  border-radius: 20px;
  margin: 0;
  margin-bottom: 20px;
  box-shadow: 0px 0px 8px 0px rgba(38, 40, 97, 0.2);
}

.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: 20px;
}

.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;
}

.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;
  margin-top: 10px;
  gap: 15px;
}

.cert-add-button {
  width: fit-content;
  margin-bottom: 30px;
}

.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-category {
  margin-top: 24px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  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: 32px;
  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 {
  max-width: fit-content;
}

.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: 8px;
  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;
}

.sidebar .filter-buttons {
  background-color: #ffffff;
}

@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: 0px;
  }

  .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: block !important;
  }

  button#open-filter {
    position: fixed;
    bottom: 80px;
    background-color: #e69b36;
    padding: 8px 20px;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin-left: auto;
    margin-right: auto;
    left: auto;
    right: auto;
    width: calc(100% - 30px);
    z-index: 999;
  }

  .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: 40px;
  background-color: #ededed;
  margin-bottom: 15px;
  border-radius: 10px;
}
.form_label-wtags {
    margin-top: 15px;
}
/* --------------------------------------------------------------NAVBAR-------------------------------------------------------------  */

.distance-navbar {
  margin-top: 60px;
  margin-bottom: 60px;
}

.nav-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #262861;
  padding: 15px 0;
  display: none;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: 80px;
  /* padding: 0 20px; */
  /* Adaugă spațiu lateral */
}

/* Elemente de navigație */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 12px;
  z-index: 1;
  position: relative;
}

.nav-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #ff4d4f;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #262861;
  line-height: 1;
  z-index: 10;
}

@media only screen and (max-width: 767px) {
  .nav-badge {
    top: -4px;
    right: -6px;
    min-width: 14px;
    height: 14px;
    font-size: 9px;
    border-width: 1.5px;
  }
}

.nav-container .nav-item:nth-child(2) {
  margin-right: 24px;
}

.nav-container .nav-item:nth-child(4) {
  margin-left: 24px;
}

.nav-item img {
  width: 26px;
  height: 26px;
  margin-bottom: 3px;
  filter: brightness(0) invert(1);
}

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;
}

/* Butonul central (Acasă) */
.nav-home {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  border-radius: 50px;
  overflow: hidden;
  object-fit: contain;
}

.nav-home img {
  width: 100%;
  height: auto;
  background-color: #ffffff;
  padding: 0;
  border-radius: 0;
  max-width: 50px;
  padding: 7px;
}

.nav-container>a {
  flex: 1;
}

@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 {
  background-color: #e69b36;
  color: #fff;
  border-radius: 50px;
  padding: 10px;
  font-family: 'ClashDisplay';
  font-size: 20px;
  margin-bottom: 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 15px;
    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: 32px;
    padding: 0 15px;
  }

  .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: 54px;
    padding: 24px 20px;
  }

  .reviews-section {
    margin-top: 64px;
  }

  .reviews-section h2,
  .portfolio-section h2,
  .qualifications-section h2 {
    font-size: 34px;
  }

  .review_container-top {
    padding: 20px;
    padding-bottom: 50px;
  }

  .review_container-top .row>div {
    padding: 20px;
  }

  .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;
  }

  .col-6 {
    width: 100%;
  }

  .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;
  }

  .login-container.login_card {
    padding: 28px 24px;
  }

  /*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: 40px;
    /*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: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 100%;
    height: 100px;
    min-width: 100px;
  }

  .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: space-between;
  }

  .request-btn {
    margin-top: 24px;
  }

  .request-info,
  .reviews-info {
    margin-top: 20px;
  }

  .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: 20px;
  }

  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: 20px;
    padding: 0;
  }

  a.nav-item.active-navbar {
    color: #e69b36;
  }

  a.nav-item.active-navbar img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(39%) saturate(4721%) hue-rotate(339deg) brightness(99%) contrast(81%);
  }

  .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;
  }

  .review-modal-submit .btn {
    max-width: 100% !important;
  }
}

.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;
}

section.hero_section.background-gradient.malert-background {
  background-image: url(/assets/images/media/bg-desktop1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

section.hero_section.background-gradient.malert-background {
  padding-top: 75px;
  padding-bottom: 75px;
}

/* Stilul de bază comun tuturor label-urilor */
.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* 1. Nouă - Albastru */
.status-noua {
  background-color: #eff6ff;
  color: #1e40af;
}

.status-noua .dot {
  background-color: #3b82f6;
}

/* 2. Activă - Verde */
.status-activa {
  background: rgba(240, 254, 237, 1);
  color: rgba(37, 152, 0, 1);
}

.status-activa .dot {
  background-color: rgba(37, 152, 0, 1);
}

/* 3. Finalizată - Gri sau Indigo */
.status-finalizat {
  background-color: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  /* Opțional, pentru un plus de contrast */
}

.status-finalizat .dot {
  background-color: #94a3b8;
}

/* 4. Refuzată - Roșu */
.status-refuzata {
  background-color: #fef2f2;
  color: #991b1b;
}

.status-refuzata .dot {
  background-color: #ef4444;
}

.btn:hover {
  opacity: 0.9;
}

.user-profile-header img#request-logo {
  width: 100%;
  height: 100%;
}

.btn-accept {
  background: linear-gradient(90deg, #3f407a, #834333);
  color: white !important;
}

.btn-deny {
  width: 100%;
  background: white;
  border: 1px solid #e5e7eb;
  color: #4b5563 !important;
  border-radius: 50px;
  padding: 9px;
  text-align: center;
}

.btn-contact {
  width: 100%;
  background: white;
  border: 1px solid #262861;
  color: #262861 !important;
  gap: 8px;
  border-radius: 50px;
  padding: 9px;
  text-align: center;
  justify-content: center;
}

.btn-back {
  background: transparent;
  color: #262861;
  text-decoration: underline;
}

.user-profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 30px;
}



  #portfolio-file-list.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  #portfolio-file-list .file-item {
    position: relative;
    width: 120px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    flex-direction: column !important;
  }

  #portfolio-file-list .preview-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
  }

  #portfolio-file-list .file-name {
    font-size: 12px;
    margin: 6px 0 0;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  #portfolio-file-list .file-size {
    color: #6b7280;
    font-size: 11px;
  }

  #portfolio-file-list .delete-button {
    position: absolute;
    top: -7px;
    right: -7px;
    border: none;
    background: #ef4444;
    color: #fff;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
  }

  .upload-area.drag-over {
    outline: 2px dashed #E69B36;
    background: #fff7ec;
  }

  /* Loading Overlay Styles */
  .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 40, 97, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
  }

  .loading-overlay.active {
    display: flex;
  }

  .loading-content {
    text-align: center;
    color: #fff;
  }

  .loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
    display: block;
    /* Add this */
  }

  .loading-spinner::before,
  .loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    top: 0;
    /* Add this */
    left: 0;
    /* Add this */
  }

  .loading-spinner::before {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(230, 155, 54, 0.2);
  }

  .loading-spinner::after {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #E69B36;
    border-right-color: #E69B36;
    animation: spinner-rotate 1s linear infinite;
  }

  @keyframes spinner-rotate {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .loading-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .loading-subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
  }

  .loading-progress {
    margin-top: 20px;
  }

  .loading-progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
  }

  .loading-progress-fill {
    height: 100%;
    background: #E69B36;
    border-radius: 2px;
    animation: progress-fill 2s ease-in-out infinite;
  }

  @keyframes progress-fill {
    0% {
      width: 0%;
    }

    50% {
      width: 70%;
    }

    100% {
      width: 100%;
    }
  }

  /* Prevent scrolling when loading */
  body.loading-active {
    overflow: hidden;
  }

  /* Real-time field validation styles */
  .field-error-message {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 12px;
    color: #c21a1a;
    font-weight: 400;
  }

  .field-error-message.show {
    display: block;
  }

  .form-field-input.field-invalid {
    border-color: #c21a1a !important;
    box-shadow: 0 0 0 1px rgba(194, 26, 26, 0.15);
  }

  /* .form-field-input.field-valid {
    border-color: #4ecc48 !important;
  } */

  /* Also style the Select2 dropdown for validity */
  .select2-container--default .select2-selection--single.field-invalid,
  .select2-container--default .select2-selection--multiple.field-invalid {
    border-color: #c21a1a !important;
  }

  .select2-container--default .select2-selection--single.field-valid,
  .select2-container--default .select2-selection--multiple.field-valid {
    border-color: #4ecc48 !important;
  }

  /* Loading state while checking server */
  .form-field-input.field-checking {
    border-color: #f0ad4e !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cstyle%3E@keyframes spin %7B to %7B transform: rotate(360deg); %7D %7D%3C/style%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23f0ad4e' stroke-width='2' fill='none' stroke-dasharray='32' stroke-linecap='round' style='animation: spin 1s linear infinite; transform-origin: center;'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 35px;
  }
  .form__background-blue-light {
    background-color: rgba(244, 248, 254, 1);
    padding: 34px 27px;
    border-radius: 24px;
}
.login_card .btn {
    width: 100%;
    margin-top: 36px;
}
.features-header {
    padding: 70px 0;
    text-align: center;
}
h2.features-title {
    font-size: 28px;
    color: rgba(80, 85, 102, 1);
}
.features-header h2.features-title span {
    font-size: 32px;
}
.rating-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 0.6px solid rgba(245, 245, 245, 1);
    width: fit-content;
    margin: auto;
    box-shadow: 17.83px 12.48px 35.65px 0px rgba(0, 0, 0, 0.08);
    padding: 9px;
}

span.star-icon {
    width: 18px;
    height: 18px;
    background-color: rgba(0, 181, 122, 1);
    color: #fff;
}
span.rating-value {
    color: rgba(134, 134, 134, 1);
    font-size: 14px;
    font-weight: 500;
}
.section-divider {
    width: 100%;
    margin-bottom: 50px;
    border: 1px solid rgba(232, 240, 251, 1);
}
.feature-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-icon-wrapper img {
    max-width: 85px;
    width: 100%;
    height: auto;
}
h3.feature-name {
    font-family: 'ClashDisplay';
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    color: rgba(38, 40, 97, 1);
}
p.feature-description {
    text-align: center;
    color: rgba(75, 81, 98, 1);
    font-size: 16px;
}
.features-grid.row {
    padding-bottom: 60px;
}
.steps{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  padding:0;
  margin:0;
}

.steps .step{
  position:relative;
  display:flex;
  align-items:center;
}

/* linia dintre cercuri */
.steps .step:not(:last-child)::after{
  content:"";
  width:56px;              /* lungimea segmentului */
  height:4px;              /* grosimea */
  border-radius:999px;
  background:#E6EAF2;      /* gri (upcoming) */
  margin:0 12px;
}

/* cercul */
.steps .step a{
  width:36px;
  height:36px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
    font-family: 'ClashDisplay';
  text-decoration:none;
  font-weight:600;
  font-size:18px;
  margin-left: 0;
  border:2px solid #C9D2E3;   /* contur gri */
  color:#8A97B0;              /* text gri */
  background:#fff;

}

.steps .step.done a{
  background:#1B2A6B;
  color:#fff;
}
.steps .step.done:not(:last-child)::after{
  background:#1B2A6B;
}

.steps .step.active a{
  background:#1B2A6B;
  color:#fff;
}
form .pagination {
    margin-bottom: 40px;
    margin-top: 0px;
}

.custom-select{
    position:relative;
    width:100%;
}

/* HEADER */
.select-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:14px 18px;
    border:2px solid #E69B36;
    border-radius:10px;

    cursor:pointer;
}

/* text placeholder */
.select-title{
    color:#7c7c7c;
}

/* arrow */
.select-arrow{
    color:#7c7c7c;
    transition:transform .2s;
}

/* când dropdown este deschis */
.custom-select.active .select-header{
    border-color:#2b2f70;
    background:#fff;
}

/* rotire săgeată */
.custom-select.active .select-arrow{
    transform:rotate(180deg);
}

/* dropdown */
.select-dropdown{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;

    border: 1px solid rgba(38, 40, 97, 0.5);
    border-top:none;
    border-radius:0 0 10px 10px;

    max-height:200px;
    overflow-y:auto;

    display:none;
}

/* open */
.custom-select.active .select-dropdown{
    display:block;
}
form h3 {
    font-family: 'ClashDisplay';
    font-weight: 600;
}
.form_label-text p {
    font-size: 16px;
    color: rgba(75, 81, 98, 1);
}
.form_label.wtags {
    display: flex;
    /*gap: 30px;*/
    margin-bottom: 30px;
}
.form_label-wtags .form_green-tag {
    border: 0.86px solid rgba(52, 133, 38, 1);
    background: rgba(52, 133, 38, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    font-family: 'ClashDisplay';
    color: rgba(52, 133, 38, 1);
    font-weight: 500;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;    
    font-size: 14px;
    width: fit-content;
}
.form_label-wtags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    align-items: center;
}
.select-option{
    padding:14px 18px;
    cursor:pointer;
}

.select-option:hover{
    background:#f3f3f3;
}

.select-option.active{
    background:rgba(230, 155, 54, 0.1);
}
.select-dropdown{
    max-height:200px;
    overflow-y:auto;

    padding-right:6px; /* mută scrollbar-ul puțin spre stânga */
}

/* Chrome / Edge / Safari */
.select-dropdown::-webkit-scrollbar{
    width:4px;
}

.select-dropdown::-webkit-scrollbar-track{
    background:transparent;
}

.select-dropdown::-webkit-scrollbar-thumb{
    background:#cfcfcf;
    border-radius:10px;
}

/* elimină săgețile */
.select-dropdown::-webkit-scrollbar-button{
    display:none;
}

/* Firefox */
.select-dropdown{
    scrollbar-width:thin;
    scrollbar-color:#cfcfcf transparent;
}
.domain-section{
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 0px;
  font-family: inherit;
}

.domain-section h2{
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 8px;
  color:#1f2a44;
  font-weight: 700;
}

.domain-subtitle{
  margin: 0 0 22px;
  color:#6b7280;
  font-size: 15px;
}

/* grid ca în poză */
.domain-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  padding: 20px;
}

@media (max-width: 1024px){
  .domain-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px){
  .domain-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px){
  .domain-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* card */
.domain-card{
  border: 1px solid #d8deea;
  background: #fff;
  border-radius: 18px;
  padding: 22px 16px;
  min-height: 140px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 14px;

  cursor:pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.domain-card:hover{
  box-shadow: 0 10px 24px rgba(31,42,68,.06);
}

/* selectat */
.domain-card.is-selected{
  border: 2px solid #2b2f70;
  box-shadow: 0 12px 26px rgba(43,47,112,.10);
}

/* icon 2x2 ca în screenshot */
.domain-icon{
  width: 54px;
  height: 54px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
}

.domain-icon span{
  border-radius: 4px;
}

/* 2 culori */
.domain-icon span:nth-child(1),
.domain-icon span:nth-child(4){
  background:#1b225a;
}
.domain-icon span:nth-child(2),
.domain-icon span:nth-child(3){
  background:#e69b36;
}

.domain-label{
  font-weight: 700;
  color:#1f2a44;
  font-size: 16px;
}
:root{
  --ink:#1f2a44;
  --muted:#6b7280;
  --navy:#262861;
  --accent:#E69B36;
  --line:#e6eaf2;
  --card:#f6f8fc;
}
button.domain-card.active {
    border: 2px solid #1b225a;
    background-color: rgba(244, 248, 254, 1);
}

.accent{ color: var(--accent); }

.svc-badge{
  width:44px;height:44px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 10px 20px rgba(31,42,68,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2aa84a;
  font-weight:900;
}

.svc-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin: 18px 0 22px;
  padding: 20px;
}

.svc-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;

  padding:18px 18px;
  border-radius:12px;

  background:#fff;
  border: 1px solid #d8deea;

  box-shadow:0 6px 14px rgba(31,42,68,.06);
  cursor:pointer;
  user-select:none;

  transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}

/* ascunde checkbox-ul nativ */
.svc-item input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

/* “checkbox” custom */
.svc-check{
  width:18px;height:18px;
  border-radius:4px;
  border:2px solid #c9d2e3;
  background:#fff;
  display:inline-block;
  flex: 0 0 auto;
  position:relative;
}

.svc-text{
  font-weight:700;
  color:var(--ink);
}

.svc-item.is-checked{
  background: var(--navy);
  border-color: var(--navy);
  box-shadow:0 10px 22px rgba(38,40,97,.20);
}

.svc-item.is-checked .svc-text{
  color:#fff;
  font-weight:500;
}

.svc-item.is-checked .svc-check{
  border-color: var(--accent);
  background: var(--accent);
}

.svc-item.is-checked .svc-check::after{
  content:"✓";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:12px;
  font-weight:900;
}

/* CTA mare */
.btn-primary-wide{
  width:100%;
  border:0;
  border-radius:999px;
  background:var(--navy);
  color:#fff;
  padding:16px 18px;
  font-weight:600;
  font-size:18px;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(38,40,97,.18);
}
p.more-cat-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
}
.btn-primary-wide:hover{ filter: brightness(.98); }

.max-cat-sub {
  font-size: 15px;
  color: var(--muted);
  margin: -10px 0 20px;
}



.more-cat{
  background: var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding: 26px 20px;
  text-align:center;
    margin-top: 30px;
}

.more-cat h3{
  margin:0 0 18px;
  font-size:26px;
  font-weight:600;
  color:var(--ink);
}

.more-cat-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn-ghost{
  padding:12px 18px;
  border-radius:12px;
  background:#fff;
  border:1px solid #d8deea;
  color:var(--ink);
  font-weight:600;
  cursor:pointer;
  min-width: 200px;
}

.btn-accent{
  padding:12px 18px;
  border-radius:12px;
  background:var(--accent);
  border:1px solid var(--accent);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  min-width: 200px;
}

/* ============================================
   Step 2 — Animated section reveals
   ============================================ */

/* Transition always present so showAnimated / hideAnimated can drive it */
.domain-section,
.svc-wrap {
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 0.68, 0, 1.1);
}

/* Pre-animation state: set by JS before removing display:none */
.s2-entering {
  opacity: 0 !important;
  transform: translateY(22px) !important;
}

/* Domain card stagger fade-in on grid rebuild */
@keyframes s2CardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.domain-card.s2-card-animate {
  opacity: 0;
  animation: s2CardIn 0.38s ease forwards;
}

/* more-cat pop-in (springy) */
@keyframes s2MoreCatPop {
  0%   { opacity: 0; transform: translateY(18px) scale(0.96); }
  65%  { transform: translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.more-cat.s2-pop {
  animation: s2MoreCatPop 0.52s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Service-item stagger slide-in from left */
@keyframes s2SvcIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.svc-item.s2-item-animate {
  opacity: 0;
  animation: s2SvcIn 0.32s ease forwards;
}

/* Section lock overlay — sits on top of .domain-section or .svc-wrap */
.s2-locked { position: relative; }

.s2-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: 12px;
  cursor: not-allowed;
  pointer-events: all;
  background: rgba(244, 245, 250, 0.55);
  /* backdrop-filter: blur(2px); */
  /* -webkit-backdrop-filter: blur(2px); */
  opacity: 0;
  animation: s2OverlayIn 0.3s ease forwards;
}

.s2-lock-check {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.40);
  opacity: 0;
  transform: scale(0.4);
  animation: s2CheckPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
  pointer-events: none;
  z-index: 21;
}

.s2-lock-check svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

@keyframes s2CheckPop {
  to { opacity: 1; transform: scale(1); }
}

@keyframes s2OverlayIn {
  to { opacity: 1; }
}

.form_label-text h3 span {
    color: #e69b36;
}
:root{
  --navy:#262861;
  --navy2:#1f2253;
  --accent:#E69B36;
  --ink:#1f2a44;
  --muted:#6b7280;
}

.plan-section{
  max-width: 815px;
  margin: 0 auto;
  padding: 18px 18px 40px;
  font-family: inherit;
}

.plan-back{
  display:inline-flex;
  gap:8px;
  color: var(--navy);
  text-decoration:none;
  font-weight:600;
  margin-bottom: 14px;
}
.login_card.register.register_meserias.step-4 {
    position: relative;
}
a.plan-back {
    position: absolute;
    top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.plan-logo-mark{
  display:inline-flex;
  width:28px;height:28px;
  border-radius:8px;
  background:var(--navy);
  color:#fff;
  align-items:center;
  justify-content:center;
}
.plan-logo-text{ color: var(--accent); }

h2.plan-title{
  text-align:center;
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  margin: 10px 0 6px;
}

.plan-subtitle {
    text-align: center;
    color: rgba(37, 50, 75, 1);
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 30px;
}

.plan-card{
  position:relative;
  border-radius: 22px;
  padding: 60px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 55%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%);
  color:#fff;
  box-shadow: 0 22px 40px rgba(31,42,68,.18);
  overflow:hidden;
}

/* ribbon diagonal */
.plan-ribbon{
  position:absolute;
  top: 90px;
  right: -130px;
  transform: rotate(45deg);
  background: var(--accent);
  padding: 5px 80px;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.plan-ribbon span {
    font-weight: 600;
    letter-spacing: 0;
    font-size: 26px;
    text-transform: uppercase;
}
.plan-name {
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'ClashDisplay';
    font-weight: 500;
}

.plan-price-row{
  display:flex;
  align-items:baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.plan-old {
    color: rgba(201, 200, 231, 1);
    text-decoration: line-through;
    font-weight: 400;
    font-family: 'ClashDisplay';
    font-size: 25px;
}
.plan-new {
    color: rgba(230, 155, 54, 1);
    font-weight: 600;
    font-size: 36px;
    font-family: 'ClashDisplay';
}
.plan-new .per {
    font-size: 25px;
    letter-spacing: 0;
    font-weight: 500;
    margin-left: 4px;
}
.plan-tax {
    font-weight: 500;
    margin-top: 2px;
    font-size: 22px;
}
.plan-pay {
    font-size: 16px;
    color: rgba(201, 200, 231, 1);
    margin-top: 4px;
    font-weight: 400;
}
.label_plan {
    display: flex;
    justify-content: center;
}
.plan-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 30px 0 30px;
    padding: 3px 12px;
    background: rgba(253, 239, 216, 1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    font-size: 18px;
    color: rgba(125, 92, 35, 1);
}
.plan-save .spark{
  width:18px;height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(255,255,255,.16);
}
.plan-save span {
    font-weight: 600;
    color: rgba(95, 50, 4, 1);
    font-size: 22px;
}
.plan-cta {
    width: 100%;
    border: 0;
    border-radius: 15px;
    padding: 15px;
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    font-size: 24px;
}
.plan-cta:hover{ filter: brightness(.98); }

.plan-divider{
  height:1px;
  background: rgba(255,255,255,.14);
      margin: 30px 0 30px;
}

/* benefits */
.plan-benefits{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.plan-benefits li {
    display: flex;
    gap: 10px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    font-weight: 300;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 0;
}
.plan-more {
    width: 100%;
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: rgba(230, 155, 54, .95);
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
}
.plan-more .chev{
  transition: transform .2s;
}

/* collapsed state (arătăm doar primele 6) */
.plan-benefits.is-collapsed li:nth-child(n+7){
  display:none;
}

.plan-more.is-open .chev{
  transform: rotate(180deg);
}
.entity-switch{
  background:#f6f8fc;
  border:1px solid #e6eaf2;
  border-radius:18px;
  padding:28px 18px;
  text-align:center;
  margin-bottom: 14px;
}
.entity-title {
    margin: 0 0 22px;
    font-size: 26px;
    font-weight: 600;
    color: rgba(37, 50, 75, 1);
    font-family: 'Inter';
}

.entity-tabs{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

/* ascundem radio-ul nativ */
.entity-radio{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

/* butoanele */
.entity-tab{
  min-width: 260px;
  padding:14px 18px;
  border-radius:14px;
  border:1px solid #d8deea;
  background:#fff;
  color:#1f2a44;
  font-weight:500;
  cursor:pointer;
  user-select:none;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}

/* starea selectată */
.entity-radio:checked + .entity-tab{
  background:#E69B36;
  border-color:#E69B36;
  color:#fff;
}

/* badge verde */
.confidential-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid #3b8a3b;
  color:#2f7a2f;
  border-radius:999px;
  font-size:13px;
  margin: 6px 0 18px;
  background:#f2fff2;
}

.confidential-dot{
  width:18px;height:18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e5ffe5;
  border:1px solid #3b8a3b;
  font-size:11px;
}
.field-label{
  display:block;
  font-weight:500;
  margin: 0 0 8px;
}
div#date-fizice .col-lg-12.col-md-12 {
    margin-top: 20px;
}

.custom-select{
  position:relative;
  width:100%;
}

/* starea “closed” */
.select-header{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding: 12px 14px;
  border-radius:10px;
  background:#f6f7fb;

  cursor:pointer;
  user-select:none;
}

.select-title{
  color:#7b879b;
  font-weight:500;
  font-size:14px;
}

.select-arrow{
  color:#7b879b;
  transition: transform .15s ease;
}

/* open */
.custom-select.active .select-header{
  border-color:#262861;
  background:#fff;
}
.custom-select.active .select-arrow{
  transform: rotate(180deg);
  color:#262861;
}

/* dropdown */
.select-dropdown{
  position:absolute;
  top: calc(100% + 8px);
  left:0;
  width:100%;
  background:#fff;

  border:1px solid #d8deea;
  border-radius:12px;

  max-height: 220px;
  overflow-y:auto;

  display:none;
  z-index: 50;

  box-shadow: 0 18px 32px rgba(31,42,68,.12);
}

.custom-select.active .select-dropdown{ display:block; }

.select-option{
  padding: 12px 14px;
  font-size:14px;
  cursor:pointer;
}
.select-option:hover{ background:#f3f5fb; }
.select-option.active{ background:#efe6d9; }

/* selected text after choose */
.custom-select.has-value .select-title{
  color:#1f2a44;
  font-weight:700;
}

/* disabled localitate */
.custom-select.is-disabled .select-header{
  opacity:.55;
  cursor:not-allowed;
}
.custom-select.is-disabled .select-header{ pointer-events:none; }

/* scrollbar subțire, fără săgeți, ușor “în interior” */
.select-dropdown{
  padding-right:8px;
}
.select-dropdown::-webkit-scrollbar{ width:4px; }
.select-dropdown::-webkit-scrollbar-track{ background:transparent; }
.select-dropdown::-webkit-scrollbar-thumb{
  background:#cfcfcf;
  border-radius:10px;
  border:2px solid transparent;
  background-clip:padding-box;
}
.select-dropdown::-webkit-scrollbar-button{ display:none; }
.select-dropdown{ scrollbar-width:thin; scrollbar-color:#cfcfcf transparent; }



/**********************************************************************************************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;
  }

  .request-item-content.row {
    margin: 0;
  }

  .request-details-info {
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
  }

  .request-id {
    display: block;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(214, 221, 235, 0.8);
    padding-bottom: 10px;
  }

  .user-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
  }

  .user-profile-header h2 {
    font-size: 18px;
    color: #262861;
    margin: 0;
  }

  .request-details-content p {
    color: #4b5563;
    margin-bottom: 0;
  }

  .request-details-content p span {
    margin-bottom: 0;
  }

  .separator {
    border: 0;
    border-top: 1px solid #f3f4f6;
    margin: 15px 0;
  }

  /* Galeria de imagini */
  .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
  }

  .gallery-item {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 1;
    object-fit: cover;
  }

  /* Butoanele tip Pill */
  .request-details-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
    border: none;
    cursor: pointer;
  }

  .btn-accept {
    background: linear-gradient(90deg, #3f407a, #834333);
    color: white !important;
  }

  .btn-deny {
    width: 100%;
    background: white;
    border: 1px solid #e5e7eb;
    color: #4b5563 !important;
    border-radius: 50px;
    padding: 9px;
    text-align: center;
  }

  .btn-contact {
    width: 100%;
    background: white;
    border: 1px solid #262861;
    color: #262861 !important;
    gap: 8px;
    border-radius: 50px;
    padding: 9px;
    text-align: center;
    justify-content: center;
  }

  .btn-back {
    background: transparent;
    color: #262861;
    text-decoration: underline;
  }

  /* Butonul maro din figma (Accepta) */

  .login_card h1, .login_card h2 {
    font-family: 'ClashDisplay';
    font-size: 24px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 12px;
}
.features-grid.row {
    padding-bottom: 60px;
    gap: 30px;
}
}

/* 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:hover {
  background-color: #f9fafb;
  transform: translateX(2px);
}

.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 {
  color: #262861;
  font-weight: 700;
}

.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: 0;
  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: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 18px 18px;
  background: white;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  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;
  }

  .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: #f8f9fc;
    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: 0;
    padding: 20px;
    gap: 16px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }

  .file-preview-header {
    font-size: 14px;
    flex-wrap: wrap;
  }

  .file-preview-header p {
    font-size: 14px;
  }

  .file-preview-figure {
    min-height: 200px;
    max-height: 300px;
  }

  .file-preview-figure img {
    max-height: 300px;
    max-width: 100%;
    object-fit: contain;
  }

  .file-preview-figure embed {
    max-height: 300px;
    height: 300px;
  }

  .file-preview-actions {
    gap: 10px;
  }

  .file-preview-btn {
    padding: 8px 20px;
    font-size: 13px;
  }
  p.more-cat-title,
  .entity-title {
    font-size: 20px;
    font-weight: 500;
}
.more-cat-actions button,
.entity-tab {
    width: 100%;
}
  .form_label-wtags{
    display:flex;
    flex-wrap:nowrap;          /* NU se mai sparg pe rânduri */
    gap:8px;

    overflow-x:auto;           /* scroll orizontal */
    overflow-y:hidden;

    padding-bottom:4px;

    -webkit-overflow-scrolling:touch;
  }

  /* badge-urile nu trebuie să se micșoreze */
  .form_green-tag{
    flex:0 0 auto;
    white-space:nowrap;
  }

  /* ascunde scrollbar-ul */
  .form_label-wtags::-webkit-scrollbar{
    display:none;
  }

  .form_label-wtags{
    scrollbar-width:none;      /* Firefox */
  }
  .login_card.register.register_meserias.step-4 a.plan-back {
    display: none;
}
.plan-section {
    max-width: 815px;
    margin: 0 auto;
    padding: 0;
    font-family: inherit;
}
.plan-card {
      padding: 20px 15px;
}
.plan-ribbon span {
    font-weight: 600;
    letter-spacing: 0;
    font-size: 12px;
    text-transform: uppercase;
}
.plan-ribbon {
    position: absolute;
    top: 40px;
    right: -110px;
    transform: rotate(45deg);
    background: var(--accent);
    padding: 5px 80px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}
.plan-name {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'ClashDisplay';
    font-weight: 500;
    margin-top: 40px;
}
.plan-old {
  font-size: 20px;
}
.plan-new {
    color: rgba(230, 155, 54, 1);
    font-weight: 600;
    font-size: 28px;
    font-family: 'ClashDisplay';
}
.plan-tax {
    font-weight: 500;
    margin-top: 2px;
    font-size: 15px;
}
.label_plan {
    display: flex;
    justify-content: flex-start;
}
.plan-save {
  font-size: 14px;
    margin: 20px 0 20px;
    padding: 2px 12px;
}
.plan-save span {
  font-size: 16px;
}
.plan-cta {
  padding: 10px;
}
.plan-divider {
  margin: 20px 0 20px;
}
.plan-more {
  font-size: 18px;
  font-weight: 500;
}
section.plan-section {
    margin-bottom: 50px;
}
#date-juridice, #date-fizice {
  padding: 20px;
}
#date-juridice .row, 
#date-fizice .row {
    gap: 20px;
}
div#date-fizice .col-lg-12.col-md-12 {
  margin-top: 0;
}


}

#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 150px 150px;
}

section.hero_section {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 0 0 150px 150px;
}

@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: 200px !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 - 300px);
  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: 200px; */
  max-height: 400px;
  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: 40%;
  max-height: 40%;
  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: 16px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 40px;
  background: linear-gradient(90deg, #c73e0f 0%, #6a2b67 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(70, 50, 80, 0.06);
}

.malert-header .malert-col {
  flex: 1;
  font-size: 16px;
  padding: 3px 3px;
}

.malert-col-cerere {
  flex: 1;
}

.malert-col-serviciu {
  flex: 1.2;
}

.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;
  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: transparent;
  color: #fff;
  border: 0;
  padding: 0 10px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
}

.malert-details-title {
  flex: 1;
}

.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: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 700;
}

.btn-refuse {
  background: #fff;
  border: 1px solid #e6e6e6;
  color: #333;
  padding: 6px 12px;
  border-radius: 100px;
  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-header img {
  width: 30px;
  height: 30px;
}

/* mAlert Form Styles */
.malert-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.malert-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 00px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(124.96deg, #b82b00 7.43%, #262861 83.53%) border-box;
}

/* Main layout with sidebar */
.malert-layout {
  display: flex;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  flex-direction: column;
}

/* Center the content when showing the success step (sidebar hidden) */
.malert-layout.success {
  justify-content: center;
}

.malert-layout.success .malert-content {
  flex: 0 1 900px;
  max-width: 900px;
}

/* Vertical Step Progress Sidebar */
/*  .step-sidebar {
        position: sticky;
        top: 125px;
        height: fit-content;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        padding: 25px 20px;
        min-width: 200px;
    }*/

.step-sidebar-title {
  font-size: 14px;
  font-weight: 600;
  color: #262861;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-progress-vertical {
  display: flex;
  gap: 0;
  justify-content: space-around;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #262861;
  box-shadow: 0px 4px 16px 0px #26286126;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.step-item.disabled {
  cursor: not-allowed;
  opacity: 1;
}

.step-item:not(.disabled):hover .step-circle {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(230, 155, 54, 0.3);
}

.step-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid #262861;
  background: #fff;
  color: #262861;
  transition: all 0.3s ease;
  z-index: 1;
  font-size: 24px;
  font-family: clash display;
}

.step-circle.active {
  border-color: #b82b00;
  background: #b82b00;
  color: #fff;
}

.step-circle.completed {
  border-color: #4caf50;
  background: #4caf50;
  color: #fff;
}

.step-info {
  flex: 1;
  padding-top: 6px;
}

.step-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.step-item.active .step-label {
  color: #e69b36;
}

.step-item.completed .step-label {
  color: #4caf50;
}

.step-sublabel {
  font-size: 11px;
  color: #888;
}

.step-connector {
  width: 2px;
  height: 25px;
  background: #e0e0e0;
  margin-left: 17px;
  transition: background 0.3s ease;
}

.step-connector.completed {
  background: #4caf50;
}

/* Form content area */
.malert-content {
  flex: 1;
}

/* Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 0;

  padding-bottom: 0;
}

.industry-item {
  background: rgba(244, 248, 254, 1);
  border: 1px solid rgba(214, 221, 235, 1);
  border-radius: 0 20px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.industry-item:hover {
  border-color: rgba(184, 43, 0, 1);
}

.industry-item.selected {
  border-color: #e69b36;
  background: #fff8f0;
}

.industry-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.industry-item .industry-name {
  font-size: 18px;
  color: rgba(37, 50, 75, 1);
  font-weight: 600;
  line-height: 1.3;
  font-family: clash display;
}

/* Form Elements */
.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.form-label span {
  font-weight: 400;
  color: #888;
  font-size: 13px;
}

.form-control-malert {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-malert:focus {
  outline: none;
  border-color: #e69b36;
  box-shadow: 0 0 0 3px rgba(230, 155, 54, 0.1);
}

.form-control-malert::placeholder {
  color: #aaa;
}

select.form-control-malert {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E69B36' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

textarea.form-control-malert {
  min-height: 120px;
  resize: vertical;
}

/* Image Upload */
.image-upload-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.image-upload-box {
  width: 70px;
  height: 70px;
  border: 2px dashed #ddd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  position: relative;
  overflow: visible;
}

.image-upload-box:hover {
  border-color: #e69b36;
}

.image-upload-box.has-image {
  border-style: solid;
  /* overflow: hidden; */
}

.image-upload-box.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.image-upload-box .upload-icon {
  color: #e69b36;
  font-size: 24px;
}

.image-upload-box .remove-image {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  padding: 0;
  margin: 0;
  border: none;
  line-height: 1;
  background: #ff4444;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(255, 68, 68, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}

.image-upload-box .remove-image:hover,
.image-upload-box .remove-image:focus-visible {
  background: #e02020;
  transform: scale(1.05);
  outline: none;
}

.image-upload-box .remove-image:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff4444;
}

/* Character counter bar */
.char-counter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.char-counter-bar.needs-more {
  background: #fff8f0;
  border: 1px solid #e69b36;
}

.char-counter-bar.valid {
  background: #e8f5e9;
  border: 1px solid #4caf50;
}

.char-counter-text {
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.char-counter-bar.needs-more .char-counter-text {
  color: #e69b36;
}

.char-counter-bar.valid .char-counter-text {
  color: #4caf50;
}

.char-counter-icon {
  font-size: 14px;
}

/* Fixed continue button */
.continue-btn-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #e69b36 0%, #d08a2e 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(230, 155, 54, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.continue-btn-fixed.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.continue-btn-fixed:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(230, 155, 54, 0.5);
}

.continue-btn-fixed:active {
  transform: translateY(0) scale(0.98);
}

.continue-btn-fixed i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.continue-btn-fixed:hover i {
  transform: translateX(4px);
}

@media (max-width: 576px) {
  .continue-btn-fixed {
    bottom: 50px;
    right: 20px;
    justify-content: center;
  }
}

.upload-info {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}

/* Submit Button */
.btn-malert {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #262861 0%, #3d3f8f 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-malert:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 40, 97, 0.3);
}

.btn-malert:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-malert-secondary {
  background: #fff;
  color: #262861;
  border: 2px solid #262861;
}

.btn-malert-secondary:hover {
  background: #f8f9fa;
}

/* Step visibility - hidden initially, revealed on completion */
.malert-step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  margin-bottom: 20px;
}

.malert-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Finished steps stay in the DOM for sidebar navigation but are not shown */
.malert-step.completed {
  display: none !important;
}

.malert-card .form-group {
  padding: 30px;
  padding-top: 0;
}

div#selection-display,
.image-upload-container,
.upload-info {
  padding: 30px;
  padding-top: 0;
}

.malert-step.hidden {
  display: none !important;
}

/* Edit button on completed steps */
.step-edit-btn {
  position: absolute;
  top: 15px;
  right: 55px;
  background: #e69b36;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.step-edit-btn:hover {
  background: #d08a2e;
  transform: scale(1.05);
}

/* Progress indicator in sidebar */
.progress-indicator {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.progress-text {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.progress-bar-container {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e69b36 0%, #4caf50 100%);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 3px;
}

/* Card reveal animations */
.malert-card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardReveal 0.6s ease forwards;
  animation-delay: 0.1s;
}

@keyframes cardReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Industry items staggered reveal */
.industry-item {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  animation: itemReveal 0.4s ease forwards;
}

.industry-grid .industry-item:nth-child(1) {
  animation-delay: 0.1s;
}

.industry-grid .industry-item:nth-child(2) {
  animation-delay: 0.15s;
}

.industry-grid .industry-item:nth-child(3) {
  animation-delay: 0.2s;
}

.industry-grid .industry-item:nth-child(4) {
  animation-delay: 0.25s;
}

.industry-grid .industry-item:nth-child(5) {
  animation-delay: 0.3s;
}

.industry-grid .industry-item:nth-child(6) {
  animation-delay: 0.35s;
}

.industry-grid .industry-item:nth-child(7) {
  animation-delay: 0.4s;
}

.industry-grid .industry-item:nth-child(8) {
  animation-delay: 0.45s;
}

.industry-grid .industry-item:nth-child(9) {
  animation-delay: 0.5s;
}

@keyframes itemReveal {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Form elements reveal */
.form-group {
  opacity: 0;
  transform: translateX(-15px);
  animation: formReveal 0.4s ease forwards;
}

.malert-step.active .form-group:nth-child(1) {
  animation-delay: 0.15s;
}

.malert-step.active .form-group:nth-child(2) {
  animation-delay: 0.25s;
}

.malert-step.active .form-group:nth-child(3) {
  animation-delay: 0.35s;
}

.malert-step.active .form-group:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes formReveal {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Button reveal */
.btn-malert {
  opacity: 0;
  transform: translateY(10px);
  animation: buttonReveal 0.4s ease forwards;
  animation-delay: 0.4s;
}

@keyframes buttonReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success step special animation */
#step-success .success-icon {
  animation: successPop 0.6s ease forwards;
  animation-delay: 0.2s;
  transform: scale(0);
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

#step-success h3 {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 0.5s;
}

#step-success p {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 0.7s;
}

#step-success .btn-malert {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step circle pulse animation on complete */
.step-circle.completed {
  animation: circlePulse 0.4s ease;
}

@keyframes circlePulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Progress line fill animation */
.step-line {
  position: relative;
  overflow: hidden;
}

.step-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #262861;
  transition: width 0.5s ease;
}

.step-line.completed::after {
  width: 100%;
}

/* Row for contact form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  margin-bottom: 20px;
}

/* Error states */
.form-control-malert.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

.is-invalid~.invalid-feedback {
  display: block;
}

/* Success Modal */
.success-message {
  text-align: center;
  padding: 30px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon i {
  font-size: 40px;
  color: #4caf50;
}

.success-message h3 {
  color: #333;
  margin-bottom: 10px;
}

.success-message p {
  color: #666;
  margin-bottom: 20px;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.malert-content-section {
  padding: 15px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .malert-layout {
    flex-direction: column;
    padding: 10px;
    padding-top: 0px;
    /* Offset for the fixed sidebar */
  }

  .step-sidebar {
    position: relative;
    top: 0px;
    /* Right below the fixed header */
    left: 0;
    right: 0;
    width: 100%;
    min-width: unset;
    margin-bottom: 0;
    z-index: 990;
  }

  .step-sidebar-title {
    display: none;
    /* Hide title to save vertical space */
  }

  .step-progress-vertical {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 5px;
  }

  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    flex: 1;
    gap: 4px;
    position: relative;
  }

  /* Re-introduce connectors for horizontal layout */
  .step-connector {
    display: block;
    flex: 1;
    height: 2px;
    width: auto;
    margin: 0px;
    margin-bottom: 15px;
    /* Align with middle of 28px circle */
    z-index: 0;
  }

  .step-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 18px;
    position: relative;
    z-index: 2;
  }

  .step-info {
    padding-top: 0;
    display: none;
  }

  .step-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .step-sublabel {
    display: none;
  }

  .progress-indicator {
    display: none;
    /* Hide progress bar to save space */
  }

  .malert-content {
    max-width: 100%;
  }

  .malert-card .form-group,
  div#selection-display,
  .image-upload-container,
  .upload-info {
    padding: 0;
    padding-top: 0;
  }
}

@media (max-width: 576px) {
  .malert-card {
    padding: 0px;
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .industry-item .industry-name {
    font-size: 11px;
    color: rgba(37, 50, 75, 1);
    font-weight: 600;
    line-height: 1.3;
    font-family: clash display;
  }

  .industry-item {
    padding: 15px 10px;
  }

  .industry-item img {
    width: 40px;
    height: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .step-sublabel {
    display: none;
  }
}

/* mAlert Mobile Styles */
@media screen and (max-width: 767px) {
  .malert-header {
    /*display: none !important;*/
  }

  section.hero_section,
  section.hero_section.background_lightblue {
    position: relative;
    padding-top: 10px;
    padding-bottom: 50px;
    border-radius: 0 0 50px 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-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;
}

/* CSS */
#ai-generate-btn {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: #000000;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  max-width: 250px;
}

#ai-generate-btn:before {
  content: '';
  background: linear-gradient(45deg,
      #ff0000,
      #ff7300,
      #fffb00,
      #48ff00,
      #00ffd5,
      #002bff,
      #7a00ff,
      #ff00c8,
      #ff0000);
  position: absolute;
  top: 0px;
  left: 0px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(2px);
  width: calc(100% + 0px);
  height: calc(100% + 0px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

#ai-generate-btn:hover {
  color: #000;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

#ai-generate-btn:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@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;
  }
}

