﻿/* ========== Social Icons ========== */
.challenges-social-icons {
    display: flex;
    justify-content: center;
    max-width: 34%;
    margin: 10px auto 0;
}

#ctl00_MainContent_socialShare {
    text-align: center;
    font-size: 18px;
}

.challenges-social-icons svg {
    vertical-align: middle;
    fill: var(--iconColor) !important;
}

.challenges-social-icons li {
    display: inline-block;
    margin: 10px;
    font-size: 1.5rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.challenges-social-media-wrap {
    margin-top: 40px;
}

/* ========== Token Info ========== */
.token-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.token-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
    color: var(--textColor);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: pulse 2s infinite;
}

.token-description {
    margin-bottom: 16px;
    color: var(--textColor);
    font-weight: 400;
    line-height: 1.6;
}

/* ========== Wallet Actions ========== */
.wallet-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .cta-button:hover::before {
        left: 100%;
    }

    .cta-button.primary {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        color: var(--textColor);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    }

        .cta-button.primary:hover {
            background: linear-gradient(135deg, #2563eb, #1e40af);
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(59, 130, 246, 0.6);
        }

    .cta-button.secondary {
        background: rgba(255, 255, 255, 0.05);
        color: #cbd5e1;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }

        .cta-button.secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--textColor);
            border-color: rgba(255, 255, 255, 0.4);
            transform: translateY(-2px);
        }

/* ========== Certificate Layout ========== */
.quiz-wrap,
.cert-right {
    flex: 1;
    min-width: 300px;
}

.quiz-wrap {
    margin-bottom: 10px;
}

.quiz-footer {
    border-top: 1px solid var(--bdrColor);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 14px 0;
    margin-left: 20px;
}

.cert-img-wrap {
    text-align: center;
    position: relative;
    margin-left: 20px;
}

    .cert-img-wrap img {
        width: 100%;
        object-fit: contain;
    }

.certificate-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 10px;
    margin: auto;
    overflow: hidden;
}

.cert-right {
    padding: 0 0 20px 20px;
    margin-top: 10px;
    font-size: var(--FontSize16);
    line-height: 1.6;
    border-radius: 8px;
}

.cert-popup-header {
    text-align: center;
    padding: 5px 10px;
    min-height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
}

.status,
.cert-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 10px;
}

.status {
    color: #28a745;
}

.status-label {
    font-weight: 600;
    color: var(--textColor);
}

.badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    line-height: 1;
}

    .badge.verify {
        background-color: #0078D4;
        border: 1px solid #0078D4;
        color: #FFF;
    }

    .badge.active {
        background-color: var(--mainGreen);
        color: var(--textColor);
    }

    .badge.inactive {
        background-color: #7E7E7E;
        border: 1px solid #7E7E7E;
        color: #FFF;
    }

.cert-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 0;
    line-height: 1.5;
}

    .cert-item:last-child {
        border-bottom: none;
    }

    .cert-item .label {
        font-weight: 500;
        color: var(--textColor);
    }

.cert-link {
    margin-bottom: 20px;
}

    .cert-link:hover {
        text-decoration: none;
    }

.certificate-header {
    margin-left: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bdrColor);
    color: var(--textColor);
}

.cert-meta {
    color: var(--textColor);
}

.big-heading {
    margin: 2px 0 !important;
}

.responsive-cert-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-left: 20px;
}

.certificates-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ========== Misc ========== */
.note {
    display: flex;
    justify-content: center;
}

#walletwrappharseId .card {
    border: none;
}

#popupContainer .popup-window {
    top: 140px;
    margin: inherit;
}

#linkBtn {
    display: none;
}

.user-imgs {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
}

.user-info {
    margin-top: 20px;
}

.user-name {
    margin-left: 10px;
}

.cert-pop-window .heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--textColor);
    margin-bottom: 0;
}

/* ========== Media Queries ========== */
@media (max-width: 1023px) {
    .cert-popup-body {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .responsive-cert-layout {
        flex-direction: column;
        align-items: center;
    }

    .quiz-wrap,
    .cert-right {
        width: 100%;
    }

    .cert-popup-body {
        min-height: auto;
    }

    .quiz-wrap {
        margin-bottom: -20px;
    }
}
