.elementor-14358 .elementor-element.elementor-element-13172a2{--display:flex;}/* Start custom CSS for html, class: .elementor-element-d74cc8d */* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00);
}

.academy-name {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.portal-title {
  font-size: 24px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 16px;
  opacity: 0.8;
}

.search-section {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.search-title {
  text-align: center;
  color: #8B0000;
  margin-bottom: 30px;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
  justify-content: center;
}

.form-group {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 12px;
  color: #2c3e50;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-control {
  padding: 18px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  border-color: #8B0000;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
  outline: none;
}

.btn {
  background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
  margin: 0 auto;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-download {
  background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-download:hover {
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.result {
  display: none;
}

.id-card-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.id-card {
  width: 400px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 8px solid white;
  position: relative;
}

.id-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #8B0000, #660000, #8B0000);
}

.id-header {
  background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.id-header h2 {
  font-size: 22px;
  margin: 0;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.id-header p {
  margin: 5px 0 0 0;
  opacity: 0.9;
  font-size: 14px;
}

.id-body {
  padding: 25px;
}

.id-photo-section {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.id-photo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.id-photo {
  width: 120px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid #e0e0e0;
  flex-shrink: 0;
}

.id-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-qr {
  width: 120px;
  height: 120px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 5px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.id-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.id-details {
  flex: 1;
}

.id-detail-row {
  display: flex;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.id-detail-label {
  font-weight: 600;
  min-width: 120px;
  color: #2c3e50;
  font-size: 14px;
}

.id-detail-value {
  flex: 1;
  color: #8B0000;
  font-weight: 500;
}

.id-footer {
  background: #f8f9fa;
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.id-validity {
  font-size: 12px;
  color: #666;
}

.id-barcode {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  letter-spacing: 2px;
  color: #333;
}

.signature-area {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #ccc;
}

.signature-line {
  width: 200px;
  height: 1px;
  background: #333;
  margin: 0 auto 5px;
}

.signature-text {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.signature-date {
  font-size: 11px;
  color: #888;
  margin-top: 3px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 120px;
  color: rgba(139, 0, 0, 0.03);
  pointer-events: none;
  z-index: -1;
  font-weight: 900;
  white-space: nowrap;
}

.error-message {
  text-align: center;
  padding: 40px;
  color: #e74c3c;
}

.error-message i {
  font-size: 64px;
  margin-bottom: 20px;
}

/* Tablet styles */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }
  
  .header {
    padding: 20px;
    margin-bottom: 25px;
  }
  
  .academy-name {
    font-size: 24px;
  }
  
  .portal-title {
    font-size: 20px;
  }
  
  .search-section {
    padding: 25px;
    margin-bottom: 25px;
  }
  
  .search-title {
    margin-bottom: 25px;
    font-size: 24px;
  }
  
  .search-form {
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
    margin-bottom: 25px;
  }
  
  .form-group {
    min-width: 100%;
    max-width: 100%;
  }
  
  .form-control {
    padding: 16px 18px;
  }
  
  .btn {
    width: 100%;
    padding: 16px;
    margin-top: 10px;
  }
  
  .id-card {
    width: 100%;
    max-width: 350px;
  }
  
  .id-body {
    padding: 20px;
  }
  
  .id-photo-section {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .id-photo {
    align-self: center;
  }
  
  .id-detail-row {
    margin-bottom: 10px;
    padding: 6px 0;
  }
  
  .actions {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
  }
  
  .actions .btn {
    width: 100%;
  }
  
  .watermark {
    font-size: 60px;
  }
}

/* Mobile styles */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  
  .header {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .academy-name {
    font-size: 20px;
  }
  
  .portal-title {
    font-size: 18px;
  }
  
  .search-section {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .search-title {
    margin-bottom: 20px;
    font-size: 22px;
  }
  
  .search-form {
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-control {
    padding: 14px 16px;
  }
  
  .btn {
    padding: 14px;
  }
  
  .id-card {
    max-width: 100%;
  }
  
  .id-body {
    padding: 15px;
  }
  
  .id-photo-section {
    gap: 12px;
    margin-bottom: 15px;
  }
  
  .id-photo {
    width: 100px;
    height: 125px;
  }
  
  .id-qr {
    width: 100px;
    height: 100px;
  }
  
  .id-detail-row {
    margin-bottom: 8px;
    padding: 5px 0;
  }
  
  .id-detail-label {
    min-width: 100px;
    font-size: 13px;
  }
  
  .id-detail-value {
    font-size: 13px;
  }
  
  .id-footer {
    padding: 12px 15px;
  }
  
  .actions {
    margin-top: 20px;
  }
  
  .watermark {
    font-size: 40px;
  }
}

@media print {
  body {
    background: white;
    padding: 0;
  }
  
  .header, .search-section, .actions, .watermark {
    display: none;
  }
  
  .id-card {
    box-shadow: none;
    border: 2px solid #000;
    margin: 0 auto;
  }
}/* End custom CSS */