/**
 * Daily Check-in Styles
 */

/* Floating button */
.sse-checkin-wrapper {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: sse-bounce 2s infinite;
}

@keyframes sse-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.sse-checkin-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.sse-checkin-wrapper.sse-checked {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4);
    animation: none;
}

.sse-checkin-icon {
    font-size: 24px;
}

.sse-checkin-text {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

/* Modal */
.sse-checkin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.sse-checkin-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sse-checkin-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.sse-checkin-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    max-width: 350px;
    width: 90%;
    text-align: center;
    animation: sse-modal-in 0.3s ease;
}

@keyframes sse-modal-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sse-checkin-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

/* Success state */
.sse-checkin-success-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.sse-checkin-streak {
    font-size: 14px;
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 10px;
}

.sse-checkin-reward {
    font-size: 32px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 5px;
}

.sse-checkin-code {
    display: inline-block;
    padding: 10px 20px;
    background: #f0fdf4;
    border: 2px dashed #22c55e;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    font-family: monospace;
    color: #16a34a;
    margin: 15px 0;
}

.sse-checkin-hint {
    font-size: 13px;
    color: #888;
}

/* Already checked */
.sse-already-checked {
    color: #666;
}

.sse-already-checked .sse-checkin-success-icon {
    opacity: 0.5;
}