/* Challenge Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.challenge-container {
    width: 100%;
    max-width: 500px;
}

.challenge-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.challenge-icon {
    font-size: 64px;
    color: #678EB8;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f1f5f9;
}

.challenge-subtitle {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 32px;
}

.challenge-progress {
    margin: 32px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #334155;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #678EB8, #06b6d4);
    width: 0%;
    transition: width 0.3s ease;
    animation: progress-animation 3s ease-in-out infinite;
}

@keyframes progress-animation {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

.check-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: #94a3b8;
}

.check-status i {
    font-size: 16px;
}

.check-status .fa-check {
    color: #10b981;
}

.check-status .fa-times {
    color: #ef4444;
}

.challenge-note {
    font-size: 13px;
    color: #64748b;
    margin-top: 24px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}

.challenge-note i {
    margin-top: 2px;
    color: #678EB8;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .challenge-box {
        padding: 30px 20px;
    }

    h1 {
        font-size: 24px;
    }

    .challenge-icon {
        font-size: 48px;
    }
}
