@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print { display: none !important; }
}

.islamic-pattern {
  background-image:
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c8a44e' stroke-width='0.5' opacity='0.12'%3E%3Cpath d='M40 0L40 80M0 40L80 40'/%3E%3Cpath d='M40 10L70 40L40 70L10 40Z'/%3E%3Cpath d='M40 20L60 40L40 60L20 40Z'/%3E%3Ccircle cx='40' cy='40' r='28'/%3E%3Ccircle cx='40' cy='40' r='18'/%3E%3Cpath d='M0 0L80 80M80 0L0 80'/%3E%3C/g%3E%3C/svg%3E");
}

.star-pattern {
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.15'%3E%3Cpolygon points='30,5 35,22 53,22 38,33 43,50 30,40 17,50 22,33 7,22 25,22'/%3E%3C/g%3E%3C/svg%3E");
}

.section-box {
  border: 1px solid #d4b96a;
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,0.7);
}

.input-field {
  border: none;
  border-bottom: 1.5px dotted #1a3a5c;
  padding: 6px 4px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 13px;
  color: #1a3a5c;
  width: 100%;
}

.input-field:focus {
  outline: none;
  border-bottom-color: #c8a44e;
  background: rgba(200,164,78,0.05);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.radio-option:hover {
  background: rgba(200,164,78,0.08);
}

.radio-option input[type="radio"] {
  margin-top: 3px;
  cursor: pointer;
  accent-color: #0d2137;
}

.animal-form {
  border: 2px solid #c8a44e;
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(200,164,78,0.05), rgba(200,164,78,0.08));
  margin-bottom: 24px;
}

.animal-number {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #0d2137;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-animal {
  background: #0d2137;
  color: #c8a44e;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.btn-submit {
  background: #0d2137;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.btn-submit:hover {
  background: #1a3a5c;
}

.status-message {
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-top: 10px;
}

.status-success {
  background: #d1fae5;
  color: #065f46;
}

.status-error {
  background: #fee2e2;
  color: #7f1d1d;
}

.record-text {
  font-size: 12px;
}

.btn-delete-record {
  background: #ef4444;
  color: white;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
}

.record-list {
  max-height: 300px;
  overflow-y: auto;
}

.records-wrapper {
  border: 1px solid #d4b96a;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.record-item {
  background: #f3f4f6;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.record-title {
  font-weight: 700;
  color: #0d2137;
  font-size: 13px;
}

.record-name {
  font-size: 13px;
  color: #111827;
}

.record-meta {
  font-size: 12px;
  color: #4b5563;
}
.record-left {
  font-size: 13px;
  color: #1a3a5c;
}

.record-left strong {
  color: #0d2137;
}

.btn-delete-record {
  background: #ef4444;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}
.form-label {
  font-size: 11px;
  font-weight: 600;
  color: #0d2137;
  margin-bottom: 4px;
  display: block;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.uppercase-field {
  text-transform: uppercase;
}

.lembu-group {
  border: 2px solid #c8a44e;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(200,164,78,0.08), rgba(255,255,255,0.9));
}

.lembu-header {
  font-weight: 700;
  color: #0d2137;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lembu-badge {
  background: #0d2137;
  color: #c8a44e;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}