/* Explain: App-specific component classes for tech-themed elements. */
.tech-glow {
    box-shadow: var(--neon-glow);
    transition: all 0.3s ease;
}

.tech-glow:hover {
    box-shadow: 0 6px 20px rgba(15, 40, 98, 0.15);
    border-color: var(--primary-color);
}

.tech-text-glow {
    text-shadow: none; /* إزالة التوهج في النسخة الفاتحة */
}

.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    right: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

@media print {
    body * {
        visibility: hidden;
    }
    dialog[open], dialog[open] * {
        visibility: visible;
    }
    dialog[open] {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        background: transparent;
    }
    dialog[open] .modal-box {
        position: relative;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }
    dialog[open] .modal-backdrop {
        display: none !important;
    }
    .no-print, .no-print * {
        display: none !important;
        visibility: hidden !important;
    }
}