/* 🌟 Enquiry Form Styling */
#ces-enquiry-form {
  max-width: 600px;
  background: #ffffff;
}

#ces-enquiry-form p {
  margin: 0 0 15px;
}

#ces-enquiry-form input,
#ces-enquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #949494;
  font-size: 15px;
  font-family: inherit;
  transition: 0.2s;
}

#ces-enquiry-form input:focus,
#ces-enquiry-form textarea:focus {
  border-color: #FFD700;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 115, 170, 0.2);
  outline: none;
}

#ces-enquiry-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* #ces-enquiry-form button {
  background: linear-gradient(135deg, #0073aa, #005b8a);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
} 

#ces-enquiry-form button:hover {
  background: linear-gradient(135deg, #005b8a, #003f6d);
  transform: scale(1.02);
}
*/

/* ✅ Success Message Styling */
#ces-response {
  display: none;
  margin: 10px 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: all 0.4s ease;
}

#ces-response.alert-success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInDown 0.5s ease;
}

#ces-response.alert-error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInDown 0.5s ease;
}

/* Fade animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 🌟 Listing Styling */
.ces-enquiries-list {
  max-width: 800px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ces-item {
  background: #fff;
  padding: 5px 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-left: 6px solid #0073aa;
  transition: 0.3s ease;
}

.ces-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ces-item h4 {
  color: #222;
  font-size: 17px;
  font-weight: 600;
}

.ces-item p {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

.ces-item strong {
  color: #404040;
  font-size: 16px;
}

/* @media (max-width: 600px) {
  #ces-enquiry-form, .ces-enquiries-list {
    padding: 15px;
    margin: 20px;
  }
} */


/* Pagination styling */
.ces-pagination {
    margin-top: 20px;
    text-align: center;
}

.ces-pagination a {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}
.ces-pagination a:hover {
    background: #bf0a30;
  color: #fff !important;
  border-color: #bf0a30;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.ces-pagination a.current-page {
    background: #bf0a30;
  color: #fff;
  border-color: #bf0a30;
  cursor: default;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.ces-enquiries-list .ces-item p{
  margin: 0 0 8px 0 !important;
  font-size: 16px;
}