* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Inter", sans-serif;
}

body {
  background: linear-gradient(135deg, #101b14, #1b2b22, #0f1a13);
  color: #e3f3e7;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}

.cashora-container {
  width: 420px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(102, 187, 106, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 255, 128, 0.12);
  animation: fadeIn 0.8s ease;
}

.cashora-logo img {
  width: 150px;
  display: block;
  border-radius: 20px 0px 20px 0px;
  margin: 0 auto 20px;
  transition: 0.3s ease;
}
.cashora-logo img:hover {
  transform: scale(1.05);
}

h2 {
  color: #9be7a8;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(102, 187, 106, 0.25);
}

p {
  color: #efe9d3;
  font-size: 14px;
  margin-bottom: 14px;
}

button {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #43a047, #66bb6a);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25);
}

input[type="text"],
input[type="password"] {
  width: 80%;
  padding: 10px;
  margin: 12px auto;
  border-radius: 6px;
  border: 1px solid rgba(102, 187, 106, 0.4);
  background-color: rgba(255, 255, 255, 0.07);
  color: #e3f3e7;
  font-size: 16px;
  text-align: center;
  display: block;
}
input:focus {
  border-color: #66bb6a;
  box-shadow: 0 0 6px rgba(102, 187, 106, 0.3);
  outline: none;
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  justify-items: center;
  margin: 20px auto;
  width: 80%;
  max-width: 340px;
}
.numpad button {
  width: 90%;
  max-width: 90px;
  height: 65px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(102, 187, 106, 0.3);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #c8e6c9;
  transition: all 0.2s ease;
}
.numpad button:hover {
  background: rgba(102, 187, 106, 0.25);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(102, 187, 106, 0.3);
}
.numpad button:nth-last-child(2) {
  grid-column: 2;
}

.main-content > div {
  display: none;
  text-align: center;
  animation: fadeSlide 0.6s ease;
}
#welcomeScreen {
  display: block;
}

.transaction-screen p,
.slip-screen p,
.account-info-screen p {
  text-align: left;
  margin: 4px 0;
  font-size: 14px;
  color: #cfe9d3;
}
.slip-screen,
.account-info-screen,
.transaction-screen {
  background: #ffffff0d;
  border: 1px solid rgba(102, 187, 106, 0.25);
  border-radius: 12px;
  padding: 15px;
  box-shadow: inset 0 0 10px rgba(102, 187, 106, 0.1);
}
.slip-screen h2,
.account-info-screen h2 {
  color: #81c784;
}
.slip-screen p span,
.account-info-screen p span {
  color: #a5d6a7;
  font-family: monospace;
}

.cash-ready-screen img {
  width: 85%;
  border-radius: 12px;
  margin: 20px auto;
  display: block;
  animation: floatCash 3s ease-in-out infinite;
}

.error {
  color: #ff8a80;
  font-weight: bold;
  margin-bottom: 10px;
}

.brand {
  color: #81c784;
  font-weight: 700;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatCash {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 480px) {
  body {
    padding: 0 10px;
  }

  .cashora {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .cashora-container {
    width: 95%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 16px;
  }

  .cashora-logo img {
    width: 110px;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  input[type="text"],
  input[type="password"] {
    width: 90%;
    padding: 8px;
    font-size: 14px;
  }

  button {
    width: 100%;
    padding: 10px 0;
    margin-top: 6px;
  }

  
  .main-content > div {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }


  .numpad {
    width: 100%;
    gap: 10px;
    justify-content: center;
  }

  .numpad button {
    height: 50px;
    font-size: 15px;
  }

  .option-screen {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .option-screen button {
    width: 85%;
    margin: 8px 0;
  }

  .thankyou-screen,
  .cash-ready-screen,
  .transaction-screen,
  .slip-screen,
  .account-info-screen {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}
