.form-wrapper {
  max-width: 420px;
  margin: auto;
}

form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

form h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #1e293b;
}

.field {
  position: relative;
  margin-bottom: 20px;
}

.field input,
.field select {
  width: 100%;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.field label {
  position: absolute;
  top: 40%;
  left: 12px;
  color: #64748b;
  font-size: 13px;
  background: #fff;
  padding: 0 6px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.3s;
}

.field input:focus,
.field select:focus {
  border-color: #6366f1;
}

.field input:focus + label,
.field input:valid + label,
.field select:focus + label,
.field select:valid + label {
  top: -7px;
  font-size: 11px;
  color: #6366f1;
}

.file-field {
  margin-bottom: 25px;
}

.file-label {
  display: block;
  padding: 14px;
  border: 2px dashed #c7d2fe;
  border-radius: 12px;
  text-align: center;
  color: #4f46e5;
  cursor: pointer;
  transition: 0.3s;
}

.file-label:hover {
  background: #eef2ff;
}

.file-label input {
  display: none;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99,102,241,0.4);
}
.exs-wrapper {
    max-width: 500px;
    margin: auto;
    padding: 20px 50px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
    margin-bottom: 50px;
}

.exs-wrapper h2 {
    text-align: center;
}

.exs-wrapper input,
.exs-wrapper select,
.exs-wrapper button {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    margin-top: 12px;
}

.exs-wrapper button {
    background: #0d6efd;
    color: #fff;
    border: none;
    cursor: pointer;
}

.exs-success {
    color: green;
    font-weight: bold;
    text-align: center;
}


.exs-invite-card {
    max-width: 400px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    text-align: center;
}

.exs-invite-card h2 {
    margin-bottom: 20px;
}
.exs-qr{
    text-align: center;
}

.exs-qr-code img {
    margin-bottom: 15px;
}

.exs-invite-card p {
    font-size: 16px;
    margin: 8px 0;
}

.exs-invite-card button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #198754;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}


.exs-verify {
    max-width: 400px;
    margin: 40px auto;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
}

.exs-verify.success {
    background: #d1e7dd;
    color: #0f5132;
    text-align: center;
}

.exs-verify.error {
    background: #f8d7da;
    color: #842029;
}

.g-recaptcha{
    padding-bottom: 10px;
    margin-left: 20px;
}
.file-preview {
    
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 12px;
    background: #f5f7fa;
    border-radius: 6px;
    font-size: 14px;
}
.file-field {
    text-align: center;
}
.file-name {
    color: #333;
}

.file-remove {
    cursor: pointer;
    color: red;
    font-size: 18px;
    line-height: 1;
}
/* Full center screen */
.exs-pass-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2f7, #d9e4f5);
    padding: 20px;
}

@media screen {
    .exs-pass-wrapper {
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}


/* Invite Card */
.exs-invite-card {
    background: #fff;
    width: 360px;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    text-align: center;
    font-family: system-ui, sans-serif;
}

.exs-invite-card h2 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* QR */
.exs-qr-code img {
    margin: 15px auto;
    display: block;
}

/* Details */
.exs-pass-details p {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 6px 0;
}

.exs-pass-details span {
    font-weight: 600;
    color: #555;
}

/* Print Button */
.exs-print-btn {
    margin-top: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
}
@media print {
    @page {
        size: A4;
        margin: 0;
    }
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    body * {
        visibility: hidden;
    }

    .exs-invite-card,
    .exs-invite-card * {
        visibility: visible;
    }

    .exs-invite-card {
        border: 2px solid #333;
        border-radius: 14px;
        padding: 20px;
        background: #fff;
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 360px;
        box-shadow: none;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .exs-print-btn {
        display: none;
    }
}
.exs-pass-logo {
    display: block;
    margin: 0 auto 10px;
    height: 60px;
    width: auto;
    object-fit: contain;
}
.exs-wrapper h2 {
    text-align: center;
}

.exs-list-link {
    text-align: center;
    margin: 6px 0 6px;
}

.exs-list-link a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.exs-list-link a:hover {
    text-decoration: underline;
}


/*list css*/
.exs-public-list {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.exs-public-list h2 {
    text-align: center;
    margin-bottom: 20px;
}

.exs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.exs-table th,
.exs-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.exs-table th {
    background: #f5f7fa;
    font-weight: 600;
}

.exs-table tr:hover {
    background: #f9fafb;
}
.exs-pagination {
    text-align: center;
    margin-top: 20px;
}

.exs-pagination a {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 6px;
    background: #f2f2f2;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.exs-pagination a.active {
    background: #0073aa;
    color: #fff;
}

.exs-public-list-empty{
    text-align: center;
    padding: 70px 0;
}
.exs-public-list-empty p{
        padding: 60px;
}

.ex-fees{
    text-align: center;
}