﻿/* Styling for active links in solution cards */
.solution-card .active-link {
    display: inline-block;
    padding: 12px 20px;
    background: transparent;
    color: var(--pr-blue, #5b7cff);
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

    .solution-card .active-link:hover {
        background: rgba(91, 124, 255, 0.1);
        color: #fff;
    }

/* Under Construction Button */
.btn-under-construction {
    position: relative;
    width: 100%;
    padding: 12px 20px;
    background: #1a1a1a;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: not-allowed;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .btn-under-construction .btn-text {
        position: relative;
        z-index: 2;
        background: #1a1a1a;
        padding: 2px 10px;
        border-radius: 4px;
    }

    .btn-under-construction .stripes-bg {
        position: absolute;
        top: 0;
        left: -50px;
        right: -50px;
        bottom: 0;
        z-index: 1;
        background: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 10px, rgba(0, 0, 0, 0.2) 10px, rgba(0, 0, 0, 0.2) 20px );
        animation: moveStripes 2s linear infinite;
        opacity: 0.8;
    }

@keyframes moveStripes {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(28px); /* Должно совпадать с шириной паттерна (10+10+катет) */
    }
}
