body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: "SF Pro Display", sans-serif;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 100px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

p {
  margin-bottom: 0;
}

a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}

.text-light1 {
  color: #6c6c6c;
}
.Fog {
  color: #9e9e9e;
}
.White {
  color: #f7f7f7;
}
.Charcoal {
  color: #141414;
}
.Coal {
  color: #0a0a0a;
}
.Ash {
  color: #6b6b6b;
}
.green {
  color: #12606A;
}
.green2 {
  color: #2AAC7E;
}
.Chalk {
  color: #e8e8e8;
}
.Slate {
  color: #2a2a2a;
}
.red {
  color: #ff6b6b;
}
.Text {
  color: #1c1c1c;
}
.GrayText {
  color: #5f6b66;
}
.bg-light1 {
  background-color: #f7f7f7;
}
.bg-light2 {
  background-color: #F8F8F8;
}
.bg-light3 {
  background-color: #F6F6F6;
}
.text-9 {
  font-size: 9px;
}
.text-10 {
  font-size: 10px;
}
.text-12 {
  font-size: 12px;
}
.text-14 {
  font-size: 14px;
}
.text-16 {
  font-size: 16px;
}
.text-18 {
  font-size: 18px;
}
.text-20 {
  font-size: 20px;
}
.text-22 {
  font-size: 22px;
}
.text-24 {
  font-size: 24px;
}
.text-26 {
  font-size: 26px;
}
.text-30 {
  font-size: 30px;
}
.text-32 {
  font-size: 32px;
}
.text-36 {
  font-size: 36px;
}
.text-40 {
  font-size: 40px;
}

.btn-light {
  box-shadow: 0px 1px 3px 1px #1212121a;
  height: 52px;
  padding: 16px;
  border-radius: 30px;
  color: #09090b;
  font-weight: 600;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.btn-light2 {
  background-color: #e8e8e8;
  border-radius: 46px;
  padding: 14px 18px;
  text-align: center;
  width: 100%;
  color: #5f6b66;
  font-size: 16px;
  border: 0;
}

.btn-light3 {
  color: #9aa5a0;
  font-size: 12px;
  background-color: #cecece33;
  padding: 4px 12px;
  border-radius: 50px;
  border: 0;
  display: inline-block;
  height: 24px;
}

.btn-light4 { 
  font-size: 12px;
  background-color: #63C0B8;
  color: #F7F7F7;
  padding:1.5px 8px;
  border-radius: 40px;
  border: 0;
  display: inline-block;
  height: 20px;
}

.btn-grey {
  background-color: #f1f1f1;
  height: 40px;
  padding: 8px 16px;
  border-radius: 40px;
  color: #000000;
  font-size: 14px;
  line-height: 24px;
}
.btn-primary {
  background-color: #1f6f43;
  border-radius: 40px;
  padding: 6px 12px;
  color: #fff;
  font-size: 9px;
}
.btn-sunting {
  background-color: #6b6b6b;
  padding: 4px 10px;
  border-radius: 50px;
  color: #f7f7f7;
  font-size: 12px;
  border: 0;
}

.profile {
  width: 44px;
  height: 44px;
  border-radius: 44px;
}

.btn-trans {
  border: 0;
  background-color: transparent;
}

.btn-search {
  border: solid 1px #e8e8e8;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background-color: transparent;
}

.btn-green {
  background-color: #12606A;
  padding: 15px 18px;
  border-radius: 40px;
  height: 47px;
  width: 100%;
  border: 0;
  color: #f7f7f7;
  font-size: 14px;
  font-weight: 500;
}

.btn-green2 {
  background-color: #12606A;
  padding: 8px 18px;
  border-radius: 40px;
  height: 38px;
  width: 100%;
  border: 0;
  color: #f7f7f7;
  font-size: 14px;
  font-weight: 500;
}

.btn-green3 {
  background: linear-gradient(180deg, #308759 0%, #53ba92 44.71%, #b9f593 100%);
  padding: 12px 25px;
  border-radius: 50px;
  border: 0;
  color: #f7f7f7;
  font-size: 14px;
}

.DailyRewards .btn-green2 {
  max-width: 118px;
}
.DailyRewards .btn-green2.disable {
  background-color: #e8e8e8;
  color: #9e9e9e;
}

.btn-black {
  background-image: url(../images/btn/black.png);
  height: 52px;
  width: 100%;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
}

.btn-outline-black {
  background: #f7f7f7;
  /* box-shadow: 0px 0px 0px 1px #121212; */
  border: 0.75px solid;
  width: 100%;
  border-radius: 30px;
  padding: 13px 16px;
}

.tabs-card {
  border-radius: 20px;
  background-position: top center;
  background-size: cover;
  padding: 16px;
}

.notification-modal .card .icon {
  width: 34px;
  height: 34px;
  line-height: 32px;
  border-radius: 40px;
  text-align: center;
}

.notification-modal .card .icon.arrow {
  background-color: #e7e1f8;
}
.notification-modal .card .icon.error {
  background-color: #e7e1f8;
}
.notification-modal .card .icon.error-red {
  background-color: #ffe6e6;
}

.max-180 {
  max-width: 180px;
}
.min-vh-100 {
  position: relative;
}
.bottom {
  position: fixed;
  bottom: 5px;
  left: 14px;
  right: 14px;
  top: auto;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  border: 1px solid #dbdbdb;
  background-color: #fff;
  box-shadow: 0px 4px 54px 0px #00000005;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 10px 20px 20px 20px;
  position: fixed;
  width: 100%;
  max-width: 400px;
  bottom: 0;
}

.time {
  box-shadow: 0px 4px 74px 0px #0000001c;
  border: solid 1px #ff8d28;
  border-radius: 40px;
  padding: 2px 10px;
}

footer a {
  display: flex;
  flex-direction: column;
  color: #9e9e9e;
  font-size: 12px;
  gap: 4px;
  align-items: center;
}

footer a.active {
  color: #0a0a0a;
}

footer a img {
  max-width: 28px;
}

footer a.active img {
  display: none;
}

footer a.active img.active {
  display: inline-block;
}

footer a img.active {
  display: none;
}

/* form legend css start */
.legend-box,
.legend-box2 {
  border: solid 1px #dbdbdb;
  border-radius: 16px;
  padding: 8px 8px 8px 16px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.legend-box label,
.legend-box2 label {
  position: absolute;
  top: -15px;
  background-color: #fff;
  padding: 2px;
  color: #5f6b66;
  font-size: 14px;
}
.rp-badge {
  background-color: #fff;
  border: solid 1px #dbdbdb;
  border-radius: 46px;
  padding: 6px 12px;
  color: #6c6c6c;
  font-size: 12px;
}

.legend-box2 p.fs-6.Coal.mb-1 {
  line-height: 12px;
  margin-top: 14px;
}
/* form legend css end */

.list-none {
  list-style: none;
}

.modal-dialog {
  max-width: 370px;
  margin-left: auto;
  margin-right: auto;
}

.modal-content {
  background-size: cover;
}

.task-card {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 4px;
}

.task-card .bg-light1 {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.deposit-balance .legend-box input,
.deposit-balance .legend-box input:focus,
.deposit-balance .legend-box input:focus-visible,
.deposit-balance .legend-box input {
  border: 0;
  background-color: transparent;
  width: 220px;
  outline: 0;
  box-shadow: none;
}

.deposit-balance
  .select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: transparent !important;
  color: inherit !important;
}

.deposit-balance .select2-container--open .select2-dropdown--below {
  width: 100% !important;
  min-width: 400px;
  left: -16px;
  margin-top: 5px;
}

.deposit-balance .select2-dropdown {
  border: 1px solid #e0e0e0;
  box-shadow: 2px 4px 8px #00000024;
}

.deposit-balance ul li .btn-trans {
  display: none;
}

.legend-box .bank-active{
  background-color: #9FFF8633;
  padding: 4px 8px;
  border-radius: 20px;
  color: #33BD74;
  font-size: 10px;
}

.legend-box .bank-active .dot {
  width: 6px;
  height: 6px;
  border-radius: 20px;
  background-color: #33BD74;
  display: inline-block;
}

.border-dottet { 
  border: dashed 1px #DBDBDB;
}

.notification-scrollable {
    max-height: 500px;
    overflow-y: auto;
}

/* Fix icon sizing */
.notification-scrollable .icon {
    width: 42px;
    height: 42px;
    min-width: 42px; /* Prevents shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.notification-scrollable .icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.notification-scrollable .icon.arrow {
    background-color: #e7e1f8;
}

.notification-scrollable .icon.error {
    background-color: #fee2e2;
}

/* Keep your existing text styles */
.notification-scrollable .max-180 {
    max-width: 180px;
}

/* Time styling */
.notification-time {
    font-size: 11px;
    color: #b0b0b0;
    white-space: nowrap;
}

.notification-item {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item .fw-bold {
    font-weight: 700 !important;
    color: #2d2d2d;
}

/* Notification button styling */
#notification {
    position: relative;
    background: transparent;
    border: none;
    padding: 8px;
    border-radius: 50% !important; /* 50% border radius for perfect circle */
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image inside button */
#notification img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 50%; /* Make image also circular if needed */
}

/* Button hover effect */
#notification:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Button active effect */
#notification:active {
    transform: scale(0.95);
}

/* Red dot styling */
.notification-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ff4444 0%, #ff0000 100%);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.3);
    animation: pulse 1.5s ease infinite;
}

/* Pulsing animation for red dot */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(255, 68, 68, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Optional: Add shadow to the button container */
#notification {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Optional: When button has unread notifications */
#notification.has-notification {
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
}