:root {
  --primary-color: #000;
  --box-shadow-color: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.text-center {
  text-align: center;
}

body {
  /* font-family: Arial, sans-serif; */
  background: #fff;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 2px 5px var(--box-shadow-color);
  min-height: 100vh;
  min-height: calc(100vh - 60px);
}

body,
.redrose {
  font-family: "Red Rose", serif;
  font-optical-sizing: auto;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 600px;
  z-index: 1000;
}

.header-menu-container {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  box-shadow: 0 2px 5px var(--box-shadow-color);
  height: 60px;
}

.header-menu-container .icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-menu-container .icons img {
  width: 28px;
}

.toggle-menu-container {
  position: relative;
}

.logo {
  height: 35px;
}

.icons {
  display: flex;
  align-items: center;
}

.icon {
  font-size: 20px;
  color: var(--primary-color);
  margin-left: 15px;
  cursor: pointer;
}

.errnotediv {
  color: red;
  font-size: 13px;
  text-align: left;
}

.menu-popover {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 15px;
  display: none;
  z-index: 999;
  min-width: 200px;
}

.menu-popover:before {
  content: "";
  position: absolute;
  top: -9px;
  left: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.menu-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--primary-color);
}

.menu-icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  font-size: 14px;
  color: #fff;
}

.nav-item-sep {
  display: none;
  width: 45px;
  border-bottom: 1px solid rgb(34 34 34 / 28%);
  margin: 4px auto;
}
.content {
  padding-top: 60px;
  padding-bottom: 70px;
}

/******* body ***********/

/* Bootstrap-like Alerts */
.alert, .err{
  display: block;
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 15px;
  font-family: "Red Rose", serif;
  position: relative;
  border: 1px solid transparent;
}

.alert-success, .err.success {
  background-color: #d4edda;
  color: #155724;
  border-color: #90dfa3;
}
.alert-success strong {
  color: #12411d;
}

.alert-danger, .err.danger {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #d6a7ac;
}
.alert-danger, .err.danger strong {
  color: #491217;
}

.alert-warning, .err.warning {
  background-color: #fff3cd;
  color: #856404;
  border-color: #d1c49f;
}
.alert-warning, .err.warning strong {
  color: #533f0e;
}

.alert-info, .err.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-color: #afd0d6;
}
.alert-info strong {
  color: #062c33;
}

.alert-dark {
  border-color: #999;
  background: #eee;
  color: #333;
}
.alert-dark strong {
  color: #000;
}

.list-section {
  background: #fff;
  margin: 20px;
}

.list-item {
  padding: 15px 20px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 8px;
  margin-top: 16px;
  transition: border 0.4s ease;
}

.list-item:hover {
  border: 1px solid var(--primary-color);
}

.list-item i {
  color: #ccc;
}

.logout {
  text-align: center;
  padding: 15px;
  background: #f9f9f9;
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-top: 20px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 600px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -2px 5px var(--box-shadow-color);
  z-index: 1000;
}

.nav-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
}

.nav-item img {
  width: 30px;
  margin-bottom: 2px;
}

.dummy-content {
  height: 800px;
  background: #f0f0f0;
  padding: 20px;
  font-size: 14px;
  color: #666;
}

/* reputation */
.reputation-icon {
  position: relative;
}

.reputation-icon span {
  position: absolute;
  top: 7px;
  left: 50%;
  color: #ffffffff;
  font-size: 9px;
  font-weight: 600;
  transform: translateX(-50%);
}

/* Modal Styles for Forms */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 10px 0 5px;
  font-weight: bold;
}

input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 10px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-light {
  padding: 10px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 5px;
  border: 1px solid #e4e4e4;
  cursor: pointer;
}

/* Table Styles */
.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

th {
  background: #f2f2f2;
}

/* Dashboard Styles */
.dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin: 20px 0;
}

.card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.chart-container {
  height: 200px;
}

/* Media Queries for Tablets */
@media (min-width: 500px) {
  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

  input,
  button {
    font-size: 16px;
  }
}

.heading {
  margin-top: 20px;
  margin-bottom: 16px;
}

.bg-with-content {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
  padding: 20px;
}

.bg-with-content .bg-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bg-with-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.bg-with-content .banner-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 3;
}

.bg-with-content .banner-content img {
  height: 80px;
}

.bg-with-content .banner-content .details {
  font-size: 20px;
}

.bg-with-content .banner-content .details .amount {
  font-weight: 600;
}

.amount-details {
  padding: 20px;
}

.amount-btn {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.amount-details .amount-btn button {
  background: #f0f0f0;
  color: #000;
  border-radius: 50px;
  width: 100px;
}

.amount-input {
  display: flex;
  align-items: center;
  border: 1px solid #dfdfdfff;
  border-radius: 50px;
  margin: 20px 0;
  overflow: hidden;
  padding: 2px;
}

.amount-input span {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
}

.amount-input input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 20px;
}

.amount-details button {
  width: 100%;
  border-radius: 50px;
  padding: 14px;
}
.reputation-icon {
  position: relative;
}

.reputation-icon span {
  position: absolute;
  top: 7px;
  left: 50%;
  color: #ffffffff;
  font-size: 9px;
  font-weight: 600;
  transform: translateX(-50%);
}

/* profile badge */
.profile-hello-container {
  background-color: #000;
  padding: 20px 20px 0;
  text-align: center;
}

.profile-hello-container .badge {
  text-align: center;
  min-height: 90px;
}

.profile-hello-container .badge img {
  height: 90px;
  width: auto;
  margin: 0;
}

.profile-hello-container .hello-text {
  font-size: 24px;
  font-weight: 400;
  color: #ccc;
  margin-bottom: 10px;
}

.profile-hello-container .hello-text .username {
  font-weight: bold;
  color: #fff;
}

.profile-hello-container .details {
  display: flex;
  justify-content: center;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  max-width: 350px;
  margin: 0 auto;
}

.profile-hello-container .detail-item {
  font-size: 14px;
  color: #666;
  padding: 15px;
  text-align: center;
  border-right: 1px solid #ddd;
}

.profile-hello-container .detail-item:last-child {
  border-right: none;
}

.profile-hello-container .detail-title {
  font-weight: bold;
  margin-right: 5px;
}

.profile-hello-container .detail-value {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}
.profile-hello-container .level-value {
  font-weight: 900;
}

/* Statics Section */
.statics-container {
}

.statics-container .currentbalance {
  background-color: #000;
  padding: 15px;
  text-align: center;
}

.statics-container .balance-text {
  font-size: 18px;
  color: #eee;
}

.statics-container .balance-amount {
  font-weight: bold;
  font-size: 22px;
  color: #fff;
}

.statics-container .ststics-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid #ddd;
  overflow: hidden;
}

.statics-container .statics-item {
  background-color: #fff;
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.statics-container .statics-item:nth-child(2n) {
  border-right: none;
}

.statics-container .statics-item:last-child,
.statics-container .statics-item:nth-last-child(2) {
  border-bottom: none;
}

.statics-container .item-title {
  font-size: 16px;
  color: #999;
}

.statics-container .item-value {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

/* pagetitile */
.pagetitle-container {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #000;
  margin-bottom: 10px;
  color: #fff;
}
.pagetitle-container .back-button {
  cursor: pointer;
  margin-right: 10px;
  font-size: 16px;
  width: 30px;
}
.pagetitle-container .page-title {
  margin: 0 auto;
}
.pagetitle-container .extra {
  width: 30px;
}

/* form */

.form-container {
  color: #000000;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
}

.formbutton,
.btn-primary {
  background-color: #000000;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
  border-radius: 4px;
  width: 100%;
  font-family: "Red Rose", serif;
}
.btn-primary,
.btn-secondary {
  display: block;
  padding: 10px 15px;
}

.formbutton:hover {
  background-color: #333333;
}

.forminput {
  border: none;
  border-bottom: 1px solid rgba(165, 165, 165, 1);
  padding: 0;
  font-size: 17px;
  margin-bottom: 15px;
  width: 100%;
  font-weight: 500;
  border-radius: 0px;
  font-family: "Red Rose", serif;
  background: transparent;
}

.forminput:focus {
  outline: none;
  border-bottom: 2px solid #000;
}

label {
  color: #000;
  font-size: 14px;
  display: block;
  font-family: "Red Rose", serif;
  font-weight: 400;
  width: 100%;
  text-align: left;
  margin: 0 0 5px;
}

.formtoggle,
.btn-secondary {
  color: #000;
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
  font-family: "Red Rose", serif;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 10px 15px;
  font-weight: 600;
  text-decoration: none;
}

/* withdraw deposit */

.balance {
  margin-right: auto;
}

.balance-text span {
  display: block;
  font-size: 16px;
  color: #aaa;
}
.currentbalance .balance-text span {
  display: inline-block;
  font-size: 22px;
}

.balance-text span.balance-amount {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.balance-amount {
  color: #4caf50;
}

.balance-image img {
  width: auto;
  height: 80px;
}

.account-radio {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid #999;
  padding: 10px 20px;
  border-radius: 8px;
  background: #eee;
  cursor: pointer;
}

.account-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.bankaccdetails {
  display: flex;
  align-items: center;
  font-size: 20px;
}

.bankaccdetails img {
  margin-right: 10px;
  width: 40px;
  height: auto;
}

.account-number {
  color: #666;
  font-size: 14px;
}

.quick-amount-container {
  margin: 0 0 30px;
}
.quick-amount-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.quick-amount-buttons > div {
  flex: 1 1 calc(33.333% - 10px);
}
.quick-amount-button {
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 15px;
  user-select: none;
  transition: background-color 0.3s;
  text-align: center;
}
.quick-amount-button:hover {
  background-color: #555;
}
@media (max-width: 600px) {
  .quick-amount-button {
    flex: 1 1 100%;
  }
}

/* levels page */
.level-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
}
.level-container .level-item {
  display: flex;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  padding: 15px 30px;
  color: #fff;
}
.level-container .level-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.level-container .level-badge img {
  height: 90px;
  width: auto;
}
.level-container .level-data {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.level-container .level-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.level-container .level-description {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}
.level-container .active-level {
  color: green;
  font-weight: bold;
}
.level-container .upgrade-level {
  color: rgba(44, 44, 228, 1);
  font-weight: bold;
}
.level-container .locked-level {
  color: #b92a2adc;
  font-weight: bold;
}

@media screen and (max-width: 350px) {
  .level-container .level-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .level-container .level-data {
    padding: 10px 0 0 0;
  }
}
