

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.max-w-sm {
  max-width: 24rem;
}

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* Typography */
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-red-600 { color: #dc2626; }
.text-gray-600 { color: #4b5563; }
.text-gray-800 { color: #1f2937; }
.text-white { color: #fff; }
.text-black { color: #000; }

.leading-none { line-height: 1; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-around { justify-content: space-around; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Background and borders */
.bg-white { background-color: #fff; }
.bg-orange-500 { background-color: #f97316; }
.bg-red-600 { background-color: #dc2626; }
.bg-gray-100 { background-color: #f3f4f6; }

.border { border-width: 1px; }
.border-gray-300 { border-color: #d1d5db; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.border-top-left-radius-1rem { border-top-left-radius: 1rem; }
.border-top-right-radius-1rem { border-top-right-radius: 1rem; }

/* Shadows */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.custom-shadow { box-shadow: 0px 10px 30px -10px rgba(0,0,0,0.8); }

/* Interactive elements */
.hover-bg-orange-600:hover { background-color: #ea580c; }

input[type="text"] {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
}

input[type="submit"] {
  width: 100%;
  background-color: #f97316;
  color: white;
  padding: 0.5rem 0;
  margin-top: 1rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 600;
}

input[type="submit"]:hover {
  background-color: #ea580c;
}

/* Form Container Styles */
.form-container {
  background-color: #fff;
  font-size: 1rem;
  border-radius: 0.5rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 10px 30px -10px rgba(0,0,0,0.8);
}

.form-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Letters Container Styles */
.letters-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.letter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.letter {
  color: #dc2626;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.arrow {
  color: #9ca3af;
  font-size: 1.25rem;
  line-height: 1;
}

.number {
  color: #dc2626;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.space {
  width: 0.5rem;
}

/* Custom components */
.custom-card-header {
  background-color: #dc2626;
  color: white;
  padding: 0.75rem 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.card-box {
  width: 192px;
  height: 145px;
  background-color: #F2F2F2;
  overflow: auto;
  border: 1px solid #d1d5db;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  text-align: center;
}

.card-content {
  padding: 1rem 0;
}

.card-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: #dc2626;
}

.breakdown {
  font-size: 0.875rem;
  color: #4b5563;
  margin-top: 0.5rem;
}

.sign-image {
  width: 100px;
  height: 80px;
}

.object-fit-cover {
  object-fit: cover;
}

.inline-block {
  display: inline-block;
}

.relative {
  position: relative;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

/* Headings and text elements */
.main-heading {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.result-heading {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.highlighted-name {
  color: #000;
}

.section-intro {
  margin-top: 2rem;
}

.section-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.number-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.number-label {
  color: #000;
  font-weight: 600;
  font-size: 1.25rem;
  text-align: center;
  margin: 0;
}

.number-badge {
  display: inline-block;
  background-color: #dc2626;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.description {
  color: #1f2937;
  font-size: 1.25rem;
  text-align: left;
}

/* Error message */
.error-message {
  font-weight: bold;
  font-size: 0.875rem;
  color: #dc2626;
  padding: 0 1rem;
  border-radius: 0.25rem;
  position: relative;
  text-align: center;
  margin-top: 0.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive design */
@media (max-width: 480px) {
  
  .form-container {
    padding: 1rem;
  }
  
  .letters-container {
    gap: 0.75rem;
  }
}

@media (max-width: 360px) {
  
  .letters-container {
    gap: 0.5rem;
  }
  
  .letter, .number {
    font-size: 1rem;
  }
}
@media (max-width: 768px) { 
      .content-section h3 {
        font-size: 1.3rem;
        text-align: left;
    }
}

/* Mobile-first responsive card layout */
.responsive-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.card-box {
    width: calc(50% - 0.5rem); /* Two cards per row with gap */
    height: 145px;
    background-color: #F2F2F2;
    overflow: auto;
    border: 1px solid #d1d5db;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    text-align: center;
}

/* For larger screens - 3+ cards per row */
@media (min-width: 768px) {
    .card-box {
        width: 192px; /* Fixed width for larger screens */
    }
    
    .responsive-container {
        justify-content: space-around;
    }
}

/* For very small mobile screens */
@media (max-width: 480px) {
    .card-box {
        width: calc(50% - 0.5rem);
        height: 130px;
    }
    
    .custom-card-header {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .card-box {
        width: calc(50% - 0.5rem);
        height: 120px;
    }
    
    .custom-card-header {
        font-size: 0.875rem;
    }
}

/* pagecontent */
/* Reset and Base Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Section Headers */
.section-header {
    background-color: #d1d5db;
    padding: 12px;
    font-weight: bold;
    margin-top: 56px;
    border-radius: 8px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.subsection-header {
    background-color: #d1d5db;
    padding: 12px;
    font-weight: bold;
    margin-top: 56px;
    margin-bottom: 24px;
    border-radius: 8px;
}

.subsection-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Content Text */
.content-text {
    margin-top: 16px;
    color: #374151;
    font-size: 1.25rem;
    text-align: left;
    line-height: 1.7;
}

/* Table Container */
.table-container {
    width: 100%;
    max-width: 36rem;
    padding: 8px;
    margin: 16px auto 0;
}

.table-container h3 {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Numerology Table */
.numerology-table {
    border-collapse: collapse;
    border: 1px solid #9ca3af;
    width: 100%;
    text-align: center;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .numerology-table {
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .numerology-table {
        font-size: 1rem;
    }
}

.numerology-table th {
    border: 1px solid #9ca3af;
    padding: 4px 8px;
    font-weight: bold;
    background-color: #60a5fa;
    color: white;
}

@media (min-width: 640px) {
    .numerology-table th {
        padding: 8px 16px;
    }
}

.numerology-table td {
    border: 1px solid #9ca3af;
    padding: 4px 8px;
}

@media (min-width: 640px) {
    .numerology-table td {
        padding: 8px 16px;
    }
}

.alt-row {
    background-color: #f3f4f6;
}

/* Ad Container */
.ad-container {
    margin: 24px 0;
}

/* Calculation Sections */
.calculation-section {
    margin: 0 auto;
    background-color: white;
    margin-top: 24px;
    margin-bottom: 56px;
}

.example-name {
    font-weight: 600;
}

.instruction {
    margin-bottom: 16px;
}

.example-table-container {
    margin-bottom: 16px;
}

.example-table {
    table-layout: auto;
    text-align: center;
    width: 100%;
    max-width: 32rem;
    font-size: 1rem;
}

.example-table th {
    border: 1px solid #d1d5db;
    padding: 0 8px;
    font-weight: bold;
    background-color: #60a5fa;
    color: white;
}

.example-table td {
    border: 1px solid #d1d5db;
    padding: 0 8px;
}

.calculation-step {
    margin-bottom: 8px;
}

.highlight {
    font-weight: 600;
}

/* Results */
.result {
    display: flex;
    text-align: left;
    align-items: center;
    gap: 8px;
}

.result-label {
    font-size: 1.25rem;
    font-weight: bold;
}

.number-circle {
    background-color: #ef4444;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-text {
        font-size: 1.125rem;
    }
    
    .table-container {
        padding: 4px;
    }
    
    .numerology-table th,
    .numerology-table td {
        padding: 2px 4px;
    }
}