/* colors qr-collect  megadark: #630339 superdark: #d50f7e  dark: #ff36af  medium: #d1b4b9 low: #ffe1f0 */
/* @import must be at top of file, otherwise CSS will not work */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* =====================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ===================================================== */
:root {
  /* Brand Colors */
  --color-megadark: #630339;
  --color-superdark: #d50f7e;
  --color-dark: #ff36af;
  --color-medium: #d1b4b9;
  --color-low: #ffe1f0;

  /* Semantic Colors */
  --color-primary: var(--color-superdark);
  --color-primary-hover: var(--color-megadark);
  --color-secondary: var(--color-dark);
  --color-accent: var(--color-low);

  /* Text Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-gray: #f1f5f9;
  --bg-dark: #1a1a2e;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-superdark) 0%, var(--color-dark) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(213, 15, 126, 0.1) 0%, rgba(255, 54, 175, 0.05) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(213, 15, 126, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
}

*, *:before, *:after { box-sizing: border-box; }

/* Set modern font for entire site */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


 /* container */

.QR_body_BACK {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  background-color:#F5F5F5;	
}

#page-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content-wrap {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.5rem;
  padding-bottom: 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#content-wrap-full {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  min-height: 83vh;
}


#nav-TOP_BAR {
  /* box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
    /* margin: 2%; */
  border-radius: 7px;
  /* Enhanced liquid-glass effect with more transparency */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Ensure navbar stays above table headers */
  position: relative;
  z-index: 100;
}

.QR-TOP_BAR {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
}


/* Modern TOP_BAR Navigation */
.ul-top {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 12px;
  list-style-type: none;
  color: white;
  margin: 0;
  padding: 8px 16px;
  overflow: visible;
  /* Enhanced liquid-glass effect with more transparency */
  background: linear-gradient(135deg, rgba(213, 15, 126, 0.7), rgba(255, 54, 175, 0.6));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10000;
}

img {
  max-height: 100%;
  display:inline;
}

li {
  /*float: left;*/
}

li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 7px 10px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

li.dropdown {
  display: inline-block;
  position: relative;
  z-index: 1000;
}

/* Modern user avatar styling */
li.dropdown img {
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

li.dropdown:hover img {
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}


li a:hover, .dropdown:hover .dropbtn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(4px);
}

.dropdown-content {
  display: none;
  position: fixed;
  min-width: 200px;
  border-radius: 12px;
  /* Enhanced liquid-glass dropdown */
  background: rgba(255, 54, 175, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  padding: 8px 0;
  margin-top: 8px;
}

.dropdown-content a {
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-radius: 8px;
  margin: 2px 8px;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}


.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDown 0.3s ease-out;
}

/* Keep dropdown visible when hovering over it */
.dropdown-content:hover {
  display: block;
}

/* Create invisible bridge between button and dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  z-index: 99998;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile navbar - show only icons */
@media screen and (max-width: 600px) {
  .ul-top {
    padding: 6px 10px;
  }

  .dropbtn .nav-text {
    display: none;
  }

  li a.dropbtn, .dropbtn {
    padding: 8px 12px;
    font-size: 18px;
  }

  .dropbtn i {
    font-size: 18px;
  }

  .dropdown-right img {
    width: 32px !important;
    height: 32px !important;
  }

  /* Mobile dropdown max-width to help JS positioning */
  .dropdown-content {
    max-width: calc(100vw - 16px);
  }
}

/* end of the TOP_BAR  */

/* Beautiful Button Style - Only for input elements and specific buttons */
input[type="submit"], input[type="button"] {
  display: block;
  /* Enhanced liquid-glass effect for buttons */
  background: linear-gradient(135deg, rgba(213, 15, 126, 0.7), rgba(255, 54, 175, 0.6));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Calibri', Arial, sans-serif;
  font-size: inherit;
  box-shadow: 0 4px 12px rgba(213, 15, 126, 0.2);
  margin: auto;
  text-align: center;
}

input[type="submit"]:hover, input[type="button"]:hover {
  transform: translateY(-1px);
  /* Enhanced hover effect with liquid-glass */
  background: linear-gradient(135deg, rgba(213, 15, 126, 0.8), rgba(255, 54, 175, 0.7));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(213, 15, 126, 0.4);
}

.button_index {
  border-radius: 7px;
  width:300px;
  display: block;
  color: white;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(-1px);
/* Enhanced hover effect with liquid-glass */
  background: linear-gradient(135deg, rgba(213, 15, 126, 0.8), rgba(255, 54, 175, 0.7));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(213, 15, 126, 0.4);
  transition: all 0.3s ease;
}

.button_index:hover {
  background: color(display-p3 0.9434 0.5664 0.7939);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Beautiful button class for specific use cases */
.beautiful-button {
  display: inline-block;
  /* Enhanced liquid-glass effect for buttons */
  background: linear-gradient(135deg, rgba(213, 15, 126, 0.7), rgba(255, 54, 175, 0.6));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Calibri', Arial, sans-serif;
  font-size: inherit;
  box-shadow: 0 4px 12px rgba(213, 15, 126, 0.2);
}

.beautiful-button:hover {
  transform: translateY(-1px);
  /* Enhanced hover effect with liquid-glass */
  background: linear-gradient(135deg, rgba(213, 15, 126, 0.8), rgba(255, 54, 175, 0.7));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(213, 15, 126, 0.4);
}


h1 {
  display: block;
  color: #630339; 
  font-family: 'Calibri', Arial, sans-serif;
  text-shadow: 1px 1px slategrey;
  text-align: center;
}

h2 {
  display: block;
  color: #d50f7e;
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 37px;
  margin: auto;
  text-align: center;
  text-shadow: 1px 1px slategrey;
  /* Enhanced liquid-glass effect for H2 
  box-shadow: 0 4px 12px rgba(213, 15, 126, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px); 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 24px;
  
}
h3 {
  display: block;
  color: #d50f7e;
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 20px;
  margin: auto;
  text-align: center;
  text-shadow: 1px 1px slategrey;
}
h4 {
  display: block;
  color: #d50f7e;
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 17px;
  margin: auto;
  text-align: center;
  margin-left: auto; 
  margin-right: auto; 
}
h5 {
  display: block;
  color: #101010;
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 17px;
  margin: auto;
  text-align: center;
  margin-left: auto; 
  margin-right: auto; 
}
h6 {
  display: block;
  color: Green;
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 15px;
  margin: auto;
  text-align: center;
  margin-left: auto; 
  margin-right: auto; 
}
.HOME {
  display: block;
}

/* table update user */

.sect-update {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  text-align: center;
  display: grid;
  justify-content: center;
  color: #ff36af;
  margin: 2%;
/* background-color: #333; 
  max-width: 90%;*/
}

.ul-update {
  display: inline-grid;
  text-align: center;
  justify-content: center;
  padding:5px;

}

.li-update {
  display: block;
  text-align: center;
  color: #bccfd0;
  margin: 2%;
}

/* end table update user */

/* start My Qr Code */

.your_qr_code {
  padding:0.5rem;
  text-align:center;
  color:#630339;
 /* height:35%; */
}

.your_qr_code_custo {
  padding:0.5rem;
  text-align:center;
  color:#630339;
 /* height:40%; */
}


/* end My Qr Code */


/* START Popup container  */
.popup {
  /*text-decoration: underline;*/
  font-style: italic;
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
    left:-1300%;
    visibility: hidden;
    width: 300px;
    background-color: #555555ed;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    padding: 5px;
    z-index: 1;
    bottom: 130%;
}

/* Popup arrow 
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
*/

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

/* END - Popup container  */

/* table balance */

.sect-balance {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  text-align: center;
  display: grid;
  justify-content: normal;
  color: #ff36af;
  margin: 2%;
/* background-color: #333; 
  max-width: 90%;*/
}

.ul-balance {
  display: inline-flex;
  text-align: center;
  justify-content: center;
  padding:5px;
  margin-top: 0px;
  margin-bottom: 0px;

}

.li-balance {
  display: block;
  text-align: center;
  color: #bccfd0;
  margin: 2%;
}

/* end table balance user */

/* start transaction */

.section_transaction {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  text-align: center;
  display: grid;
  justify-content: normal;
  color: #ff36af;
  margin: 2%;
/* background-color: #333; 
  max-width: 90%;*/

}
.table_transaction {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.tr_transaction tr:nth-child(even){background-color: #f2f2f2;}
.tr_transactio tr:hover {background-color: #ddd;}

.tr_transaction {
  border-radius:7px;
}

.th_transaction {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;

  background-color: #d50f7e;
  color: white;
}


.td_transaction {
  justify-content: normal;
  text-align: center;
  padding: 3px;

}

/* end transaction */


/* start admin User_list */

.section_user_list {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  text-align: center;
  display: grid;
  justify-content: normal;
  color: #ff36af;
  margin: 2%;
/* background-color: #333; 
  max-width: 90%;*/

}
.table_user_list {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: auto;
}

.tr_user_list tr:nth-child(even){background-color: #f2f2f2;}
.tr_user_list tr:hover {background-color: #ddd;}

.tr_user_list {
  border-radius:7px;
}

.th_user_list {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;

  background-color: #d50f7e;
  color: white;
}


.td_user_list {
  justify-content: normal;
  text-align: center;
  padding: 3px;

}

/* start admin User_list for desktop */

.tr_user_list_desktop tr:nth-child(even){background-color: #f2f2f2;}
.tr_user_list_desktop tr:hover {background-color: #ddd;}

.tr_user_list_desktop {
  border-radius:7px;
}

.th_user_list_desktop {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;

  background-color: #d50f7e;
  color: white;
}


.td_user_list_desktop {
  justify-content: normal;
  text-align: center;
  padding: 3px;

}

/* end admin user_list */

/* start admin User_list for phone landscape */

.tr_user_list_phone tr:nth-child(even){background-color: #f2f2f2;}
.tr_user_list_phone tr:hover {background-color: #ddd;}

.tr_user_list_phone {
  border-radius:7px;
}

.th_user_list_phone {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;

  background-color: #d50f7e;
  color: white;
}


.td_user_list_phone {
  justify-content: normal;
  text-align: center;
  padding: 3px;

}

/* end admin user_list */


#Horizon_H{
  display: block;
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-top: 2.5%;
  margin-bottom: 2.5%;
  text-align: center;
}
#HORIZON_1 {
  display:inline;
  background-color: rgba(201, 203, 207, 1);
  border: none;
  border-radius: 0px;
  color: dimgrey;
  /* text-shadow: 1px 1px dimgrey; */
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  padding: 10px 10px 10px 10px;
  cursor: pointer;
  margin-top: 2px;
  margin-bottom: 2px;

}
input[type="submit"]:disabled 
{
   cursor: not-allowed;
   /*pointer-events: none;*/
   color: darkgrey;
}
  
input[type=date] {
  text-align: center;
  display: block;
  background-color: white;
  border-radius: 5px;
  position: auto; 
  height: 30px;
  width: auto;
  font-size: 20px;
  /* top: 50%; */
  /* left: 50%; */
  margin: auto; 
  margin-left: auto; 
  margin-right: auto;
  box-sizing: border-box;
  border: 1px solid #ccc;

}
input[type=text] {
  text-align: center;
  display: block;
  background-color: white;
  border-radius: 5px;
  position: auto; 
  height: 30px;
  width: 50px;
  font-size: 20px;
  /* top: 50%; */
  /* left: 50%; */
  margin: auto; 
  margin-left: auto; 
  margin-right: auto;
  box-sizing: border-box;
  border: 1px solid #ccc;
}
input[type=tel] {
  text-align: center;
  display: block;
  background-color: white;
  border-radius: 5px;
  position: auto; 
  height: 30px;
  width: 50px;
  font-size: 20px;
  /* top: 50%; */
  /* left: 50%; */
  margin: auto; 
  margin-left: auto; 
  margin-right: auto;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

input[type=color] {
  text-align: center;
  display: block;
  background-color: white;
  border-radius: 5px;
  position: auto; 
  height: 30px;
  width: 50px;
  font-size: 20px;
  /* top: 50%; */
  /* left: 50%; */
  margin: auto; 
  margin-left: auto; 
  margin-right: auto;
}


.SUBMIT {
  display: block;
  /* background-color: #2F4F4F; */
  border: none;
  border-radius: 5px;
  color: Ivory;
  height: auto;
  width: auto;
  text-shadow: 1px 1px dimgrey;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: auto;
  text-decoration: none;
  text-align: center;
  padding: auto;
  margin: auto;
  margin-left: auto;
  margin-right: auto;
}

.img_upload {
  display: block;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  text-shadow: 1px 1px dimgrey;
  text-align: center;
  max-height: 7vh;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}
.img_MENU {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 5px;
  height: 20vh;
  max-height: 200px;
  /*max-width: 40vw;*/
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}

.logo_QR_long {
  height: 10vh;
  max-height: 100px;
  display:block;
  margin-left: auto;
  margin-right: auto;

}


.img_MENU_payment {
  height: 10%;
  display:in-line;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.pass_input {
  text-align: center !important;
  display: block;
  background-color: white;
  border-radius: 5px;
  position: auto; 
  height: 30px;
  font-size: 20px;
  margin: auto; 
  margin-left: auto; 
  margin-right: auto; 
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid #ccc;

}
input[type=list] {
  text-align: center;
  display: block;
  background-color: white;
  border-radius: 5px;
  position: auto; 
  height: 30px;
  width: 180px;
  font-size: 20px;
  padding-top:4px;
  margin: auto; 
  margin-left: auto; 
  margin-right: auto;
}
.CHART {
  /**background-image: url("../img/DIARY_background.jpg");**/
  background-color: #bccfd0;
  opacity: 0.6;
  margin: auto;
  display:block;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}

#radio_createdby {
  text-align: center;
  color: #666;
  font-family: 'Calibri', Arial, sans-serif;
}


/* QR_logo page for fixed amount */

.div_options {
  display: block;
  text-align:center;
  padding:0;
}

.label_options {
    display: block;
    padding: 0.4rem;
    font-size: 1.0rem;
    color: #630339;
}

.select_options {
    text-align: center;
    display: block;
    padding: 0.3rem;
    font-size: 1rem;
    color: #630339;
    margin: auto;
    width: 110px;
  box-sizing: border-box;
  border: 1px solid #ccc;

}

/* QR_logo page for drop list*/
.div_list {
  display: flex;
 justify-content: center;
font-size: 1rem;
 padding-top: 0.25rem;
 padding-bottom: 0.25rem;
}


.label_list {
    display: flex !important;
    font-size: 1.0rem;
    color: #630339;
    justify-content: center !important;
    align-items: center;
}

.default_list {
    display: flex !important;
    width:50px !important;
    font-size: 1.0rem;
    color: #630339;
    justify-content: center !important;
    border-radius: 0px !important;
    align-items: center;
  box-sizing: border-box;
  border: 1px solid #ccc;

}
.value_list {
    display: flex !important;
    width:75px !important;
    margin-left:5px;
    margin-right:5px;
    font-size: 1.0rem;
    color: #630339;
    justify-content: center !important;
    border-radius: 0px !important;
  box-sizing: border-box;
  border: 1px solid #ccc;

}
.desc_list {
    display: flex !important;
    width:200px !important;
    font-size: 1rem;
    color: #630339;
    justify-content: center !important;
    border-radius: 0px !important;
    text-align:left !important;
  box-sizing: border-box;
  border: 1px solid #ccc;

}


/* payment page */

.follow-us_0 {
	display: flex;
    	justify-content: center;
    	align-items: center;
}
.follow-us_1 {
	display: flex;
    	justify-content: center;
    	align-items: center;
}

.widget_dc_0 {
	display: inline-flex;
    	justify-content: center;
    	align-items: center;
}
.widget_dc_1 {
	display: inline-flex;
    	justify-content: flex-start;
    	align-items: center;
}



/* bottom_bar */

#nav-FOOTER_BAR {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  margin-top: auto;
  /* Google-style subtle glassmorphism */
  background: rgba(192, 192, 192, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}


footer {
  box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
  border-radius: 7px;
  text-align: center;
  color: #bccfd0;
  z-index: 1000;
  margin-left: auto;
  margin-right: auto;
  /* Google-style subtle glassmorphism */
  background: rgba(192, 192, 192, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

footer a {
	text-decoration: none;
	list-style-type: none;
	color: white;
}

.sect-bottom {
    box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
    border-radius: 7px;
    text-align: center;
    color: #bccfd0;
    margin-left: auto;
    margin-right: auto;
}

.ul-bottom {
  border-radius: 7px;
  list-style-type: none;
  color: white;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display:flex;
  justify-content: center;
  padding:5px;
  color: white;
}

.li-bottom {
    text-align: center;
    color: white;
    margin-left: 2%;
    margin-right: 2%;
}


/* end of the bottom_bar  */

/* Index page specific styles */
canvas {
    max-height: 200px;
}

@media screen and (max-width: 3000px) and (min-width: 1200px) {
#content-wrap_QR{
	width:600px;
	box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
   	border-radius: 7px;
    	margin-top: 0.5rem;
    	margin-bottom: 0.5rem;
    	padding: 0.5rem;
	height:625px;
}

#content-wrap_page{
	width:600px;
	box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
    	border-radius: 7px;
    	margin-top: 0.5rem;
    	margin-bottom: 0.5rem;
    	padding: 0.5rem;
	height:625px;
}

#iframe_payment_page{
	height: 100%;
}
}

@media screen and (max-width: 1200px) and (min-width: 500px) {
#content-wrap_QR{
	width:500px;
	box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
    	border-radius: 7px;
    	margin-top: 0.5rem;
    	margin-bottom: 0.5rem;
    	padding: 0.5rem;
	height:700px;
}

#content-wrap_page{
	width:500px;
	box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
   	border-radius: 7px;
    	margin-top: 0.5rem;
    	margin-bottom: 0.5rem;
    	padding: 0.5rem;
	height:700px;
}

#iframe_payment_page{
	height: 550px;
}
}

@media screen and (max-width: 500px) and (min-width: 0px) {
#content-wrap_QR{
	width:350px;
	box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
   	border-radius: 7px;
    	margin-top: 0.5rem;
    	margin-bottom: 0.5rem;
    	padding: 0.5rem;
	height:700px;
}

#content-wrap_page{
	width:350px;
	box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
    	border-radius: 7px;
    	margin-top: 0.5rem;
    	margin-bottom: 0.5rem;
    	padding: 0.5rem;
	height:750px;
}

#iframe_payment_page{
	height: 600px;
}
}

/* =====================================================
   MODERN COMPONENTS
   ===================================================== */

/* Modern Hero Section - Above Navbar */
.hero-section {
  background: var(--bg-white);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.hero-section::before {
  display: none;
}

.hero-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-megadark);
  margin-bottom: var(--space-xs);
  text-shadow: none;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.hero-tagline {
  font-size: var(--font-size-sm);
  color: var(--color-superdark);
  font-weight: 500;
  font-style: italic;
  margin: 0;
  white-space: nowrap;
}

/* Modern Card Component */
.modern-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.modern-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.modern-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--bg-gray);
}

.modern-card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.modern-card-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-superdark);
  font-size: var(--font-size-xl);
}

/* Glass Card Variant */
.glass-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

/* Account Status Alert Banner - Only shown when action needed */
.status-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid #f59e0b;
  max-width: 500px;
  margin: 0 auto var(--space-md);
  animation: slideDown 0.3s ease-out;
}

.status-alert.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-left-color: #ef4444;
}

.status-alert-icon {
  font-size: var(--font-size-xl);
}

.status-alert-content {
  flex: 1;
}

.status-alert-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  margin-bottom: 2px;
}

.status-alert-desc {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

.status-alert-action {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-superdark);
  color: white;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: var(--font-size-xs);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.status-alert-action:hover {
  background: var(--color-megadark);
  transform: translateY(-1px);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dynamic Balance Display - Visual Flow */
.balance-display {
  text-align: center;
  padding: var(--space-md);
  max-width: 100%;
  margin: 0 auto;
}

.balance-flow-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.balance-stage {
  flex: 1;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  position: relative;
  min-width: 100px;
  max-width: 160px;
}

.balance-stage:not(:last-child)::after {
  content: '\279C';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
  z-index: 2;
}

.balance-stage.pending {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.balance-stage.available {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.balance-stage.payout {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.balance-stage-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  display: block;
}

.balance-stage-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.currency-symbol {
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.9;
}

.balance-stage-value.loading {
  color: var(--text-light);
  animation: pulse 1.5s ease-in-out infinite;
}

.balance-stage-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.2;
}

.balance-stage-hint {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-style: italic;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.balance-animate {
  animation: countUp 0.4s ease-out;
}

.balance-arrow {
  color: var(--color-superdark);
  font-size: var(--font-size-xl);
  font-weight: 300;
  opacity: 0.5;
}

.steps-tagline {
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0 0 var(--space-sm);
  opacity: 0;
  animation: welcomeAppear 0.8s ease-out 0.7s forwards;
}

/* Modern Action Cards - Compact */
.action-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-sm);
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-xs);
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: var(--text-white);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
  opacity: 0;
  animation: cardBounce 0.5s ease-out forwards;
}

.action-card:nth-child(1) { animation-delay: 1s; }
.action-card:nth-child(2) { animation-delay: 1.15s; }
.action-card:nth-child(3) { animation-delay: 1.3s; }

@keyframes cardBounce {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.05);
  }
  80% {
    transform: translateY(3px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.action-card-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
  opacity: 0.9;
}

.action-card-icon i {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.action-card-step {
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  margin-bottom: 2px;
}

.action-card-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.action-card-desc {
  display: none;
}

/* Modern Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--font-size-base);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--color-superdark);
  border: 2px solid var(--color-superdark);
}

.btn-secondary:hover {
  background: var(--color-low);
}

.btn-ghost {
  background: transparent;
  color: var(--color-superdark);
}

.btn-ghost:hover {
  background: var(--color-low);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
}

/* Modern Divider - Compact */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-md) 0;
  color: var(--text-light);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bg-gray), transparent);
  max-width: 60px;
}

.divider-text {
  padding: 0 var(--space-sm);
  font-size: var(--font-size-base);
  color: var(--color-medium);
}

/* Modern Welcome Section */
.welcome-section {
  text-align: center;
  padding: var(--space-md);
}

.welcome-greeting {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-megadark);
  margin: var(--space-lg) 0 var(--space-xs);
  text-align: center;
  animation: welcomeAppear 0.8s ease-out forwards;
}

@keyframes welcomeAppear {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  50% {
    opacity: 1;
    transform: translateY(5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.welcome-greeting .name {
  color: var(--color-superdark);
}

.welcome-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-megadark);
  margin-bottom: var(--space-sm);
}

.welcome-message {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-md);
  line-height: var(--leading-normal);
}

/* Payment Methods Grid */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  min-width: 140px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--font-size-base);
  cursor: default;
  transition: all var(--transition-base);
  border: none;
}

.payment-btn:hover {
  transform: translateY(-2px);
}

.payment-btn.apple-pay {
  background: #000;
  color: #fff;
}

.payment-btn.google-pay {
  background: #fff;
  color: #5f6368;
  border: 1px solid #dadce0;
  box-shadow: var(--shadow-sm);
}

.payment-btn.amazon-pay {
  background: #FF9900;
  color: #000;
}

.payment-btn.link-pay {
  background: #00D4AA;
  color: #fff;
}

.payment-btn.paypal {
  background: #0070BA;
  color: #fff;
}

/* Dashboard Layout - Compact */
.dashboard-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.dashboard-section {
  margin-bottom: var(--space-xs);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.dashboard-section-title {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: var(--space-sm);
}

/* QR Display Section */
.qr-display-section {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-2xl);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.qr-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-megadark);
  margin-bottom: var(--space-md);
}

.qr-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.qr-code-wrapper {
  padding: var(--space-lg);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.qr-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

/* Powered By Section */
.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-2xl);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.powered-by img {
  height: 24px;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.powered-by:hover img {
  opacity: 0.8;
}

/* =====================================================
   WELCOME / MIGRATION PAGE
   ===================================================== */

.welcome-migrate {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.welcome-migrate-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--text-white);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  animation: fadeInDown 0.6s ease-out;
}

.welcome-migrate-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-megadark);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-md);
  text-shadow: none;
  animation: fadeInDown 0.6s ease-out 0.1s both;
}

.welcome-migrate-desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-xl);
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.welcome-migrate-desc strong {
  color: var(--text-primary);
}

/* Password Reset Card */
.migrate-reset-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-white);
  border: 2px solid var(--color-low);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  animation: fadeInDown 0.6s ease-out 0.3s both;
}

.migrate-reset-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.migrate-reset-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-low);
  border-radius: var(--radius-full);
  color: var(--color-superdark);
  font-size: 1.25rem;
}

.migrate-reset-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.migrate-reset-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: var(--leading-relaxed);
}

.migrate-reset-btn {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--text-white) !important;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-base);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(213, 15, 126, 0.3);
}

.migrate-reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(213, 15, 126, 0.4);
}

/* Church Image */
.welcome-migrate-image {
  margin: 0 0 var(--space-xl);
  animation: fadeInDown 0.6s ease-out 0.4s both;
}

.welcome-migrate-image img {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Login Section */
.welcome-migrate-login {
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.6s ease-out 0.5s both;
}

.welcome-migrate-login-text {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
}

/* Migration Banner (for logged-in users) */
.migration-banner {
  max-width: 600px;
  margin: 0 auto var(--space-md);
  animation: slideDown 0.4s ease-out;
}

.migration-banner-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: linear-gradient(135deg, rgba(213, 15, 126, 0.08), rgba(255, 54, 175, 0.04));
  border: 1px solid rgba(213, 15, 126, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}

.migration-banner-icon {
  color: var(--color-superdark);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.migration-banner-text {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  text-align: left;
}

.migration-banner-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.migration-banner-text a {
  color: var(--color-superdark);
  font-weight: 600;
  text-decoration: underline;
}

.migration-banner-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  line-height: 1;
  box-shadow: none;
}

.migration-banner-close:hover {
  background: rgba(213, 15, 126, 0.1);
  color: var(--color-superdark);
  transform: none;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
  .welcome-migrate-title {
    font-size: var(--font-size-2xl);
  }

  .migration-banner-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .migration-banner-text {
    text-align: center;
  }

  .migration-banner {
    position: relative;
  }

  .migration-banner-close {
    position: absolute;
    top: 8px;
    right: 8px;
  }
}

/* Logo Styling */
.brand-logo {
  height: 45px;
  max-height: 50px;
  display: inline-block;
  margin: 0;
}

/* Modern Input Styling */
.modern-input {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-primary);
  text-align: center;
  transition: all var(--transition-base);
}

.modern-input:focus {
  outline: none;
  border-color: var(--color-superdark);
  box-shadow: 0 0 0 3px rgba(213, 15, 126, 0.1);
}

.modern-input:read-only {
  background: var(--bg-light);
  cursor: default;
}

/* Modern Select */
.modern-select {
  padding: var(--space-md);
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-primary);
  cursor: pointer;
  min-width: 200px;
}

.modern-select:focus {
  outline: none;
  border-color: var(--color-superdark);
  box-shadow: 0 0 0 3px rgba(213, 15, 126, 0.1);
}

/* Link Styling */
.modern-link {
  color: var(--color-superdark);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-base);
}

.modern-link:hover {
  color: var(--color-megadark);
  text-decoration: underline;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  :root {
    --font-size-4xl: 1.875rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }

  .hero-section {
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
  }

  .hero-tagline {
    white-space: normal;
    text-align: center;
  }

  .status-grid {
    grid-template-columns: 1fr;
    padding: var(--space-md);
  }

  .action-cards {
    grid-template-columns: 1fr;
    padding: var(--space-md);
  }

  .balance-flow {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .balance-arrow {
    transform: rotate(90deg);
  }

  .balance-flow-visual {
    flex-direction: column;
    max-width: 60%;
    min-width: 200px;
  }

  .balance-stage {
    max-width: none;
    min-width: auto;
    padding: var(--space-sm) var(--space-md);
  }

  .balance-stage:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(50%) rotate(90deg);
  }

  .payment-methods {
    gap: var(--space-sm);
  }

  .payment-btn {
    min-width: 120px;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
  }
}

/* =====================================================
   MODERN TABLE STYLES
   ===================================================== */

.modern-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-md) 0;
  position: relative;
  z-index: 1;
}

.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: var(--font-size-sm);
}

.modern-table thead {
  background: linear-gradient(135deg, var(--color-megadark) 0%, var(--color-superdark) 100%);
}

.modern-table th {
  padding: var(--space-md) var(--space-sm);
  text-align: left;
  font-weight: 600;
  color: var(--text-white);
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  letter-spacing: 0.05em;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.modern-table th:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modern-table th.sortable::after {
  content: '⇅';
  margin-left: 6px;
  opacity: 0.5;
  font-size: 0.8em;
}

.modern-table th.sort-asc::after {
  content: '↑';
  opacity: 1;
}

.modern-table th.sort-desc::after {
  content: '↓';
  opacity: 1;
}

.modern-table tbody tr {
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--bg-gray);
}

.modern-table tbody tr:last-child {
  border-bottom: none;
}

.modern-table tbody tr:hover {
  background: var(--bg-light);
}

.modern-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.modern-table tbody tr:nth-child(even):hover {
  background: var(--bg-light);
}

.modern-table td {
  padding: var(--space-sm) var(--space-sm);
  color: var(--text-primary);
  vertical-align: middle;
}

.modern-table td.text-right {
  text-align: right;
}

.modern-table td.text-center {
  text-align: center;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge.success,
.status-badge.ok,
.status-badge.paid,
.status-badge.succeeded {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.pending,
.status-badge.in_transit {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.failed,
.status-badge.refunded {
  background: #fee2e2;
  color: #991b1b;
}

/* Table action links */
.table-link {
  color: var(--color-superdark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.table-link:hover {
  color: var(--color-megadark);
  text-decoration: underline;
}

/* Empty state */
.table-empty {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
}

.table-empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

/* Loading state */
.table-loading {
  text-align: center;
  padding: var(--space-xl);
  color: var(--text-muted);
}

.table-loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: var(--space-sm);
  border: 2px solid var(--color-superdark);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Page title for table pages */
.page-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.page-header h1 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-megadark);
  margin: 0 0 var(--space-xs);
}

.page-header .subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-style: italic;
}

/* Table info/notes section */
.table-notes {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.table-notes p {
  margin: var(--space-xs) 0;
}

/* Download buttons */
.download-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.download-actions label {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-white);
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.download-btn:hover {
  background: var(--bg-light);
  border-color: var(--color-superdark);
  color: var(--color-superdark);
}

.download-btn img {
  width: 20px;
  height: 20px;
}

/* Mobile responsive - Card view */
@media screen and (max-width: 768px) {
  .modern-table thead {
    display: none;
  }

  .modern-table tbody tr {
    display: block;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-gray);
    background: var(--bg-white);
  }

  .modern-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--bg-gray);
    text-align: right;
  }

  .modern-table td:last-child {
    border-bottom: none;
  }

  .modern-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    letter-spacing: 0.03em;
    text-align: left;
    flex-shrink: 0;
    margin-right: var(--space-md);
  }

  .modern-table td.mobile-hide {
    display: none;
  }
}

/* Animation Utilities */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.5s ease-out;
}
