/*
Theme Name: AKVM
Version: 1.0
*/
body {
  background: white;
  margin: 0;
}
.akvm-app,
.akvm-app * {
    box-sizing: border-box;
}

.akvm-app .form-container {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.akvm-app .form-input,
.akvm-app .form-textarea,
.akvm-app .form-select {
    width: 100% !important;
    max-width: none !important;
}

.akvm-app input,
.akvm-app textarea,
.akvm-app select,
.akvm-app button {
    font-family: inherit;
}
/* CONTAINER */
.details-container {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

/* IMAGE */
.detail-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: 0 auto 15px;
}

/* NAME */
.detail-name {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}

/* ROW */
.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

/* CONSENT LINK */
.consent-link {
  margin: 20px 0;
  color: #2f435a;
  font-size: 14px;
  cursor: pointer;
}

/* BUTTONS */
.approval-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.reject-btn {
  width: 45%;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid #2f435a;
  background: transparent;
  color: #2f435a;
  font-weight: bold;
}

.approve-btn {
  width: 45%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #2f435a;
  color: white;
  font-weight: bold;
}

/* LIST CONTAINER */
.list-container {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

/* ROW */
.app-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 15px;
  cursor: pointer;
}

/* STATUS */
.status {
  font-weight: 500;
}

/* APPROVED */
.status.approved {
  color: #4caf50;
}

/* PENDING */
.status.pending {
  color: #333;
}

.status.rejected {
  color: #c62828;
}

.detail-uid {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin-bottom: 18px;
}

.empty-state {
  padding: 20px 0;
  color: #666;
  text-align: center;
}

/* BUTTONS */
.list-btn {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  border-radius: 12px;
  border: none;
  background: #2f435a;
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

/* SUCCESS SCREEN */
.success-container {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  text-align: center;
}

/* ICON */
.success-icon {
  font-size: 80px;
  color: #4caf50;
  margin: 40px 0 20px;
  text-align: center;
}

/* TEXT */
.success-text {
  font-size: 16px;
  margin-bottom: 40px;
  color: #333;
}

/* BUTTONS */
.success-btn {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: none;
  background: #2f435a;
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

/* SECOND BUTTON */
.secondary-btn {
  margin-bottom: 0;
}

.success-icon {
  animation: pop 0.4s ease;
}
.marital-status-radio{
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
}
.radio-group{
    display: flex;
    gap: 50px;
}

@keyframes pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* UPLOAD BOX */
.upload-box {
  width: 160px;
  height: 160px;
  background: #eee;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.upload-content {
  text-align: center;
  color: #555;
  font-size: 14px;
}

/* PREVIEW IMAGE */
.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* CHECKBOX */
.consent-check {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.consent-check input {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.consent-check label {
  font-size: 10px;
  font-weight: normal;
}

/* SUBMIT BUTTON */
.submit-btn {
  width: fit-content;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #2f435a;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

/* TEXTAREA */
.form-textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #bbb;
  margin-bottom: 20px;
  font-size: 14px;
  height: 80px;
  resize: none;
  box-sizing: border-box;
}

/* SMALL INPUT (PIN) */
.small-input {
  width: 50%;
}

/* FULL WIDTH SELECT */
.full-select {
  width: 100%;
  background: #eee;
  border: none;
  margin-bottom: 15px;
}

/* BUTTON CONTAINER */
.dual-btn-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* PREVIOUS BUTTON */
.prev-btn {
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid #2f435a;
  background: transparent;
  color: #2f435a;
  font-weight: bold;
  cursor: pointer;
  width: 45%;
  text-align: center;
}

/* NEXT BUTTON */
.next-btn {
  width: 45%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #2f435a;
  color: white;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}

/* FORM SCREEN */
.form-container {
  width: 100%;
  max-width: 350px;
}

/* TITLE */
.form-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
}

/* LABELS */
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

/* INPUTS */
.form-input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #bbb;
  margin-bottom: 20px;
  font-size: 14px;
  box-sizing: border-box;
}

/* SELECT */
.form-select {
  width: 60%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 14px;
  background: #eee;
}

/* NEXT BUTTON ALIGN RIGHT */
.next-btn-container {
  display: flex;
  justify-content: center;
}

/* BUTTON STYLE */
.next-btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: #2f435a;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.next-btn:hover {
  background: #24384d;
}

/* CONTAINER */
.login-container {
  width: 100%;
  max-width: 350px;
  text-align: center;
}

/* LOGO */
.logo-container img {
  width: 140px;
  margin-bottom: 20px;
}

/* TITLE */
.login-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
}

/* INPUTS */
.form-group {
  margin-bottom: 15px;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 16px;
  outline: none;
  background: #fff;
}

/* PASSWORD EYE */
.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 14px;
  cursor: pointer;
  font-size: 14px;
}

/* FORGOT */
.forgot-password {
  text-align: left;
  font-size: 14px;
  color: #c59b3a;
  margin-bottom: 20px;
  cursor: pointer;
}

/* BUTTON */
.login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #c59b3a;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.login-btn:hover {
  background: #b5892f;
}

/* FOOTER */
.footer-text {
  margin-top: 20px;
  font-size: 12px;
  color: #c59b3a;
}

/* DASHBOARD */
.dashboard-container {
  width: 100%;
  max-width: 350px;
}

/* TITLE */
.dash-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* SUBTEXT */
.dash-subtext {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* BUTTONS */
.dash-btn {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: none;
  background: #2f435a;
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.secondary-btn {
  margin-bottom: 30px;
}

/* SUMMARY */
.summary-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

#app-container {
  min-width: 100vw;
  font-family: Arial, sans-serif;
}

.screen {
  display: none;
  background: #fff;
  height: 100vh;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.screen.active {
  display: flex;
  justify-content: center;
  align-items: center;
  height: max-content;
  flex-direction: column;
}

h1 {
  font-size: 24px;
  margin-bottom: 5px;
}

h2 {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 10px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  margin-top: 10px;
  padding: 12px;
  width: 100%;
  background: #1e3a5f;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #16324d;
}

.card {
  background: #f9fafc;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.status li {
  margin: 10px 0;
}
#district,
#taluk,
#hobli {
  color: #000 !important;
  background: #fff !important;
}

#district option,
#taluk option,
#hobli option {
  color: #000 !important;
  background: #fff !important;
}
@media (max-width: 768px) {
  body {
    /* background: red !important; */
  }
  .login-container,
  .form-container,
  .dashboard-container,
  .list-container,
  .details-container {
    max-width: 96%;
  }
  .logo-container img {
    width: 180px;
  }
}

/* Member card page */

* {
  font-family: "Baloo Tamma 2", system-ui;
  text-align: left;
}
.row {
  display: flex;
  align-items: center;
}
.space-between {
  justify-content: space-between;
}
.card-page {
  height: 100vh;
  overflow: hidden;
  background: #4f4d4d;
  padding: 20px;
  min-width: 100vw;
}
.card-container {
  width: 212px;
  height: 324px;
  background-color: #f8f5f0;
  display: flex;
  flex-direction: column;
}
.flag-bg {
  background-image: url("../images/flag.svg");
  background-repeat: no-repeat;
  background-position: 0px -110px;
  background-size: 100% 100%;
}

.flag-bg-verify {
  background-image: url("../images/flag.svg");
  background-repeat: no-repeat;
  background-position: top;
}

.akvm-logo {
  text-align: center;
  height: 82.5px;
  margin-top: 8px;
}
.member-img-container {
  margin: 6px 0;
}
.member-img {
  border-radius: 6px;
  border: 4px solid #2e4057;
  height: 90px;
  width: 100px;
  margin: auto;
}
.member-img.member {
  border: 4px solid #2e4057;
}
.member-img.gold {
  border: 4px solid #c7a047;
}
.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-name {
  color: #2e4057;
  font-weight: bold;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}
.member-role {
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  text-align: center;
}
.member-UID {
  color: #c7a047;
  font-weight: bold;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}
.member-validity {
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.akvm-hq {
  font-size: 8px;
  padding: 10px 12px;
  text-align: center;
  line-height: 8px;
  margin-top: auto;
}
.akvm-hq.member {
  background: #fff;
}
.akvm-hq.gold {
  background: linear-gradient(90deg, #c7a047 6%, #ffe6ac 54%, #c7a047 95%);
}
.disclaimer-header {
  font-size: 7px;
  font-weight: 700;
  padding: 0 20px;
  margin-top: 8px;
}
.disclaimer-header-verify {
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  margin-top: 8px;
}
.disclaimer {
  font-size: 6px;
  line-height: 8px;
}
.disclaimer-verify{
  font-size: 12px;
}
ol {
  padding-inline-start: 10px;
}
.qr-code {
  display: flex;
  justify-content: center;
  height: 90px;
  margin-top: 8px;
}
.card-pair {
  display: flex;
  gap: 10px;
  margin-bottom: 50px;
}
.kpn-sign {
  margin-top: auto;
  background-color: #f8f5f0;
}
.kpn-sign > div:first-child,
.kpn-sign > div:last-child {
  width: 15%;
}

.kpn-sign > div:nth-child(2) {
  width: 58%;
}

.kpn-sign > div {
  display: flex;
  align-items: center;
}

.kpn-sign > div > img {
  width: 100%;
  height: auto;
}

.no-print {
  width: fit-content;
}
@media print {
  @page {
    size: 54mm 85mm;
    margin: 0;
  }

  body {
    margin: 0;
    padding: 0;
    background: none !important;
  }

  .card-page {
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .card-container {
    width: 54mm;
    height: 85mm;

    break-inside: avoid;
    page-break-inside: avoid;

    break-after: page;
    page-break-after: always;

    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .card-container:last-child {
    break-after: auto;
    page-break-after: auto;
  }
  .card-pair {
    display: block;
  }
  .no-print {
    display: none !important;
  }
  
   /* Hide Astra stuff */
    header,
    footer,
    #masthead,
    #colophon,
    .site-header,
    .site-footer,
    .ast-primary-header-bar,
    .no-print {
        display: none !important;
    }

    /* Remove Astra page constraints */
    #page,
    #content,
    .site,
    .site-content,
    .ast-container,
    .content-area,
    .site-main {
        margin: 0 !important;
        padding: 0 !important;
        width: 54mm !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .card-page {
        margin: 0 !important;
        padding: 0 !important;
        width: 54mm !important;
        height: auto !important;
        overflow: visible !important;
        background: none !important;
    }

    .card-pair {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .card-container {
        width: 54mm !important;
        height: 85mm !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;

        break-inside: avoid !important;
        page-break-inside: avoid !important;

        break-after: page !important;
        page-break-after: always !important;

        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .card-container:last-child {
        break-after: auto !important;
        page-break-after: auto !important;
    }
}

/* Verify member page */
.verify-container {
  width: 350px;
  background-color: #f8f5f0;
  display: flex;
  flex-direction: column;
  margin: 50px auto;
  padding: 15px;
}
.verify-member-img {
  border-radius: 6px;
  border: 3px solid #fff;
  height: 160px;
  width: 160px;
  margin: auto;
  display: block;
  object-fit: cover;
}
.verify-akvm-logo {
  text-align: center;
  height: 150px;
  margin-top: 8px;
}
.verify-member-name {
  color: #2e4057;
  font-size: 14px;
}
.verify-member-role {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.verify-member-UID {
  color: #c7a047;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
}
.verify-disclaimer {
  font-size: 14px;
  font-weight: bold;
  color:darkblue;
}
.verify-member-status {
  color: white;
  border-radius: 6px;
  padding: 3px 6px;
  text-align: center;
  font-size: 12px;
  width: 50%;
  margin: 8px auto;
}

.verify-member-status.approved {
  background: #00a546;
}
.verify-member-status.not-approved {
  background: #f41a1f;
}
