.daily-checkin-wrapper {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
  
}

.checkin-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
}

.current-date {
    text-align: left;
    margin: 20px 0;
    color: #666;
}

.calendar-container {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    width: 70%;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.calendar-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
}
.daily-check {
    background-color: #5f98ff;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 10px;
    margin-bottom: 20px;
}
.checkin-section {
    display: flex;
    flex-direction: column;
    align-items: center;
   
    background: #fff;
    border-radius: 8px;
    margin-left: 10px;
}

.checkin-button {
    padding: 12px 40px !important;
    font-size: 18px !important;
    color: #fff !important;
    background: #4e73df !important;
    border: none !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
}


.checkin-button:hover {
    background: #375abd;
}

.checkin-button.checked {
    background: #5f98ff;
    cursor: not-allowed;
}

.checkin-rules {
    margin-top: 20px;
    text-align: center;
    color: #666;
    padding: 10px;
}

.checkin-rules h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 20px !important;
}

.calendar-table td.checked-date {
    position: relative;
    color: #4e73df;
}

.calendar-table td.checked-date::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 32px;
    border: 2px solid #4e73df;
    border-radius: 50%;
    pointer-events: none;
}

.calendar-table td {
    position: relative;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #eee;
    font-size: 14px;
}

.calendar-table th {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #666;
}

/* Thêm hover effect cho ngày */
.calendar-table td:not(:empty):hover {
    background-color: #f8f9fa;
    cursor: default;
}

/* Style cho ngày hiện tại */
.calendar-table td.today:not(.checked-date) {
    background-color: #f0f4ff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .daily-checkin-wrapper{
        display: block;
    }
    .calendar-container{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .calendar-table td.checked-date::after {
        width: 28px;
        height: 28px;
    }

    .calendar-table td {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    .checkin-section{
        margin-left: 0;
        margin-top: 20px;
    }
} 
