/* Admin Media Dashboard styles: admin-media-display.php */
.media-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}
.media-table th,
.media-table td {
  padding: 16px;
  text-align: center;
  vertical-align: middle;
}
.media-table th {
  background-color: #4a4a7d;
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
}
.media-table td {
  background-color: white;
  font-size: 15px;
}
.media-table tbody tr:hover {
  background-color: #f0f0ff;
  transition: background-color 0.3s ease;
}
.copy-btn {
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.copy-btn:hover {
  background-color: #4a4a7d;
  color: white;
}
@media (max-width: 992px) {
  .media-table th,
  .media-table td {
    font-size: 14px;
    padding: 12px;
  }
  .media-table {
    box-shadow: none;
  }
}
@media (max-width: 768px) {
  .media-table th,
  .media-table td {
    font-size: 12px;
    padding: 10px;
  }
  .media-table {
    border-spacing: 5px;
  }
  .btn-outline-primary {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Admin Media Add styles: admin-media-add.php */
/* Admin Image Add styles: admin-blog-add-img.php */
.form-input input {
  display: none;
}
#succ,
#pro {
  display: none;
}
.form-input label {
  display: block;
  cursor: pointer;
}
.form-input img {
  opacity: 0.8;
}

/* Admin Create Blog styles: admin-blog-add.php */
/* Admin Edit Blog styles: admin-blog-edit.php */
.blog-card-header {
  background-color: #ff6f61;
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.blog-card-body {
  background-color: #f0f0f0;
  padding: 25px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.blog-btn {
  background-color: #5a4fcf;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  border-radius: 25px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.blog-btn:hover {
  background-color: #4b3daf;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.blog-form-control {
  border-radius: 8px;
  border: 2px solid #ccc;
  padding: 12px;
  transition: border-color 0.3s ease;
  background-color: #fff;
}
.blog-form-control:focus {
  border-color: #5a4fcf;
  box-shadow: 0 0 10px rgba(90, 79, 207, 0.25);
}

/* Admin Blog Update Styles: admin-blog-all.php */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 0;
}
.blog-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.blog-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: filter 0.3s ease;
}
.blog-card:hover .blog-image {
  filter: brightness(0.95);
}
.blog-content {
  padding: 24px;
}
.blog-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: #212529;
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-title:hover {
  color: #007bff;
}
.blog-description {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.blog-button {
  width: 75px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Single Blog styles: blog-single.php */
.blog-single-card {
  max-width: 1020px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.blog-single-card img {
  max-width: 680px;
  object-fit: cover;
  border-radius: 12px;
}
.blog-single-title {
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}
.blog-single-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-top: 20px;
  padding: 0 20px;
  text-align: left;
}
.blog-single-date {
  font-size: 0.9rem;
  color: #888;
  margin-top: 10px;
  margin-right: 40px;
  font-style: italic;
  text-align: right;
}
.blog-single-image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .blog-single-title {
    font-size: 1.8rem;
  }
  .blog-single-description {
    font-size: 1rem;
    padding: 0 10px;
  }
  .blog-single-card img {
    max-width: 300px;
    object-fit: cover;
    border-radius: 10px;
  }
  .blog-single-date {
    font-size: 0.8rem;
    margin-right: 30px;
    text-align: center;
  }
}

/* Comment Box styles: blog-single.php */
.c-box-header {
  background-color: #ff6f61;
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.c-box-body {
  background-color: #f0f0f0;
  padding: 25px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.c-box-btn {
  background-color: #5a4fcf;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  border-radius: 25px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.c-box-btn:hover {
  background-color: #4b3daf;
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.c-box-form-control {
  border-radius: 8px;
  border: 2px solid #ccc;
  padding: 12px;
  transition: border-color 0.3s ease;
  background-color: #fff;
}
.c-box-form-control:focus {
  border-color: #5a4fcf;
  box-shadow: 0 0 10px rgba(90, 79, 207, 0.25);
}

/* FAQ Add styles: faq-add.php */
/* Admin FAQ Edit styles: admin-faq-edit.php */
.faq-add-header {
  background-color: #ff6f61;
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.faq-add-body {
  background-color: #f0f0f0;
  padding: 25px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.faq-add-btn {
  background-color: #5a4fcf;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  border-radius: 25px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.faq-add-btn:hover {
  background-color: #4b3daf;
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.faq-add-form-control {
  border-radius: 8px;
  border: 2px solid #ccc;
  padding: 12px;
  transition: border-color 0.3s ease;
  background-color: #fff;
}
.faq-add-form-control:focus {
  border-color: #5a4fcf;
  box-shadow: 0 0 10px rgba(90, 79, 207, 0.25);
}

/* FAQ All styles: faq-all.php */
.faq-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-card:hover {
  transform: scale(1.01);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}
.faq-card-title a {
  color: #495057; 
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.faq-card-title a:hover {
  color: #0d6efd; 
}
.faq-card-text small {
  font-size: 0.85rem;
  color: #6c757d; 
}

/* Answer Box styles: faq-single.php */
.ans-box-header {
  background-color: #ff6f61;
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.ans-box-body {
  background-color: #f0f0f0;
  padding: 25px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.ans-box-btn {
  background-color: #5a4fcf;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  border-radius: 25px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ans-box-btn:hover {
  background-color: #4b3daf;
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.ans-box-form-control {
  border-radius: 8px;
  border: 2px solid #ccc;
  padding: 12px;
  transition: border-color 0.3s ease;
  background-color: #fff;
}
.ans-box-form-control:focus {
  border-color: #5a4fcf;
  box-shadow: 0 0 10px rgba(90, 79, 207, 0.25);
}

/* Admin FAQ Update Tables styles: admin-faq-edit-all.php */
.faq-table {
  border-collapse: collapse;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}
.faq-table th,
.faq-table td {
  padding: 10px;
  text-align: center;
}
.faq-table th {
  background-color: #5a4fcf;
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .faq-table th,
  .faq-table td {
    font-size: 14px;
    padding: 7px;
  }
}