 .certificate-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .certificate-header {
        background: linear-gradient(135deg, var(--primary-color) 0%, #1a2530 100%);
        border-radius: var(--border-radius);
        color: white;
        padding: 30px;
        margin-bottom: 30px;
        box-shadow: var(--box-shadow);
        position: relative;
        overflow: hidden;
    }

    .certificate-header::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        transform: translate(30%, -30%);
    }

    .certificate-header::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        transform: translate(-30%, 30%);
    }

    .status-badge {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .status-active {
        background-color: rgba(39, 174, 96, 0.15);
        color: var(--success-color);
        border: 1px solid rgba(39, 174, 96, 0.3);
    }

    .status-revoked {
        background-color: rgba(231, 76, 60, 0.15);
        color: var(--danger-color);
        border: 1px solid rgba(231, 76, 60, 0.3);
    }

    .certificate-code {
        background: rgba(255, 255, 255, 0.1);
        padding: 12px 20px;
        border-radius: var(--border-radius);
        font-family: monospace;
        font-size: 1.2rem;
        letter-spacing: 1px;
        border: 1px dashed rgba(255, 255, 255, 0.3);
    }

    .info-card {
        background-color: white;
        border-radius: var(--border-radius);
        padding: 25px;
        margin-bottom: 25px;
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        border: 1px solid rgba(0, 0, 0, 0.05);
        height: 100%;
    }

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .card-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 12px;
        margin-bottom: 20px;
        font-size: 24px;
    }

    .icon-certificate {
        background-color: rgba(52, 152, 219, 0.1);
        color: var(--secondary-color);
    }

    .icon-user {
        background-color: rgba(39, 174, 96, 0.1);
        color: var(--success-color);
    }

    .icon-course {
        background-color: rgba(243, 156, 18, 0.1);
        color: var(--warning-color);
    }

    .detail-item {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .detail-item:last-child {
        border-bottom: none;
    }

    .detail-label {
        color: #666;
        font-size: 14px;
        font-weight: 500;
    }

    .detail-value {
        color: #333;
        font-weight: 600;
        text-align: left;
        max-width: 60%;
    }

    .certificate-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .btn-certificate {
        padding: 12px 28px;
        border-radius: 50px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
        border: none;
    }

    .btn-print {
        background: linear-gradient(135deg, var(--primary-color) 0%, #1a2530 100%);
        color: white;
    }

    .btn-print:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
        color: white;
    }

    .btn-new {
        background-color: white;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

    .btn-new:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(44, 62, 80, 0.1);
    }

    .verification-stamp {
        position: absolute;
        top: 30px;
        left: 30px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .stamp-active {
        background: radial-gradient(circle, rgba(39, 174, 96, 0.9) 0%, rgba(39, 174, 96, 0.7) 100%);
        color: white;
        border: 4px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.3);
    }

    .stamp-revoked {
        background: radial-gradient(circle, rgba(231, 76, 60, 0.9) 0%, rgba(231, 76, 60, 0.7) 100%);
        color: white;
        border: 4px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.3);
    }

    .stamp-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .stamp-text {
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .course-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .course-description {
        color: #666;
        line-height: 1.6;
        font-size: 15px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .client-name-ar {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 5px;
    }

    .client-name-en {
        font-size: 1.2rem;
        color: #666;
        font-weight: 500;
        margin-bottom: 15px;
    }

    @media (max-width: 768px) {
        .certificate-header {
            padding: 20px;
        }

        .verification-stamp {
            position: relative;
            top: 0;
            left: 0;
            margin: 0 auto 20px;
        }

        .detail-item {
            flex-direction: column;
        }

        .detail-value {
            max-width: 100%;
            margin-top: 5px;
        }

        .certificate-actions {
            flex-direction: column;
        }

        .btn-certificate {
            justify-content: center;
            width: 100%;
        }
    }

    @media print {
        body {
            background: white !important;
        }

        .certificate-actions,
        .verification-stamp {
            display: none !important;
        }

        .info-card {
            box-shadow: none !important;
            border: 1px solid #ddd !important;
            page-break-inside: avoid;
        }

        .certificate-header {
            box-shadow: none !important;
            border: 2px solid var(--primary-color) !important;
            color: black !important;
            background: white !important;
        }

        .certificate-header::before,
        .certificate-header::after {
            display: none !important;
        }

        .certificate-code {
            background: white !important;
            color: black !important;
            border: 1px solid #333 !important;
        }
    }

    .fade-in {
        animation: fadeIn 0.8s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .pulse {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
        }
    }