/*-----------------------------------------------
  ACNS CRITERIA STYLING
-----------------------------------------------*/

/* Page title styling to match other pages */
.page-acns_criteria .page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary-color);
  transition: font-size 0.3s ease, margin 0.3s ease;
}

body.dark .page-acns_criteria .page-title {
  color: var(--text-color);
}

/* Quick links styling */
.page-acns_criteria .quick-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.page-acns_criteria .quick-links a {
  padding: 8px 18px;
  color: var(--accent-color);
  background-color: rgba(0, 102, 204, 0.1);
  border-radius: 980px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 14px;
}

.page-acns_criteria .quick-links a:hover {
  background-color: rgba(0, 102, 204, 0.2);
  transform: translateY(-2px);
}

.page-acns_criteria .quick-links a.active {
  background-color: var(--accent-color);
  color: white;
}

/* Section styles */
.page-acns_criteria .section {
  margin-bottom: 2rem;
  transition: margin 0.3s ease;
}

.page-acns_criteria .section-header {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
  transition: font-size 0.3s ease, margin 0.3s ease;
}

.page-acns_criteria .section-content {
  transition: padding 0.3s ease;
}

.page-acns_criteria .info-box {
  background: var(--info-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: padding 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}

#acns-criteria {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--info-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: background var(--transition-duration), box-shadow var(--transition-duration), padding 0.3s ease, gap 0.3s ease;
}

#acns-criteria .step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, max-width 0.3s ease, border-radius 0.3s ease;
  margin-bottom: 0.5rem;
}

#acns-criteria .step-image:hover {
  transform: scale(1.02);
}

#acns-criteria p {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--text-color);
  text-align: center;
  transition: color var(--transition-duration), font-size 0.3s ease, margin 0.3s ease;
}

#acns-criteria a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, font-size 0.3s ease;
}

#acns-criteria a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

#acns-training-ppt p {
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: font-size 0.3s ease, margin 0.3s ease;
}

.ppt-container {
  transition: margin 0.3s ease, border-radius 0.3s ease;
}

body.dark #acns-criteria {
  background: var(--info-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark #acns-criteria .step-image {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ACNS Table Styles */
.acns-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: margin 0.3s ease, border-radius 0.3s ease;
}

.acns-table th {
  background-color: var(--accent-color);
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  transition: padding 0.3s ease, font-size 0.3s ease;
}

.acns-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s, padding 0.3s ease, font-size 0.3s ease;
}

.acns-table tr:last-child td {
  border-bottom: none;
}

.acns-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.acns-table tr:hover td {
  background-color: var(--hover-bg);
}

body.dark .acns-table th {
  background-color: var(--accent-color);
}

body.dark .acns-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

body.dark .acns-table tr:hover td {
  background-color: var(--hover-bg);
}

/*-----------------------------------------------
  PREMIUM REDESIGNED ACNS TRAINING MODULES
-----------------------------------------------*/
.training-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.module-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

body.dark .module-card {
  background: rgba(44, 44, 46, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 12px;
}

.module-icon-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: transform 0.4s ease;
}

.part-1-card .module-icon-ring {
  background: rgba(0, 122, 255, 0.08);
  border: 1px dashed rgba(0, 122, 255, 0.3);
}

.part-2-card .module-icon-ring {
  background: rgba(52, 199, 89, 0.08);
  border: 1px dashed rgba(52, 199, 89, 0.3);
}

.part-3-card .module-icon-ring {
  background: rgba(175, 82, 222, 0.08);
  border: 1px dashed rgba(175, 82, 222, 0.3);
}

.module-icon-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.part-1-card .module-icon-circle {
  background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
}

.part-2-card .module-icon-circle {
  background: linear-gradient(135deg, #34c759 0%, #2e7559 100%);
}

.part-3-card .module-icon-circle {
  background: linear-gradient(135deg, #af52de 0%, #7b2cbf 100%);
}

.module-icon-circle i {
  font-size: 1.4rem;
}

.module-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 980px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(0, 122, 255, 0.08);
  color: #007aff;
  border: 1px solid rgba(0, 122, 255, 0.15);
}

.badge-green {
  background: rgba(52, 199, 89, 0.08);
  color: #34c759;
  border: 1px solid rgba(52, 199, 89, 0.15);
}

.badge-purple {
  background: rgba(175, 82, 222, 0.08);
  color: #af52de;
  border: 1px solid rgba(175, 82, 222, 0.15);
}

.module-content {
  padding: 12px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.module-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  color: var(--primary-color);
}

.module-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 45px;
}

.module-details {
  background: var(--bg-color);
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 24px;
  flex-grow: 1;
  transition: background-color var(--transition-duration);
}

body.dark .module-details {
  background: rgba(0, 0, 0, 0.15);
}

.details-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.premium-bullet-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.premium-bullet-list li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.premium-bullet-list li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.bullet-blue li::before {
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
}

.bullet-green li::before {
  background: rgba(52, 199, 89, 0.1);
  color: #34c759;
}

.bullet-purple li::before {
  background: rgba(175, 82, 222, 0.1);
  color: #af52de;
}

.premium-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  color: white !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-blue {
  background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
}

.btn-blue:hover {
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, #34c759 0%, #2e7559 100%);
}

.btn-green:hover {
  box-shadow: 0 8px 25px rgba(52, 199, 89, 0.3);
  transform: translateY(-2px);
}

.btn-purple {
  background: linear-gradient(135deg, #af52de 0%, #7b2cbf 100%);
}

.btn-purple:hover {
  box-shadow: 0 8px 25px rgba(175, 82, 222, 0.3);
  transform: translateY(-2px);
}

.premium-download-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.premium-download-btn:hover i {
  transform: translateY(2px);
}

/* Hover effects for cards */
.module-card:hover {
  transform: translateY(-8px);
}

.part-1-card:hover {
  border-color: rgba(0, 122, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 122, 255, 0.12);
}

.part-2-card:hover {
  border-color: rgba(52, 199, 89, 0.2);
  box-shadow: 0 20px 40px rgba(52, 199, 89, 0.12);
}

.part-3-card:hover {
  border-color: rgba(175, 82, 222, 0.2);
  box-shadow: 0 20px 40px rgba(175, 82, 222, 0.12);
}

.module-card:hover .module-icon-ring {
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced Responsive styles */
/* Medium screens */
@media (max-width: 992px) {
  .page-acns_criteria .page-title {
    font-size: 2.2rem;
    margin-bottom: 1.75rem;
  }
  
  .page-acns_criteria .section-header {
    font-size: 1.4rem;
  }
  
  #acns-criteria {
    padding: 1.75rem;
    gap: 1.25rem;
  }
  
  #acns-criteria p {
    font-size: 0.95rem;
    margin-top: 1.25rem;
  }
  
  #acns-training-ppt p {
    font-size: 0.95rem;
  }
  
  .acns-table th,
  .acns-table td {
    padding: 10px 12px;
  }
}

/* Tablets and small laptops */
@media (max-width: 768px) {
  .page-acns_criteria .page-title {
    font-size: 1.6rem !important;
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
  }
  
  .page-acns_criteria .quick-links {
    margin-bottom: 1.2rem;
  }
  
  .page-acns_criteria .quick-links a {
    padding: 7px 14px;
    font-size: 0.9rem;
  }
  
  .page-acns_criteria .section {
    margin-bottom: 1.5rem;
  }
  
  .page-acns_criteria .section-header {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .page-acns_criteria .info-box {
    padding: 1.25rem;
    border-radius: 10px;
  }
  
  #acns-criteria {
    padding: 1.5rem;
    gap: 1rem;
    border-radius: 10px;
  }
  
  #acns-criteria .step-image {
    border-radius: 6px;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  #acns-criteria p {
    margin-top: 1.2rem;
    font-size: 0.9rem;
  }
  
  #acns-training-ppt p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  
  .ppt-container {
    border-radius: 6px;
    margin-top: 0.8em !important;
    margin-bottom: 0.8em !important;
  }
  
  .acns-table {
    border-radius: 6px;
    margin: 1.2rem 0;
  }
  
  .acns-table th {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .acns-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  .page-acns_criteria .page-title {
    font-size: 1.4rem !important;
    margin-bottom: 0.8rem !important;
    margin-top: 0.3rem !important;
  }
  
  .page-acns_criteria .quick-links {
    gap: 8px;
    margin-bottom: 1rem;
  }
  
  .page-acns_criteria .quick-links a {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
  }
  
  .page-acns_criteria .section {
    margin-bottom: 1.2rem;
  }
  
  .page-acns_criteria .section-header {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
  
  .page-acns_criteria .info-box {
    padding: 1rem;
    border-radius: 8px;
  }
  
  #acns-criteria {
    padding: 1rem;
    gap: 0.8rem;
    border-radius: 8px;
  }
  
  #acns-criteria .step-image {
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.3rem;
    max-height: 300px;
    object-fit: contain;
  }
  
  #acns-criteria p {
    margin-top: 1rem;
    font-size: 0.85rem;
  }
  
  #acns-criteria a {
    font-size: 0.85rem;
  }
  
  #acns-training-ppt p {
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
  }
  
  .ppt-container {
    border-radius: 5px;
    margin-top: 0.7em !important;
    margin-bottom: 0.7em !important;
  }
  
  .acns-table {
    border-radius: 5px;
    margin: 1rem 0;
  }
  
  .acns-table th {
    padding: 8px;
    font-size: 0.85rem;
  }
  
  .acns-table td {
    padding: 8px;
    font-size: 0.85rem;
  }
}

/* Very small mobile devices */
@media (max-width: 360px) {
  .page-acns_criteria .page-title {
    font-size: 1.2rem !important;
    margin-bottom: 0.6rem !important;
    margin-top: 0.2rem !important;
  }
  
  .page-acns_criteria .quick-links {
    gap: 6px;
    margin-bottom: 0.8rem;
  }
  
  .page-acns_criteria .quick-links a {
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 16px;
  }
  
  .page-acns_criteria .section {
    margin-bottom: 1rem;
  }
  
  .page-acns_criteria .section-header {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .page-acns_criteria .info-box {
    padding: 0.8rem;
    border-radius: 6px;
  }
  
  #acns-criteria {
    padding: 0.8rem;
    gap: 0.7rem;
    border-radius: 6px;
  }
  
  #acns-criteria .step-image {
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.25rem;
    max-height: 250px;
    object-fit: contain;
  }
  
  #acns-criteria p {
    margin-top: 0.8rem;
    font-size: 0.8rem;
  }
  
  #acns-criteria a {
    font-size: 0.8rem;
  }
  
  #acns-training-ppt p {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }
  
  .ppt-container {
    border-radius: 4px;
    margin-top: 0.6em !important;
    margin-bottom: 0.6em !important;
  }
  
  .acns-table {
    border-radius: 4px;
    margin: 0.8rem 0;
  }
  
  .acns-table th {
    padding: 6px;
    font-size: 0.8rem;
  }
  
  .acns-table td {
    padding: 6px;
    font-size: 0.8rem;
  }
} 