* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  padding-top: 100px;
  padding-bottom: 100px;
}

.container {
  max-width: 1200px;
  margin: 4px auto;
  padding: 0 20px;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  vertical-align: middle;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #f4b942;
}

.search-box {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-box input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}

.search-box button {
  padding: 8px 20px;
  background: #f4b942;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #e5a832;
}

/* Main sections */
.hero {
  text-align: left;
  padding: 40px 0;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  font-weight: 600;
}

h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
  font-weight: 600;
}

p {
  margin-bottom: 15px;
  color: #555;
}

.last-updated {
  font-style: italic;
  color: #666;
  margin-bottom: 30px;
}

/* Copy box */
.copy-box {
  background: #e8f4f8;
  border: 1px solid #d0e8f0;
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.copy-display {
  background: white;
  border: 2px dashed #ccc;
  padding: 20px;
  margin: 15px 0;
  min-height: 60px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn {
  background: #f4b942;
  color: #333;
  border: none;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.copy-btn:hover {
  background: #e5a832;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.copy-btn:active {
  transform: translateY(0);
}

/* Generator */
.generator-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  margin: 15px 0;
  text-align: center;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: white;
}

table th,
table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #ddd;
}

table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

table tr:hover {
  background: #f8f9fa;
}

table a {
  color: #3498db;
  text-decoration: none;
}

table a:hover {
  text-decoration: underline;
}

.char-display {
  font-family: monospace;
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.char-display:hover {
  background: #e0e0e0;
}

/* Code block */
.code-block {
  background: #f4f4f4;
  border-left: 4px solid #f4b942;
  padding: 15px 20px;
  margin: 20px 0;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
}

/* FAQ */
.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  color: #2c3e50;
}

/* Form Container */
.form-container {
  margin: 30px 0;
  text-align: center;
}

.form-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-wrapper iframe {
  width: 100%;
  height: 810px;
  border: none;
  display: block;
}

/* Links */
a {
  color: #3498db;
}

a:hover {
  color: #2980b9;
}

/* Lists */
ul {
  margin: 15px 0 15px 40px;
}

ul li {
  margin-bottom: 10px;
  color: #555;
}

ol {
  margin: 15px 0 15px 40px;
}

ol li {
  margin-bottom: 10px;
  color: #555;
}

/* Image placeholder */
.whatsapp-preview {
  max-width: 300px;
  margin: 20px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #f9f9f9;
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

footer a {
  color: #f4b942;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Success message */
.copy-success {
  color: #27ae60;
  font-weight: 600;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-success.show {
  opacity: 1;
}

/* Anchor Ads - Fixed positioning */
.ads {
  position: fixed ;
  left: 0;
  right: 0;
  width: 100%;
  display: block;
  z-index: 1000 ;
  margin: 0 ;
  padding: 0 ;
  height: auto ;
  min-height: auto;
  max-height: none;
}

#blanktext_net_anchor_top_responsive {
  top: 0 !important;
}

#blanktext_net_anchor_bottom_responsive {
  bottom: 0 !important;
}

/* Prevent stacking context issues */
.content-container {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .content-container {
    padding: 20px;
  }

  table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 10px;
  }

  .form-wrapper {
    max-width: 100%;
  }

  .form-wrapper iframe {
    height: 900px;
  }
}

@media (max-width: 480px) {
  .form-wrapper iframe {
    height: 1000px;
  }
}
