/* styles.css */
body { font-family: Arial, Helvetica, sans-serif; background:#ffffff; margin:0; padding:0; color:#222;}
.container { max-width:900px; margin:30px auto; background:#fff; padding:20px; border-radius:8px;}
.header-center { text-align:center; margin-bottom:10px;}
.cert-box { border:2px solid #000; padding:20px; border-radius:6px; margin-top:15px; }
/* make image fit nicely inside photo box */
.cert-photo { text-align:center; margin-bottom:15px; }

/* fixed box size, center image and cover the area */
.cert-photo img {
  width: 180px;              /* visible width */
  height: 200px;             /* visible height */
  object-fit: cover;         /* crop to fill without distortion */
  object-position: center;   /* center the crop */
  border: 1px solid #ddd;
  display: block;
  margin: 0 auto;
  border-radius: 4px;        /* optional */
}


.cert-fields { width:100%; max-width:600px; margin: 0 auto; }
.field-row { display:flex; padding:6px 0; border-bottom:1px solid #eee; }
.field-row .label { flex:0 0 180px; font-weight:600; }
.field-row .value { flex:1; }
.btn { display:inline-block; padding:8px 14px; background:#d40000; color:#fff; border-radius:6px; text-decoration:none; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { padding:8px; border:1px solid #ddd; text-align:left;}
.topbar { display:flex; justify-content:space-between; align-items:center; }
.form-row { margin:10px 0; }
input[type=text], input[type=date], select { padding:8px; width:100%; box-sizing:border-box; }



/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background: #ffffff;
  color: #222;
}

/* Wrapper */
.verify-wrap {
  max-width: 420px;
  margin: 30px auto;
  padding: 16px;
}

/* Card container */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e6e6e6;
}

/* Header */
.card-head {
  background: #f9f9f9;
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.card-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.5px;
}

/* Logo row */
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* Form styling */
.verify-form {
  padding: 20px;
}

.input-row {
  margin-bottom: 16px;
}

.input-row input[type="text"] {
  width: 100%;
  padding: 14px 14px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.input-row input[type="text"]:focus {
  border-color: #a36ca6;
  box-shadow: 0 0 0 3px rgba(163, 108, 166, 0.1);
  outline: none;
}

/* Alerts & Notes */
.note {
  color: #a00;
  font-size: 13px;
  margin: 10px 0 14px;
  line-height: 1.5;
}

.alert {
  background: #ffeaea;
  color: #b20000;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Captcha row */
.captcha-row {
  margin-bottom: 18px;
}

/* Button */
.btn-row {
  text-align: center;
  margin-bottom: 20px;
}

.primary-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 6px;
  background: #6d1b66;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.primary-btn:hover {
  background: #5a1553;
}

.primary-btn:active {
  transform: scale(0.98);
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .verify-wrap {
    margin: 20px 10px;
    padding: 10px;
  }

  .card-head h1 {
    font-size: 18px;
  }

  .logo-row {
    flex-direction: column;
    gap: 12px;
  }

  .logo {
    height: 90px;
  }

  .input-row input[type="text"] {
    font-size: 15px;
    padding: 13px 12px;
  }

  .note,
  .alert {
    font-size: 13px;
  }

  .primary-btn {
    font-size: 15px;
    padding: 12px;
  }
}
