/*
  File: hardware-new.css
  Description: New styles for the hardware maintenance table and overall page modernization.
*/

/* ----- Common Variables ----- */
:root {
	--primary-color: #006633; /* Site's green color */
	--secondary-color: #f0a800; /* A complementary color for highlights */
	--text-color: #333;
	--heading-color: #222;
	--light-gray: #f7f9f7;
	--border-color: #e8e8e8;
	--card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	--border-radius: 8px;
  }
  
  /* ----- General Body & Typography Styles ----- */
  #container {
	max-width: 1200px; /* Add max-width for comfortable reading on large screens */
	margin: 0 auto; /* Center the container */
	padding: 0 20px; /* Add horizontal padding */
	font-size: 16px; /* Base font size */
	line-height: 1.7;
	color: var(--text-color);
  }
  
  #container p {
	  font-size: 16px;
	  margin-bottom: 1.2em;
  }
  
  #container .notes {
	  font-size: 14px;
	  color: #666;
  }
  
  /* ----- Page Links ----- */
  .page-links {
	display: flex;
	justify-content: flex-end;
	gap: 15px;
	margin-bottom: 30px;
  }
  .page-links a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	color: var(--primary-color);
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 14px;
  }
  .page-links a:hover {
	background-color: var(--light-gray);
	border-color: var(--primary-color);
  }
  
  
  /* ----- Modern Heading Styles ----- */
  #container h1 {
	font-size: 36px;
	font-weight: 700;
	color: var(--heading-color);
	text-align: center;
	margin-bottom: 20px; /* Reduced margin */
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-color);
  }
  
  #container h2.Ttl {
	font-size: 32px;
	font-weight: 700;
	color: var(--heading-color);
	margin-bottom: 30px;
	padding-left: 20px;
	border-left: 5px solid var(--primary-color);
  }
  
  #container h2.heading {
	font-size: 24px;
	font-weight: 600;
	color: #fff;
	background: var(--primary-color); /* Modern solid color */
	border: none;
	border-radius: var(--border-radius);
	padding: 15px 25px;
	margin-bottom: 20px;
	text-shadow: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .section-title,
  #container h4 {
	font-size: 22px;
	font-weight: 600;
	color: var(--primary-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary-color);
	margin-top: 40px;
	margin-bottom: 25px;
  }
  
  /* ----- Intro Points ----- */
  .intro-points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 25px 0;
  }
  .intro-point {
	background-color: var(--light-gray);
	padding: 20px;
	border-radius: var(--border-radius);
	display: flex;
	align-items: center;
	gap: 15px;
	border: 1px solid var(--border-color);
  }
  .intro-point i {
	font-size: 24px;
	color: var(--primary-color);
  }
  .intro-point p {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
  }
  
  /* ----- Table Styles ----- */
  .maintenance-table-wrapper {
	overflow-x: auto;
	margin-bottom: 20px;
	padding: 2px; /* For shadow visibility */
	border-radius: var(--border-radius);
	box-shadow: var(--card-shadow);
  }
  
  .maintenance-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px; /* Unified font size */
	line-height: 1.6;
	color: #333;
	background-color: #fff;
    overflow-y: clip;
	/* overflow: hidden; */
	 /* Ensures border-radius is applied to corners */
  }
  
  .maintenance-table th,
  .maintenance-table td {
	padding: 12px 15px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid var(--border-color);
	white-space: nowrap;
  }
  
  .maintenance-table thead th {
	background-color: var(--light-gray);
	color: var(--primary-color);
	font-weight: 600;
	vertical-align: bottom;
	border-bottom-width: 2px;
  }
  
  .maintenance-table thead th:first-child {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background-color: #f0f0f0;
	color: #555;
	min-width: 150px;
	position: sticky;
	left: 0;
	z-index: 2;
  }
  
  .maintenance-table .model-header {
	min-width: 160px;
  }
  
  .maintenance-table .model-header img {
	display: block;
	margin: 0 auto 8px;
	width: 100px;
	height: auto;
	border-radius: 4px;
  }
  
  .maintenance-table .model-header strong {
	font-size: 15px;
	font-weight: 600;
  }
  
  .maintenance-table tbody th {
	background-color: #fff;
	text-align: left;
	font-weight: 600;
	position: sticky;
	left: 0;
	z-index: 1;
  }
  
  .maintenance-table tbody tr:hover {
	background-color: #f0f8ff;
  }
  
  .maintenance-table tbody tr:hover th {
	  background-color: #e6f4ff;
  }
  
  /* ----- Service Details & Icon List ----- */
  .service-details dl {
	margin-top: 20px;
  }
  
  .service-details dt {
	font-weight: 600;
	color: var(--heading-color);
	margin-bottom: 5px;
  }
  
  .service-details dd {
	margin-left: 0;
	margin-bottom: 20px;
	padding-left: 30px;
	position: relative;
  }
  
  .icon-list dt {
	display: flex;
	align-items: center;
	font-size: 18px;
  }
  
  .icon-list dt i {
	color: var(--primary-color);
	font-size: 20px;
	margin-right: 12px;
	width: 25px;
	text-align: center;
  }
  
  .icon-list dd {
	padding-left: 47px;
  }
  
  
  /* ----- Service Card (for Peripherals) ----- */
  .service-card {
	background: #fff;
	border-radius: var(--border-radius);
	box-shadow: var(--card-shadow);
	margin-top: 20px;
	overflow: hidden;
  }
  
  .service-card .card-header {
	background: var(--light-gray);
	padding: 20px;
	text-align: center;
  }
  
  .service-card .card-header img {
	max-width: 200px;
	margin-bottom: 10px;
  }
  
  .service-card .card-header h3 {
	font-size: 20px;
	color: var(--primary-color);
	font-weight: 600;
	margin: 0;
  }
  
  .service-card .card-body {
	padding: 25px;
  }
  
  .service-card .card-body dl dt {
	  display: flex;
	  align-items: center;
	  color: var(--heading-color);
	  font-weight: 600;
	  margin-top: 15px;
	  font-size: 18px;
  }
  .service-card .card-body dl dt i {
	  color: var(--primary-color);
	  margin-right: 10px;
  }
  
  .service-card .card-body dl dd {
	  margin-left: 28px;
	  margin-bottom: 10px;
	  font-size: 16px;
  }
  
  
  /* ----- Hardware Policy Card ----- */
  .policy-card {
	border: 1px solid #ffeacc;
	border-radius: var(--border-radius);
	margin-top: 20px;
	background: #fffaf0;
  }
  
  .policy-card .policy-header {
	font-size: 20px;
	font-weight: 600;
	color: #d98200;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ffeacc;
  }
  
  .policy-card .policy-header i {
	margin-right: 10px;
	font-size: 22px;
  }
  
  .policy-card .policy-body {
	padding: 20px;
  }
  
  .policy-card .policy-body h4 {
	  font-size: 18px;
	  font-weight: 700;
	  color: var(--heading-color);
	  margin-top: 10px;
	  margin-bottom: 15px;
	  padding-bottom: 0;
	  border-bottom: none; /* Override general h4 style */
  }
  
  .policy-card .policy-body ul {
	  list-style: none;
	  padding-left: 0;
  }
  
  .policy-card .policy-body ul li {
	  position: relative;
	  padding-left: 25px;
	  margin-bottom: 10px;
  }
  

  
 .policy-footer {
	background: #fff3e0;
	padding: 15px 20px;
	border-top: 1px solid #ffeacc;
	color: #c46800;
  }
  