.five-row{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
  justify-content:center;
  align-items:stretch;
}
.five-row .card-col{
  box-sizing:border-box;
  flex:0 0 100%;
  max-width:100%;
  min-width:160px;
}

/* Small screens: 1 column (mobile) */
@media (min-width:480px) and (max-width:767px){
  .five-row .card-col{
    flex:0 0 calc((100% - 0.5rem)/1);
    max-width:calc((100% - 0.5rem)/1);
  }
}

/* Tablet screens: 2 columns (>=768px and <992px) */
@media (min-width:768px) and (max-width:991px){
  .five-row{
    justify-content:center;
    gap:1.5rem;
  }
  .five-row .card-col{
    flex:0 0 calc((100% - 1.5rem)/2);
    max-width:calc((100% - 1.5rem)/2);
  }
}

/* Large screens: 4 columns (>=992px) */
@media (min-width:992px){
  .five-row{
    justify-content:center;
    gap:1.5rem;
  }
  .five-row .card-col{
    flex:0 0 calc((100% - 4.5rem)/4);
    max-width:calc((100% - 4.5rem)/4);
  }
}

.five-row .card-col .card{
  transition:transform .25s ease, box-shadow .25s ease;
}
.five-row .card-col .card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.five-row .btn-label{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

/* RFQ Message Styling */
#rfqMessage {
  background: linear-gradient(135deg, #cfe9f3 0%, #e0f2f7 100%);
  border-left: 4px solid #0c5460;
  border-radius: 4px;
}

#rfqMessage strong {
  color: #0c5460;
  font-size: 16px;
}

#rfqMessage p {
  color: #0c5460;
  font-size: 14px;
}

#rfqMessage a {
  color: #0c5460;
  text-decoration: none;
  font-weight: 500;
}

#rfqMessage a:hover {
  text-decoration: underline;
  color: #084c68;
}

#rfqMessage ion-icon {
  color: #0c5460;
  font-size: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

/* Form Actions Container */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
}

.form-actions .btn {
  flex-shrink: 0;
  padding: 0.625rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-actions .btn:hover {
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.25);
  transform: translateY(-2px);
}

.messenger-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #0084FF;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #0084FF;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}

.messenger-icon-link:hover {
  color: white;
  text-decoration: none;
  background: #0084FF;
  border-color: #0073E6;
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
  transform: translateY(-2px);
}

.messenger-icon-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 132, 255, 0.2);
}

.messenger-icon {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.messenger-icon.default-icon {
  opacity: 1;
}

.messenger-icon.hover-icon {
  opacity: 0;
  position: absolute;
}

.messenger-icon-link:hover .default-icon {
  opacity: 0;
}

.messenger-icon-link:hover .hover-icon {
  opacity: 1;
}
