/* === General form styling === */
.custom-form {
  max-width: 480px;
  margin: 0 auto;
  font-family: 'Inter', 'Poppins', sans-serif;
  color: #333;
}

/* === Labels === */
.custom-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #6b6b6b;
  margin-bottom: 8px;
}

/* === Inputs & Selects === */
.custom-form input[type="text"],
.custom-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background-color: #f9fafb;
  font-size: 15px;
  color: #111827;
  outline: none;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

/* === Placeholder styling === */
.custom-form input::placeholder,
.custom-form select::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* === Hover / Focus states === */
.custom-form input[type="text"]:focus,
.custom-form select:focus {
  border-color: #2563eb; /* subtle blue border */
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* === Form spacing === */
.custom-form .form-group {
  margin-bottom: 24px;
}

/* === Dropdown arrow alignment === */
.custom-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%239ca3af' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E<path stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

/* === Optional: spacing between label and input === */
.custom-form label + input,
.custom-form label + select {
  margin-top: 4px;
}

/* === Light dotted separator (like in your image) === */
.form-separator {
  border-bottom: 1px dashed #e0e0e0;
  margin: 16px 0;
}
#company-results {
  margin-top: 25px;
}

.match-section {
  margin-bottom: 25px;
}

.match-heading {
  font-size: 15px;
  font-weight: 600;
  color: #6b6b6b;
  margin-bottom: 12px;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.company-card:hover {
  background: #f9faff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.company-card input[type="radio"] {
  accent-color: #377dff;
  margin-right: 10px;
  transform: scale(1.2);
}

.company-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.company-info span {
  font-size: 14px;
  color: #444;
}

.company-info .company-name {
  font-weight: 600;
  flex: 1;
  margin: 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city {
  color: #7d7d7d;
}

.year {
  color: #7d7d7d;
}

.no-result {
  text-align: center;
  color: #999;
  padding: 12px;
}


.section-title-exact p{
 	margin: 15px 0 8px !important;
 	color: #868783 !important;
    
  	font-family: Poppins !important;
    font-weight: 500 !important;
    font-style: Medium !important;
    font-size: 16px !important;
}

.company-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
}

.company-card input[type="radio"] {
  margin-right: 10px;
  accent-color: #5c6bc0; /* Optional custom radio color */
}

.company-card .details {
  display: flex;
  justify-content: normal;
  width: 100%;
  font-size: 14px;
}

.company-card .name {
 font-family: Poppins;
font-weight: 400;
font-size: 12px;
color: #404040;
}

.company-card .city {
  font-family: Poppins;
font-weight: 400;
font-size: 12px;
color: #A5A5A5;
}
.company-card .cin
{
font-family: Poppins;
font-weight: 400;
font-size: 12px;
color: #999999;
}

.scroll-container {
  display: flex;
  
    flex-direction: column;
    overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  height: 180px; /* ✅ fixed height */
}



.company-card {
  
  display: flex;
 flex-direction: row;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
  justify-content: center;
}

.company-card input[type="radio"] {
  accent-color: #5c6bc0;
}

.company-card .details {
  display: flex;
    flex-direction: row;
  gap: 4px;
  font-size: 14px;
}


.company-card .city,
.company-card .cin {
  color: #777;
  font-size: 13px;
}


 .details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Optional: Adds space between the elements */
}

.details span {
    max-width: 150px; 
    overflow: hidden;
    text-overflow: ellipsis; 
    white-space: nowrap; 
    display: block; 
}

/* Scroll container */
.scroll-container {
    max-height: 250px !important; 
    overflow-y: auto !important;
}

/* Thin scrollbar for Chrome, Edge, Safari */
.scroll-container::-webkit-scrollbar {
    width: 4px !important;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 10px !important;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 10px !important;
    min-height: 32.4px !important;
}

/* Thin scrollbar for Firefox */
.scroll-container {
    scrollbar-width: thin !important;
    scrollbar-color: #c1c1c1 #f1f1f1 !important;
}


.company-card input[type="radio"] {
    margin-right: 12px;
}

.details {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.cin {
    width: 80px !important;  
}

.name {
    flex: 1; 
    padding-left: 10px;
    max-width: 300px !important;
    
}

.city {
    width: 120px !important;         /* fixed width for alignment */
    text-align: left !important;
   
}

.year {
    width: 60px !important;
    text-align: left !important;
 
}