textarea.error,
select.error,
input[type="text"].error,
input[type="email"].error,
input[type="password"].error {
  color: red;
  border: 1px solid red !important;
}

textarea.valid,
select.valid,
input[type="text"].valid,
input[type="email"].valid,
input[type="password"].valid {
  color: green;
  border: 2px solid green;
}

label.error {
  color: red;
  margin: 0px 0px 0px 2px;
  font-size: 14px;
}

.loads {
  font-size: 1.7rem;
  font-weight: bold;
}

#city_input_wrapper,
#city_suggestions {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Maintain height of parent so layout doesn't jump */
#selected_location,
#city_input_wrapper,
#city_suggestions {
  width: 100%;
}

.position-relative {
  height: 45px;
  /* Adjust based on your layout */
}

/* Common height for both inputs */
#selected_location,
#city_input,
#transport_search {
  height: 40px;
  line-height: 45px;
  padding: 0 12px;
  font-size: 14px;
}

/* Remove padding from city input wrapper */
#city_input_wrapper .form-control {
  padding: 0;
  height: 40px;
  line-height: 45px;
}

/* Ensure consistency in styling */
#selected_location {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 0 12px;
}

.city_input_wrapper,
.city_suggestions {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Maintain height of parent so layout doesn't jump */
.selected_location,
.city_input_wrapper,
.city_suggestions {
  width: 100%;
}

.position-relative {
  height: 40px;
}

/* Common height for both inputs */
.selected_location,
.city_input,
.transport_search {
  height: 40px;
  line-height: 45px;
  padding: 0 12px;
  font-size: 14px;
}

/* Remove padding from city input wrapper */
.city_input_wrapper .form-control {
  padding: 0;
  height: 45px;
  line-height: 45px;
}

/* Ensure consistency in styling */
.selected_location {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 0 12px;
}

.transport-type {
  width: 160px;
  padding: 10px 15px;
  text-align: center;
  cursor: pointer;
  background-color: #fff;
  transition: 0.3s;
}

.transport-type i {
  margin-bottom: 6px;
  display: block;
}

.transport-type small {
  font-size: 12px;
}

.transport-type.active {
  background-color: #041c2f;
  color: #fff;
}

.transport-type.active small {
  color: #dfe3ff;
}

.weight-btn {
  height: 38px;
}

.find-transporters {
  background-color: #041c2f !important;
  color: #fff !important;
}

.find-transporters:hover {
  background-color: #041c2f;
  color: #fff;
}

.arrow-cir {
  margin: 0px 0px 35px 0px;
}

.material-weight {
  margin: 0px 0px 35px 0px;
}

.transport-type img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}

.btn-driver-load-more {
  width: 9%;
}

/* Remove underline */
a {
  text-decoration: none !important;
}

/* Blog Card Modern UI */
.blog-card {
  transition: all 0.35s ease;
  border: 1px solid #eee;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10) !important;
}

/* Image */
.blog-img {
  height: 240px;
  object-fit: cover;
  transition: 0.35s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

/* Title */
.blog-title {
  color: #222;
  font-size: 1.2rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
  color: #041c2f;
  /* Bootstrap Primary Blue */
}

/* Description */
.blog-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Read More Button */
.btn-read-more {
  font-weight: 600;
  color: #041c2f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  color: #084298;
}

.btn-read-more .arrow {
  transition: transform 0.3s ease;
}

.btn-read-more:hover .arrow {
  transform: translateX(6px);
}

.form-switch-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.switch-btn {
  padding: 7px 20px;
  border-radius: 30px;
  border: 1px solid #ccc;
  background: #f2f2f2;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.switch-btn.active {
  background: #041c2f;
  color: #fec202;
  border-color: #fec202;
}

/* How We Work */
.list-how-works li {
  display: flex;
  align-items: start;
  margin-bottom: 30px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffe680;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 30px;
  height: 30px;
}

/* Form */
.transopedia-form {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.form-switch-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.switch-btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: #f1f5f9;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.switch-btn.active {
  background: #041c2f;
  color: #fec409;
  border-color: #fec409;
}

.input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.input:focus {
  border-color: #041c2f;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.2);
  outline: none;
}

.textarea-input {
  min-height: 120px;
  resize: none;
}

.btn-gradient {
   background: linear-gradient(90deg, #041c2f, #0a3d66);
  color: #fec202 !important;
   
  padding: 6px 20px !important;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-gradient:hover {
   background: linear-gradient(90deg, #fec202, #fce37f);
  color: #041c2f !important;
 
}

.btn-outline-primary {
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #041c2f;
  border: 1px solid #041c2f;
  transition: 0.3s;
}

.btn-outline-primary:hover {
  background: #041c2f;
  color: #fff;
}
.post-job{
  background: linear-gradient(120deg,#f8fbff,#eef5ff);
}

/* Main Card */
.post-job-card{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Header */
.form-header{
  background: linear-gradient(135deg, #041c2f, #1b3c6c);
  color:#fff;
  padding:30px;
}
.form-header h2{
  font-weight:700;
  margin-bottom:5px;
}
.form-header p{
  opacity:0.9;
}

/* Section Title */
.section-title{
  font-weight:700;
  color:#041c2f;
  font-size:18px;
  border-left:4px solid #041c2f;
  padding-left:10px;
}

/* Inputs */
.modern-input{
  border-radius:12px;
  border:1px solid #e3e8f0;
  padding:12px 14px;
  transition:0.3s;
}
.modern-input:focus{
  border-color:#041c2f;
  box-shadow:0 0 0 0.15rem rgba(13,110,253,.15);
}

/* Button */
.modern-submit{
  background: linear-gradient(135deg,#041c2f,#3f8cff);
  color:#fff;
  padding:14px 40px;
  border-radius:30px;
  font-weight:600;
  border:none;
  transition:0.3s;
  box-shadow:0 10px 25px rgba(13,110,253,0.3);
}
.modern-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 30px rgba(13,110,253,0.4);
}

/* Right Panel */
.info-panel{
  background:#fff;
  border-radius:18px;
  padding:25px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  position: sticky;
  top: 20px;
}
.info-panel h4{
  font-weight:700;
  margin-bottom:15px;
  color:#041c2f;
}
.info-panel ul{
  padding-left:0;
  list-style:none;
}
.info-panel ul li{
  padding:8px 0;
  font-weight:500;
}

/* Help Box */
.info-box{
  background: linear-gradient(135deg,#f1f6ff,#e8f0ff);
  border-radius:12px;
  padding:15px;
  margin-top:20px;
  text-align:center;
}
.info-box h5{
  font-weight:700;
}
.info-box a{
  display:inline-block;
  margin-top:10px;
  font-weight:600;
  color:#041c2f;
  text-decoration:none;
}
