/* assets/css/register.css */

.body-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background:
    linear-gradient(
      135deg,
      rgba(17, 1, 96, 0.7) 0%,
      rgba(114, 3, 107, 0.5) 100%
    ),
    url("../imgs/imageweb13.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.registration-container {
  width: 100%;
  max-width: 900px;
}

.registration-card {
  background-color: var(--surface-white);
  border: 1px solid rgba(30, 0, 181, 0.08);
  border-radius: 12px;
  padding: 45px;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.05),
    0 5px 15px rgba(30, 0, 181, 0.02);
}

.card-header {
  text-align: center;
  margin-bottom: 35px;
}

.card-header h2 {
  font-color: var(--ink-black);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-header .form-description {
  font-size: 0.7rem;
  color: #2d3748;
  font-weight: 500;
}

/* Document Upload Containers Layout mapping styles */
.document-upload-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
  justify-content: center;
}

.upload-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 280px;
}

.passport-box,
.receipt-box {
  width: 100%;
  height: 160px;
  border: 2px dashed rgba(30, 0, 181, 0.2);
  border-radius: 8px;
  background-color: rgba(244, 246, 252, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: all 0.25s ease;
}

.passport-box {
  width: 150px;
  height: 150px;
  border-radius: 6px; /* Passport square-cut framing format layout */
}

.passport-box:hover,
.receipt-box:hover {
  border-color: var(--brand-blue);
  background-color: rgba(30, 0, 181, 0.02);
  box-shadow: 0 0 0 4px rgba(30, 0, 181, 0.06);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  color: var(--text-muted);
}

.upload-placeholder i {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.upload-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-black);
}

.upload-placeholder small {
  font-size: 0.7rem;
  margin-top: 4px;
  opacity: 0.8;
}

#passportPreview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-info-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #155724;
  font-size: 0.85rem;
  font-weight: 600;
}

.file-info-display i {
  font-size: 2.2rem;
  color: #28a745;
}

/* Form Structural Layout */
.section-divider-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 35px 0 20px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(30, 0, 181, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}

.form-row.triplet .form-group {
  flex: 1;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 6px;
}

.required {
  color: #e53e3e;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  color: var(--ink-black);
  font-size: 0.95rem;
  outline: none;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30, 0, 181, 0.1);
}

/* Checkbox Blocks */
.checkbox-wrapper-block {
  background-color: rgba(244, 246, 252, 0.6);
  padding: 18px;
  border-radius: 6px;
  border: 1px solid rgba(30, 0, 181, 0.05);
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Notice box parameters */
.program-info-box {
  margin-top: 12px;
  background-color: rgba(30, 0, 181, 0.04);
  border-left: 4px solid var(--brand-blue);
  padding: 15px;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: #2d3748;
  line-height: 1.5;
}

.program-info-box .pack-line {
  margin-top: 8px;
  font-weight: 600;
  border-top: 1px dashed rgba(30, 0, 181, 0.1);
  padding-top: 8px;
}

.badge-list {
  color: var(--brand-blue);
  font-weight: 700;
}

/* Acknowledgement Container Styles */
.acknowledgement-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 25px 0;
  padding: 15px;
  background: rgba(244, 246, 252, 0.8);
  border-radius: 6px;
}

.ack-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.ack-item input {
  margin-top: 3px;
}

/* Error elements execution */
.error-text {
  color: #e53e3e;
  font-size: 0.78rem;
  margin-top: 4px;
  min-height: 15px;
  font-weight: 500;
}

.alert-box {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-size: 0.92rem;
  font-weight: 500;
}

.alert-box.error {
  background-color: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

.hidden {
  display: none !important;
}

/* Custom Interactive Submit Buttons Layout rules */
.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--brand-blue);
  color: var(--surface-white);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.submit-btn:hover {
  background-color: #170094;
  box-shadow: 0 4px 12px rgba(30, 0, 181, 0.2);
}

/* PENDING STATUS CARD DESIGN OVERLAYS */
.status-card-view {
  text-align: center;
  padding: 60px 40px;
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.status-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(30, 0, 181, 0.06);
  color: var(--brand-blue);
  font-size: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
}

.status-card-view h2 {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 15px;
}

.status-notice {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.tracking-display-container {
  background-color: var(--bg-light);
  border: 1px solid rgba(30, 0, 181, 0.08);
  border-radius: 8px;
  padding: 20px;
  max-width: 450px;
  margin: 0 auto 20px auto;
}

.tracking-title-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tracking-code-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.code-string {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 2px;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: var(--brand-blue);
}

.save-warning-text {
  font-size: 0.82rem;
  color: #dd6b20;
  font-weight: 600;
}

@keyframes scaleUp {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
