
/* Light mode */
:root {
  --bg-color: rgb(255, 255, 255); /*#ebebeb;/* #00a3e913;   /* drawer + body background */
  --text-color: #000000; /* black text/icons */
}

/* Dark mode */
.dark-mode {
  --bg-color: #121212;   /* dark gray drawer + body */
  --text-color: #ffffff; /* white text/icons */
}

select{
  border: 2px solid #3498db;
  border-radius: 5px;
  padding: 5px;
}

.span-space{
  margin-right: 5px;
}

.active-link {
  font-weight: bold;
  /*color: #007bff; /* or any highlight color */
  /*border-bottom: 2px solid #007bff;*/
}


  /* Menu button fixed at top-right */
  .menu-button {
    /*po5sition: fixed;
    top: 1rem;
    right: 1rem;*/   /* 👈 now on right */
    /*background: none;*/
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-color);
  }

  .menu-button,
.close-button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color); /* will adapt */
}

.icon {
    font-size: 25px;
    color: inherit; /* 👈 inherit from parent (menu-button/close-button) */
  }  

  a{
    text-decoration: none;
  }
  
  /* Overlay */
  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }
  
  /* Drawer hidden on the right */
  .drawer {
    position: fixed;
    top: 0;
    right: -250px; /* 👈 start hidden off screen */
    width: 250px;
    height: 100%;
    background: var(--bg-color);
    color: var(--text-color);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3); /* shadow on left edge */
    padding: 1rem;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .header-bg2{
    background-color: #000000;

  }
  
  /* When open, slide into view */
  .drawer.open {
    right: 0; /* 👈 slide in */
  }
  
  .drawer-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
  }
  
  .drawer-links li {
    margin: 0.5rem 0;
    padding: 0;
  }

  .hyr{
    /*color: #d5d5d5 !important;*/
    color: #a4cef4 !important;
    font-size: 12px;
  }

  .drawer-links li a {
    display: flex;
    align-items: center;
    gap: 8px; /* space between icon and text */
    text-decoration: none;
    color: inherit;
  }

  .drawer-links a {
    display: block;        /* makes the whole line clickable */
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    padding: 12px
  }

  .drawer-links li:first-child {
    margin-left: 0;      /* 👈 reset in case Home has extra offset */
  }
  
  /* Close button */
  .close-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    float: right;
  }

* {
    box-sizing: border-box;
}

/* Cards */
.customCard {
  max-width: 600px;
  margin: 1rem auto;
  background: var(--card-bg, #fdfdfd);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Forms */
.formGroup {
  margin-bottom: 1rem;
}

.de_price{
  border-radius: 8px;
  background-color: #00a4eb;
  color: white;
}

.paddyLeeRee{
  padding-left: 15px;
  padding-right: 15px;
}

/*.formMintBg{
  /*background: #f7f9fb;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
}*/

/* Default (light mode) */
.formMintBg {
  /*background-color: var(--bg-color) !important;*/
  background-color: #f0f0f0 !important;
  color: var(--text-color) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(147, 147, 147, 0.663);
  border-radius: 12px;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.textF5orm44{
  font-size: 15px !important;
}

input::placeholder {
  font-size: 13px !important;
  opacity: 0.7; /* makes it look faded */
}

input{
  font-size: 15px !important;
}

textarea{
  font-size: 15px !important;
}

/* Dark mode version */
.dark-m5ode .car5dBg56,
.dark-mode .formMintBg {
  background-color: #3b3b3b !important; /* distinct from body (#121212) */
  color: var(--text-color) !important;
  box-shadow: 0 4px 10px rgb(215, 215, 215);
  border: 1px solid rgba(255,255,255,0.12); /* 👈 visible subtle border */
}

.form-control{
  font-size: 25px;
}

.form-control, textarea {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.formGuidey{
  margin-bottom: -15px;
  margin-top: 1px;
  margin-left: 15px;
  /*color: #6b7280;*/
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-color);
}

.content-wrapper {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
  padding: 20px;
  border-radius: 12px;
  max-width: 1200px;
  margin: auto;
}

.formLabel {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.formInput {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.formInput:focus {
  outline: none;
  border-color: #3a8dff;
  box-shadow: 0 0 0 2px rgba(58, 141, 255, 0.2);
}

/* Buttons */
.primaryBtn {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.primaryBtn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.primaryBtn:hover:not(:disabled) {
  background: linear-gradient(135deg, #00a2e9, #00a2e9);
}

.genBlue{
  /*color: var(--text-color);*/
  color: white;
  font-size: 12px;
  background: #00a2e9;
}

.genBlue:hover{
  background: #08668e;
  color: white;
}

.formActions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.sticky-header {
  position: sticky;
  top: 0;             /* how far from top before it "sticks" */
  background: white;  /* so content behind doesn't show through */
  z-index: 1000;      /* stay above other content */
}

.globalText{
  color: var(--text-color);
}

.globalBg{
  background: var(--bg-color);
}


body {
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
    background: var(--bg-color) !important;
    color: var(--text-color);
    transition: background 0.25s, color 0.25s;
}
  
  /* Theme toggle button (no yellow/blue flash) */
  .theme-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-color);   /* icon inherits black/white */
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* icon sizing */
  .theme-toggle .theme-icon {
    display: block;
    width: 28px;
    height: 28px;
  }
  
  /* remove native focus highlights but keep an optional visible focus for keyboard */
  .theme-toggle:focus,
  .theme-toggle:active {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent; /* mobile */
  }
  
  /* accessible focus ring for keyboard users (optional but recommended) */
  .theme-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.25);
    border-radius: 4px;
  }
  

.kxg{
color: black;
background-color: #dbdee0;
}
.kxg:active, .kxg:hover{
background-color: #c4c2bc;
}

.container {
/*background: rgb(241, 241, 241);*/
background: var(--bg-color);
/*padding: 20px;*/
padding: 10px;
border-radius: 8px;
/*box-shadow: 0 2px 4px rgb(215, 215, 215);*/
box-shadow: 
    0 2px 4px rgb(215, 215, 215),   /* bottom */
    0 -2px 4px rgb(215, 215, 215);  /* top */

}

.container3 {
  /*background: rgb(241, 241, 241);*/
  background: var(--bg-color);
  /*padding: 20px;*/
  padding: 10px;
  border-radius: 8px;
  /*box-shadow: 0 2px 4px rgb(215, 215, 215);*/
  box-shadow: 
      0 2px 4px #f0f0f0,   /* bottom */
      0 -2px 4px #f0f0f0;  /* top */
  
  }

.container24 {
  background: var(--bg-color);
  border-radius: 8px;
  padding-bottom: 1rem;
  
  }

.my-2box {
  width: 200px;
  height: 100px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 -5px 10px rgba(0,0,0,0.3); /* shadow above */
}

.my-box {
  border: 1px solid #ccc;
  box-shadow: 0 -5px 10px rgba(0,0,0,0.3); /* shadow above */
}

h1 {
font-size: 1.5em;
text-align: center;
color: var(--text-color);  
margin-bottom: 10px;
}

.guide-top {
text-align: center;
margin-bottom: 20px;
}

.guide-top p {
font-size: 0.9em;
color: var(--text-color);  
margin-bottom: 10px;
}

.tabs {
display: flex;
justify-content: center;
margin-bottom: 20px;
}

.tab-button {
padding: 10px 20px;
background-color: #e9ecee;
color: #c6ccc0;
border: none;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s;
border-radius: 4px 4px 0 0;
}

.tab-button.active {
background-color: #00a2e9;
color: white;
}



.tab-button:hover:not(.active) {
background-color: #d3d9df;
}

.tab-content {
display: none;
}

.tab-content.active {
display: block;
}

.instructions {
font-size: 0.9em;
color: #666;
text-align: center;
margin-bottom: 15px;
}

.form-section {
display: flex;
flex-direction: column;
gap: 15px;
position: relative;
}

label {
font-weight: bold;
color: #333;
}

input, textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1em;
}

textarea {
resize: vertical;
min-height: 100px;
}

a{
  color: #00a2e9
}

.wrapped-button {
display: inline-block;
padding: 5px 10px;
margin: 0;
white-space: nowrap;
}

button {
padding: 10px;
/*background-color: #007bff;*/
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;

}

button:hover {
background-color: #00a2e9;
}

button.secondary {
background-color: #6c757d;
}

button.secondary:hover {
background-color: #5a6268;
}

.key-group {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
}

.key-group span {
font-weight: bold;
color: #333;
}

/* Notification Styles */
.notification-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
display: none;
z-index: 999;
}

.notification-overlay.active {
display: block;
}

.notification {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 15px 25px;
border-radius: 4px;
font-size: 0.9em;
text-align: center;
opacity: 0;
transition: opacity 0.5s ease-out;
z-index: 1000;
max-width: 80%;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
display: none; /* Hide by default */
}

.notification.active {
display: block; /* Show when active */
opacity: 1; /* Fully visible */
}

.notification.success {
background-color: #d4edda;
color: #155724;
}

.notification.error {
background-color: #f8d7da;
color: #721c24;
}

.notification.fade-out {
opacity: 0; /* Fade out */
}

.help-btn {
padding: 8px 16px;
font-size: 0.9em;
}

.video-section {
margin: 20px 0;
text-align: center;
}

.video-section iframe {
width: 100%;
height: 315px;
border-radius: 8px;
}

.guide-bottom {
margin-top: 20px;
padding: 15px;
background: #f4f4f4;
border-radius: 8px;
}

.guide-bottom h3 {
font-size: 1.1em;
color: #333;
margin-top: 0;
}

.guide-bottom p, .guide-bottom ul {
font-size: 0.85em;
color: #333;
line-height: 1.5;
}

.guide-bottom ul {
padding-left: 20px;
}

/* Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: none;
z-index: 1000;
}

.modal-overlay.active {
display: block;
}

.mod569al {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 20px;
border-radius: 8px;
max-width: 500px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
z-index: 1001;
display: none;
}

.modal.active {
display: block;
}

.modal-content h2 {
font-size: 1.2em;
margin-top: 0;
color: #333;
}

.modal-content p, .modal-content ul {
font-size: 0.9em;
color: #333;
line-height: 1.5;
}

.modal-content ul {
padding-left: 20px;
}

.modal-close {
position: absolute;
top: 10px;
right: 10px;
background: #dc3545;
color: white;
border: none;
border-radius: 50%;
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
cursor: pointer;
font-size: 1em;
}

.modal-close:hover {
background: #c82333;
}

@media (max-width: 600px) {
body {
padding: 10px;
}

h1 {
font-size: 1.3em;
}

.tab-button {
font-size: 0.9em;
padding: 8px 15px;
}

input, textarea, button {
font-size: 0.9em;
}

.key-group span {
font-size: 0.9em;
}

.video-section iframe {
height: 200px;
}

.modal {
width: 95%;
padding: 15px;
}

.modal-content h2 {
font-size: 1.1em;
}

.modal-content p, .modal-content ul {
font-size: 0.85em;
}
}

@keyframes fadeOut {
from { opacity: 1; }
to { opacity: 0; }
}

/* Navigation Bar */
.navbar {
background: #fff;
padding: 10px 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
/*display: flex;*/
/*justify-content: space-between;*/
/*align-items: center;*/
}

.nav-logo {
font-size: 1.2em;
font-weight: bold;
color: #333;
}

.nav-links {
list-style: none;
display: flex;
ga7p: 15px;
margin: 0;
padding: 0;
font-size: 15px;
}

.nav-links li a {
color: #333;
text-decoration: none;
font-size: 0.9em;
}

.nav-links li a:hover {
color: #00a2e9;
}

/* Footer */
.footer {
background: #f4f4f4;
padding: 20px;
text-align: center;
margin-top: 20px;
border-top: 1px solid #ddd;
}

.footer p {
margin: 0;
fo5nt-size: 0.85em;
color: #666;
}

.footer-links {
list-style: none;
padding: 0;
margin: 10px 0 0;
display: flex;
justify-content: center;
gap: 15px;
}

.footer-links li a {
color: #333;
text-decoration: none;
font-size: 0.85em;
}

.footer-links li a:hover {
color: #00a2e9;
}

/* Donation Section (for Support Page) */
.donation-section {
margin: 20px 0;
}

.donation-section h3 {
font-size: 1.1em;
color: #333;
margin-bottom: 10px;
}

.donation-item {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
}

.donation-item input {
flex: 1;
background: #f4f4f4;
cursor: pointer;
}

.donation-item button {
width: auto;
padding: 8px 12px;
font-size: 0.9em;
}

@media (max-width: 600px) {
.navbar {
flex-direction: column;
gap: 10px;
}

.nav-li3nks {
flex-direction: column;
align-items: center;
/*font-weight: bold;*/
}

.donation-item {
flex-direction: column;
align-items: stretch;
}
}

.kmr{
    color: var(--text-color);  
}

.kmr:hover {
    color: #00a2e9; /* optional hover accent */
  }

/* Upload Page Specific Styles */
.tab-content {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-section label {
    font-weight: bold;
    color: #333;
}

.form-section input[type="file"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
}

.notification {
    padding: 15px;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
    margin-top: 15px;
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
}

.notification p {
    margin: 0 0 10px 0;
}

.notification input[type="text"] {
    width: calc(100% - 90px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
    margin-right: 10px;
}

.copy-btn {
    padding: 8px 12px;
    background-color: #00a2e9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.copy-btn:hover {
    background-color: #00a2e9;
}

@media (max-width: 600px) {
    .form-section input[type="file"],
    .notification input[type="text"] {
        font-size: 0.85em;
    }

    .copy-btn {
        padding: 6px 10px;
        font-size: 0.85em;
    }
}

/* Spinner Styles */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #007bff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Upload Page Specific Styles */
.tab-content {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    display: none;
}

.tab-content.active {
    display: block;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.form-section label {
    font-weight: bold;
    color: #333;
}

.form-section input[type="file"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
}

.form-section button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.notification {
    padding: 15px;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
    margin-top: 15px;
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
}

.notification p {
    margin: 0 0 10px 0;
}

.notification input[type="text"] {
    width: calc(100% - 90px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
    margin-right: 10px;
}

.copy-btn {
    padding: 8px 12px;
    background-color: #00a2e9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.copy-btn:hover {
    background-color: #00a2e9;
}

@media (max-width: 600px) {
    .form-section input[type="file"],
    .notification input[type="text"] {
        font-size: 0.85em;
    }

    .copy-btn {
        padding: 6px 10px;
        font-size: 0.85em;
    }

    .spinner {
        width: 20px;
        height: 20px;
    }
}