:root {
  /* Main Colors */
  --primary: #005f73; /* Rich deep teal */
  --accent: #0a9396; /* Vibrant teal accent */

  /* Button Colors */
  --button: #ff6f00; /* Bold orange for actions */
  --button-hover: #e65c00; /* Deeper orange for hover effects */

  /* Background Colors */
  --white: #ffffff; /* Pure white */
  --text-m-light: #f3f4f6; /* Subtle light grey for backgrounds */
  --text-light: #e5e7eb; /* Softer grey for secondary backgrounds */
  --black: #000000; /* Absolute black */

  /* Dark Text and Backgrounds */
  --text-dark: #1c1c1e; /* Jet black for prominent text */
  --text-m-dark: #2c2c2e; /* Deep grey for medium text */
  --text-l-dark: #404040; /* Neutral grey for less prominent text */

  /* Accent Text Colors */
  --text-blue: #0284c7; /* Bright teal-blue for emphasis */
  --text-light-blue: #38bdf8; /* Lighter teal-blue for soft accents */
  --text-orange: #ff6f00; /* Orange for links and call-to-actions */
  --text-gray: #6b7280; /* Neutral gray for body text */
  --text-d-gray: #374151; /* Dark grey for subtle highlights */
}

/* 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: var(--text-m-light);
  border-radius: 8px;
  overflow: hidden;
}
.media-table th,
.media-table td {
  padding: 16px;
  text-align: center;
  vertical-align: middle;
}
.media-table th {
  background-color: var(--primary);
  color: var(--white);
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 16px;
}
.media-table td {
  background-color: var(--white);
  font-size: 15px;
}
.media-table tbody tr:hover {
  background-color: var(--text-light);
  transition: background-color 0.3s ease;
}
.copy-btn {
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@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: var(--primary);
  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: var(--text-m-light);
  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: var(--button);
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--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: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.blog-form-control {
  border-radius: 8px;
  border: 2px solid var(--text-light);
  padding: 12px;
  transition: border-color 0.3s ease;
  background-color: var(--white);
}
.blog-form-control:focus {
  border-color: var(--button);
  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: var(--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: var(--text-dd-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-title:hover {
  color: var(--text-blue);
}
.blog-description {
  color: var(--text-m-dark);
  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: var(--white);
  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: var(--text-m-dark);
  text-align: center;
}
.blog-single-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-dd-gray);
  margin-top: 20px;
  padding: 0 20px;
  text-align: left;
}
.blog-single-date {
  font-size: 0.9rem;
  color: var(--text-dd-gray);
  margin-top: 10px;
  margin-right: 40px;
  font-style: italic;
  text-align: right;
}
@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: var(--primary);
  color: var(--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: var(--text-m-light);
  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: var(--button);
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--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: var(--button-hover);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.c-box-form-control {
  border-radius: 8px;
  border: 2px solid var(--text-light);
  padding: 12px;
  transition: border-color 0.3s ease;
  background-color: var(--white);
}
.c-box-form-control:focus {
  border-color: var(--button);
  box-shadow: 0 0 10px rgba(90, 79, 207, 0.25);
}
