* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: var(--background-color);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

/*Top Styling*/

.top {
    background-color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid gray;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 400px;
    transform: translate(-50%);
}

.top img {
    height: 30px;
}

.top-right .notification-click {
    color: white;
}

.top-right span {
    display: inline-block;
    position: relative;
    bottom: 15px;
    left: 15px;
    background-color: red;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    font-size: 0.6rem;
    text-align: center;
    padding: 1px;
}

.notifications {
    position: fixed;
    background-color: white;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 340px;
    height: 200px;
    border-radius: 5px;
    overflow: scroll;
    padding: 5px;
    z-index: 3;
    scrollbar-width: none;
}

.notifications::-webkit-scrollbar {
    display: none;
}

.notification {
    border: 1px solid var(--primary-color);
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
}

p.all-notifications {
    color: var(--background-color);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.notification-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-top .red {
    background-color: rgb(255, 78, 78);
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

p.notification-text {
    font-size: 0.7rem;
    color: rgb(96, 96, 96);
}

.all-notifications-head-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.all-notifications-head-container a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.content {
    font-size: 0.7rem;
}

a.read-more {
    font-size: 0.7rem;
    text-decoration: none;
    color: var(--primary-color);
}

.bottom-menu {
    background-color: var(--background-color);
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 5px 0;
    border-top: 1px solid gray;
    max-width: 400px;
}

.menu-item {
    text-align: center;
}

a.menu-item {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.7rem;
}

.menu-item span {
    display: block;
}

p {
    color: var(--primary-color);
}

svg {
    fill: var(--primary-color);
}

svg:hover {
    fill: white;
}

.level {
    display: flex;
    align-items: center;
    border: 1px solid white;
    padding: 2px;
    border-radius: 10px;
    font-size: 0.8rem;
    width: fit-content;
    margin: 2px;
    margin-top: 60px;
    padding-right: 5px;
}

.banner-container {
    max-width: 100%;
    margin: 2px;
}

.banner-container img {
    width: 100%;
    height: 150px;
    border: 1px solid gray;
    border-radius: 10px;
}

.balances {
    margin: 2px;
}

.balances-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.balances-bottom {
    background-color: white;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

.balances-top-left {
    padding: 20px 10px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.balances-top-right {
    padding: 20px 10px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.balances-top-right p, .balances-top-left p {
    color: white;
}

p.balance-description {
    font-size: 0.8rem;
    margin-bottom: 7px;
}

p.balance-info {
    font-size: 0.6rem;
}

.balances-bottom-right svg {
    fill: var(--background-color);
}

.balances-bottom-left p {
    color: var(--background-color);
}

p.main-balance {
    font-weight: bold;
}

p.balances-balance {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.products {
    margin: 5px;
}

.product {
    display: grid;
    grid-template-columns: 1fr 4fr;
    border-bottom: 2px solid var(--primary-color);
    border-top: 2px solid var(--primary-color);
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-image: linear-gradient(var(--background-color), var(--primary-color));
}

.product-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-left .product-title {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
}

.product-left img {
    height: 50px;
    width: 50px;
    border-radius: 10px;
}

.product-right-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-right-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.product-right-middle p {
    color: rgb(254, 255, 182);
}

.product-middle-right {
    text-align: end;
}

.product-right-down {
    display: flex;
    justify-content: end;
}

.product-right-down button.active {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    background-color: black;
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
}

.product-right-down button:disabled {
    color: black;
    padding: 0 5px;
}

p.title {
    color: white;
}

.svg {
    fill: white;
}

.extra {
    height: 50px;
}

/*Profile Page Styling*/

.profile-card {
    height: 150px;
    background-image: url('../assets/profile.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 10px;
    margin: 0 5px;
}

.profile-card-top {
    display: flex;
    align-items: center;
}

.profile-card-top img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.card-right {
    font-size: 0.7rem;
    line-height: 1.5rem;
}

.card-right p {
    color: rgb(254, 255, 182);
}

.profile-card-bottom {
    display: flex;
    justify-content: space-between;
}

.card-bottom-right {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.card-bottom-right a {
    background-color: var(--primary-color);
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 5px;
}

p.profile-balance {
    font-size: 1.3rem;
    color: white;
    margin: 5px 0;
    font-weight: bold;
}

.card-bottom-left span {
    color: rgb(254, 255, 182);
    font-size: 0.7rem;
}

.profile-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin: 5px 0;
    margin: 5px;
}

.profile-menu a {
    /*background-color: rgb(100, 100, 100);*/
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 0.7rem;
    border: 1px solid var(--primary-color);
}

.profile-banners {
    display: flex;
    overflow: scroll;
    margin: 0 5px;
    scrollbar-width: none;
}

.profile-banners::-webkit-scrollbar {
    display: none;
}

.profile-banners a {
    width: 100vw;
    margin: 0 5px;
}

.profile-banners a img {
    width: 100dw;
    height: 200px;
    border-radius: 10px;
}


.logout a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 96, 96);
    color: white;
    text-decoration: none;
    text-align: center;
    margin: 10px 5px;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.logout svg {
    fill: white;
}

/*Record Page Styling*/

.record-top {
    background-color: rgb(255, 248, 194);
    padding: 10px;
    margin: 5px;
    margin-top: 60px;
}

.record-top2 {
    background-color: rgb(255, 248, 194);
    padding: 10px;
    margin: 5px;
}

.record-top-bottom span {
    font-size: 0.6rem;
}

span.money-out {
    margin-right: 10px;
}

.transaction {
    display: grid;
    grid-template-columns: 1fr 6fr 3fr;
    padding: 5px 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.transaction img {
    height: 20px;
    border-radius: 50%;
}

.transaction-left {
    display: flex;
    justify-content: start;
    align-items: center;
}

.transaction-right {
    text-align: end;
    line-height: 1.3em;
}

.transaction-middle {
    line-height: 1.3em;
}

p.date {
    font-size: 0.6rem;
    color: white;
}

.status {
    width: 70px;
    position: relative;
    left: 35px;
    text-align: center;
}

.status p {
    color: black;
}

.status.pending {
    background-color: #ffc107;
    color: #000;
    color: white;
    border-radius: 5px;
}
.status.successful {
    background-color: #28a745;
    color: white;
    border-radius: 5px;
}
.status.rejected {
    background-color: #dc3545;
    color: white;
    border-radius: 5px;
}

/*Earn Page Styling*/

.video {
    display: flex;
    align-items: center;
    border: 1px solid rgb(255, 237, 180);
    margin: 5px;
    border-radius: 10px;
    padding: 0 5px;
}

.video img {
    height: 100px;
    border-radius: 10px;
}

p.video-title {
    font-size: 0.8rem;
}

.video-elements {
    display: flex;
    align-items: center;
}

.element {
    display: flex;
    align-items: center;
}

.element svg {
    fill: green;
}

.video-elements span {
    color: white;
    font-size: 0.6rem;
}

.video-right-bottom {
    display: flex;
    justify-content: end;
    align-items: baseline;
}

.video-right-bottom a {
    text-decoration: none;
    color: var(--background-color);
    font-size: 0.7rem;
    background-color: var(--primary-color);
    padding: 2px 5px;
    border-radius: 5px;
}

.video-right {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 80px;
}

.video-right-top {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 60px;
}

span.shift {
    margin-right: 5px;
}

.empty {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 40px;
}

.empty a {
    color: white;
    text-decoration: none;
}

/*Referral Page Styling*/

.referral-top {
    border: 1px solid var(--primary-color);
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
}

.referral-top span {
    color: white;
    font-size: 0.7rem;
}

.referral-top p {
    font-size: 0.9rem;
}

.referral-top-right {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.copy {
    color: white;
    font-size: 0.8rem;
    border: .5px solid rgba(255, 255, 255, 0.314);
    padding: 3px 5px;
    border-radius: 5px;
}

.referral-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    margin: 5px;
    margin-bottom: 10px;
    background-color: rgba(255, 48, 48, 0.204);
    padding: 5px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.337);
}

.referral-level span {
    color: white;
    font-size: 0.6rem;
}

.referral-level a {
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 5px;
}

.referral-level img {
    height: 30px;
}

/*Register Page Styling*/

.register-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-form {
    background-color: rgb(255, 255, 255);
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    margin: 5px;
}

.register-form-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.register-form-top p {
    color: var(--background-color);
}

.register-form-top p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.register-form-top img {
    height: 70px;
    border-radius: 50%;
    width: 70px;
}

.input-container {
    margin: 20px 0;
    border: 1px solid var(--background-color);
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.input-container img {
    height: 20px;
    margin-right: 5px;
    cursor: pointer;
}

.input-container svg {
    flex-shrink: 0;
    fill: var(--background-color);
}

.input-container input {
    height: 40px;
    position: relative;
    flex: 1;
    padding: 0 10px;
    font-size: 0.9rem;
    background: transparent;
    border-radius: 0 5px 5px 0;
    border: none;
    outline: none;
    color: var(--background-color);
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button button {
    width: 100%;
    height: 40px;
    font-size: 0.9rem;
    background-color: var(--background-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
}

input:focus {
    border: none;
    outline: none;
}

.switch {
    text-align: center;
    font-size: 0.8rem;
    margin: 10px 0;
}

.switch p {
    color: var(--background-color);
}

.switch a {
    text-decoration: none;
    color: var(--primary-color);
}

/*Password Page Styling*/

.inner-form {
    background-color: white;
    margin: 5px;
    padding: 5px;
}

.inner-form input {
    width: 100%;
    height: 35px;
    outline: 1px solid var(--background-color);
    padding: 0 10px;
}

.inner-form label {
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 5px;
}

.inner-form button {
    width: 100%;
    height: 35px;
    background-color: var(--background-color);
    color: var(--primary-color);
    border: none;
    margin: 10px 0;
}

/*BEP Withdraw Page Styling*/

.inner-wallet {
    background-color: rgba(255, 48, 48, 0.204);
    margin: 5px;
    display: flex;
    justify-content: start;
    align-items: center;
    border: 1px solid rgb(176, 176, 176);
}

.inner-wallet p {
    color: white;
    font-size: 0.9rem;
}

.inner-wallet span {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.inner-wallet svg {
    fill: white;
}

.inner-wallet-right {
    position: relative;
    bottom: 3px;
    left: 5px;
}

.amount {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin: 10px 0;
}

.amount p {
    border: 1px solid var(--background-color);
    padding: 5px;
    text-align: center;
    font-size: 0.75rem;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: black;
    font-weight: bold;
}

/*Transfer Page Styling*/

.transfer-balances {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px;
    background-color: rgba(255, 48, 48, 0.204);
    border: 1px solid rgb(176, 176, 176);
    padding: 5px;
}

.transfer-balances span {
    color: white;
    font-size: 0.7rem;
    margin-bottom: 5px;
    display: inline-block;
}

.transfer-right {
    text-align: end;
}

/*Purchase Page Styling*/

.purchase {
    background-color: var(--background-color);
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid white;
}

.purchase-top img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.purchase-top p {
    color: var(--background-color);
}

.purchase-bottom {
    margin-top: 15px;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    padding: 5px 0;
}

.purchase-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    line-height: 1.1rem;
}

p.purchase-title {
    color: white;
    margin-top: 5px;
    font-size: 1.1rem;
}

.purchase-button button {
    display: block;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 5px 0;
    width: 100%;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
}

/*Message Div Styling*/

.message {
  background-color: rgba(0, 0, 0, 0.886);
  padding: 15px 20px;
  border-radius: 8px;
  position: fixed;          /* Stay fixed in viewport */
  top: 50%;                 /* Center vertically */
  left: 50%;                /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust position perfectly */
  opacity: 0;
  animation: fadeInOut 3s ease-in-out forwards;
  width: 80%;
  font-size: 0.7rem;
  text-align: center;
}

.message p {
    color: white;
}

p.message {
    color: white;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}

/*Watch Page Styling*/

.watch iframe {
    width: 100%;
}

.watch-buttons button {
    width: 150px;
    margin: 10px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    height: 30px;
    border-radius: 10px;
}

/*Deposit Page Styling*/

.deposit {
    background-color: white;
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
}

.network {
    display: flex;
    justify-content: center;
    align-items: center;
}

.network img {
    height: 25px;
}

.wallet-copy {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
}

.copy-wallet {
    width: 20px;
}

.wallet {
    font-size: 0.8rem;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    border-radius: 5px;
    padding: 0 5px;
    border: 1px solid var(--background-color);
}

p.wallet {
    border: none;
}

.wallet::-webkit-scrollbar {
    display: none;
}

.copy-wallet img {
    height: 15px;
    margin-left: 5px;
    cursor: pointer;
}

.deposit-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.deposit-button button {
    background-color: var(--background-color);
    color: var(--primary-color);
    border: none;
    height: 30px;
    padding: 0 10px;
    border-radius: 5px;
}

.qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.qrcode img {
    height: 100px;
}

.deposit-instructions img {
    height: 15px;
    margin-right: 5px;
}

.instruct {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

p.steps {
    color: var(--background-color);
    font-size: 0.8rem;
    line-height: 1.2rem;
}

/*Recharge Page Styling*/

.recharge {
    margin: 5px;
}

.recharge a {
    display: flex;
    align-items: center;
    background-color: white;
    text-decoration: none;
    font-size: 0.7rem;
    border-bottom: 1px solid black;
}

.option-left img {
    height: 50px;
}

p.option-title {
    font-size: 0.9rem;
    color: var(--background-color);
}

/*Maintenance Page Styling*/

.maintenance {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    border: 1px solid black;
}

.maintenance img {
    height: 70px;
    margin-top: 15px;
}

p.maintenance-text {
    color: white;
    font-size: 0.7rem;
    width: 200px;
    text-align: center;
    margin-top: 10px;
}

/*Manual Deposit Page Styling*/

.manual-network {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    font-size: 0.9rem;
}

.manual-network img {
    height: 25px;
}

.manual-network p {
    color: var(--background-color);
}

.manual-deposit-container {
    padding: 5px;
    background-color: white;
    margin: 5px;
}

.manual-wallet {
    border: 1px solid var(--background-color);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 5px 2px;
    border-radius: 5px;
}

.manual-wallet p {
    overflow: auto;
}

.manual-wallet img {
    height: 15px;
}

.manual-deposit-instructions {
    margin: 0 10px;
}

.manual-deposit-instructions p {
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: var(--background-color);
}

label.manual-label {
    margin: 10px 0;
}

input.photo {
    padding: 5px 0;
    padding-left: 5px;
}


input[type="file"] {
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--primary-color);
}

input[type="file"]::file-selector-button {
  background-color: var(--background-color);
  color: var(--primary-color);
  border: none;
  padding: 5px 5px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
  background-color: black;
}
