/* Professional Certification Seal Styles */

/* Large Seal for Overview Cards */
.certification-seal {
    position: absolute;
    top: -10px;
    right: 10px;
    width: 70px;
    height: 70px;
    z-index: 20;
}

.certification-seal::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #10B981 0%, #047857 100%);
    border-radius: 50%;
    box-shadow: 
        0 4px 15px rgba(16, 185, 129, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.certification-seal::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            transparent 10deg,
            rgba(255, 255, 255, 0.1) 10deg,
            rgba(255, 255, 255, 0.1) 20deg
        );
}

.certification-seal-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.certification-seal-text .seal-main {
    font-weight: 900;
    font-size: 11px;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 2px;
}

.certification-seal-text .seal-sub {
    font-weight: 600;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.certification-seal-text .seal-icon {
    font-size: 16px;
    margin-top: 2px;
    color: white;
}

/* Smaller Seal for Analytics Cards */
.certification-seal-small {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 36px;
    height: 36px;
    z-index: 15;
}

.certification-seal-small::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #10B981 0%, #047857 100%);
    border-radius: 50%;
    box-shadow: 
        0 2px 8px rgba(16, 185, 129, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}

.certification-seal-small::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.certification-seal-small .seal-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 800;
    font-size: 8px;
    color: white;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Ribbon Style Alternative */
.certification-ribbon {
    position: absolute;
    top: 10px;
    right: -30px;
    width: 100px;
    padding: 8px 0;
    background: linear-gradient(135deg, #10B981 0%, #047857 100%);
    color: white;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Animated Shine Effect */
@keyframes certificationShine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.certification-seal:hover::before {
    background: 
        linear-gradient(145deg, #10B981 0%, #047857 100%),
        linear-gradient(
            90deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%
        );
    background-size: 100%, 200%;
    animation: certificationShine 2s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certification-seal {
        width: 50px;
        height: 50px;
    }
    
    .certification-seal-text .seal-main {
        font-size: 9px;
    }
    
    .certification-seal-text .seal-sub {
        font-size: 7px;
    }
}