h1 {
  font-size: 40px;
  font-weight: 800;
  color: #222;
  background: linear-gradient(90deg, #0d6efd, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  border-bottom: 3px solid #0d6efd;
  display: block;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.controls {
  margin-bottom: 16px;
}

select,
.second-button {
  padding: 10px 16px;
  margin-right: 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.second-button {
  background: #4CAF50;
  color: #fff;
  border: none;
}

.second-button:hover {
  background: #45a049;
}

#copyBtn {
  background: #2196F3;
}

#copyBtn:hover {
  background: #1976D2;
}

#downloadBtn {
  background: #FF5722;
}

#downloadBtn:hover {
  background: #E64A19;
}

#darkModeBtn {
  background: #666;
}

#darkModeBtn:hover {
  background: #555;
}


.header-section {
  margin: 30px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.header-section h1 {
  font-size: 30px;
  font-weight: 800;
  color: #222;
  background: linear-gradient(90deg, #0d6efd, #20c997);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  border-bottom: 3px solid #0d6efd;
  display: inline-block;
}


.header-section p {
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  word-spacing: 1px;
  font-weight: 400;
  font-family: "Segoe UI", Roboto, sans-serif;
}
  .preview-9754 {
      padding: 20px;
      margin: 20px 0;
      border-radius: 8px;
    }
    .result-9754 {
      margin-top: 20px;
      text-align: left;
    }
    .pass-9754 {
      color: green;
      font-weight: bold;
    }
    .fail-9754 {
      color: red;
      font-weight: bold;
    }
	.input-group-9754 {
  margin-bottom: 20px;
  text-align: center;
}

.color-contrast-checker-input {
  padding: 8px;
  margin: 5px;
  width: 120px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 15px;
}
.color-contrast-checker-preview {
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  transition: all 0.3s;
}

.color-contrast-checker-result {
  margin-top: 20px;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
}

.color-contrast-checker-example {
  background: #f9f9f9;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
  border: 1px solid #ddd;
  line-height: 1.6;
}

.color-contrast-checker-example h2, 
.color-contrast-checker-example h3 {
  margin-top: 10px;
  color: #333;
}

.color-contrast-checker-example code {
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
}

.color-contrast-input-group {
  text-align: center;
  margin-bottom: 20px;
}

.color-contrast-button-group {
  text-align: center;
  margin-bottom: 20px;
}

.color-contrast-checker-input {
  padding: 8px;
  margin: 5px;
  width: 140px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 15px;
  display: inline-block;
}