.ld-attendance-buttons {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.ld-attendance-buttons h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.attendance-status p {
    margin: 5px 0;
    color: #666;
}

.attendance-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 3px;
}

.attendance-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.attendance-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.ld-checkin-btn,
.ld-checkout-btn {
    background: #007cba;
    border: 1px solid #007cba;
    color: #fff;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.ld-checkin-btn:hover,
.ld-checkout-btn:hover {
    background: #005a87;
    border-color: #005a87;
}

.ld-checkin-btn:disabled,
.ld-checkout-btn:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

/* LearnDash-style tooltip for disabled Mark Complete buttons */
.ld-tooltip__text {
    display: none;
    position: absolute;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

button:hover .ld-tooltip__text {
    display: block;
}
