.user-checkin-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.home-checkin {
    width: 100%;
    border-radius: 10px;
    align-items: center;
    text-align: center;
    max-width: 600px;
}
.header-checkin {
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.content-checkin {
    border-radius: 10px;
    padding: 10px;
    background: linear-gradient(to right, #5105A3, #3D0251);
}
.content-title-checkin {
    font-size: 11px;
    text-align: left;
    text-transform: none;
}
.checkin-days {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
    width: 100%;
    align-items: center;
    gap: 5px;
}
.checkin-box {
    background: linear-gradient(to bottom, #ffd700, #ffa500);
    border-radius: 5px;
    padding: 5px;
    width: 10vw;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 60px;
}

.checkin-box.unchecked {
    background: linear-gradient(to bottom, #e0e0e0, #bdbdbd);
}
.checkin-box.unchecked .checkin-circle {
    color: #ccc;
    border: 2px solid #ccc;
}
.checkin-box .checkin-circle {
    width: 6vw;
    height: 6vw;
    max-width: 30px;
    max-height: 30px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #28a745;
    border: 2px solid #ffa500;
    position: absolute;
    top: -10px;
}
.checkin-box.unchecked .checkin-day-text {
    color: #666;
}
.checkin-box .checkin-day-text {
    font-size: 0.6rem;
    font-weight: bold;
    color: #fff;
}
.checkin-progress-bar-container {
    margin-top: 20px;
    position: relative;
}
.checkin-progress-bar {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #ccc;
    z-index: 1;
    top: -10px;
}
.footer-checkin {
    padding-top: 10px;
}
.check-in-btn:disabled {
    background: #BDBDBD;
    color: #757575;
    cursor: not-allowed;
    opacity: 0.7;
}
.check-in-btn {
    padding: 10px 10px;
    font-size: 12px;
    font-weight: bold;
    color: black;
    background: linear-gradient(45deg, #FFEB3B, #FF9800);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.checkin-info-icon {
    cursor: pointer;
    color: #959292;
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 2px solid #959292;
    border-radius: 50%;
    flex-shrink: 0;
    text-transform: lowercase;
    font-weight: bold;
}
.checkin-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.checkin-popup-content {
    background-color: #262626;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    text-align: center;
    position: relative;
    margin: 40px;
    margin-bottom: 100px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.checkin-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
}
.checkin-info-title {
    border-bottom: 1px solid white;
    padding-bottom: 10px;
}
.checkin-info-content {
    overflow-y: auto;
    flex: 1;
    padding: 10px 0;
    max-height: 50vh;
}
.bonus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 20px;
    font-size: 12px;
}
.bonus-grid > div:nth-child(odd) {
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.bonus-grid > div {
    padding: 5px;
    text-align: center;
}
.range0 {
    color: white;
    background: linear-gradient(to right, #8fce00, #38761d);
}
.range1 {
    color: white;
    background: linear-gradient(to right, #CD7F32, #8B4513);
}
.range2 {
    color: white;
    background: linear-gradient(to right, #C0C0C0, #A9A9A9);
}
.range3 {
    color: white;
    background: linear-gradient(to right, #FFD700, #FFA500);
}
.range4 {
    color: #525252;
    background: linear-gradient(to right, #E5E4E2, #D3D3D3);
}
.range5 {
    color: #525252;
    background: linear-gradient(to right, #B9F2FF, #87CEEB);
}
.range6 {
    color: white;
    background: linear-gradient(to right, #8B0000, #800000);
}
.range7 {
    color: white;
    background: linear-gradient(to right, #0066CC, #4682B4);
}
.range8 {
    color: white;
    background: linear-gradient(to right, #4B0082, #6A5ACD);
}
.range9 {
    color: white;
    background: linear-gradient(to right, #FF4500, #FF6347);
}
.checkin-info {
    margin-top: 20px;
    font-size: 12px;
    text-transform: none;
}
.checkin-group {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.check-in-btn:hover {
    background: linear-gradient(45deg, #FFD54F, #FB8C00);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.custom-alert-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.custom-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.custom-alert-box button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.custom-alert-box-msg {
    color: black;
    margin: 10px;
}
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}
.checkin-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.checkin-popup.open {
  display: flex;
}