/* =========================================================
   STATUS LINK BUTTON
   ========================================================= */

.status-link-btn {
    --status-btn-color: #006a4d;

    position: relative;
    display: flex;
    align-items: center;

    width: 100%;
    height: 58px;
    padding: 0 20px;

    overflow: hidden;

    color: #ffffff !important;
    background-color: var(--status-btn-color);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;

    text-decoration: none !important;

    box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.12);

    transition:
            filter 0.4s ease,
            box-shadow 0.4s ease;

    isolation: isolate;
}


/* =========================================================
   PULSE — ANA BEYAZ DALGA
   ========================================================= */

.status-link-btn::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.30);

    transform:
            translate(-50%, -50%)
            scale(0);

    animation:
            status-link-btn-pulse
            2.2s
            ease-out
            infinite;

    pointer-events: none;
    z-index: 0;
}


/* =========================================================
   PULSE — İNCE HALKA
   ========================================================= */

.status-link-btn::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.20);

    transform:
            translate(-50%, -50%)
            scale(0);

    animation:
            status-link-btn-ring
            2.2s
            ease-out
            infinite;

    pointer-events: none;
    z-index: 1;
}


/* =========================================================
   ICON
   ========================================================= */

.status-link-btn__icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 38px;
    height: 38px;

    color: #ffffff !important;

    font-size: 27px;
    line-height: 1;

    transition:
            filter 0.4s ease;
}


/* =========================================================
   TITLE
   ========================================================= */

.status-link-btn__title {
    position: relative;
    z-index: 2;

    margin-left: 13px;

    color: #ffffff !important;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.2px;

    text-decoration: none !important;
}


/* =========================================================
   PULSE ANIMATION
   ========================================================= */

@keyframes status-link-btn-pulse {

    0% {
        opacity: 0;
        transform:
                translate(-50%, -50%)
                scale(0);
    }

    8% {
        opacity: 0.32;
    }

    30% {
        opacity: 0.24;
    }

    65% {
        opacity: 0.10;
    }

    100% {
        opacity: 0;
        transform:
                translate(-50%, -50%)
                scale(38);
    }
}


/* =========================================================
   RING ANIMATION
   ========================================================= */

@keyframes status-link-btn-ring {

    0% {
        opacity: 0;
        transform:
                translate(-50%, -50%)
                scale(0);
    }

    8% {
        opacity: 0.25;
    }

    100% {
        opacity: 0;
        transform:
                translate(-50%, -50%)
                scale(34);
    }
}


/* =========================================================
   HOVER
   ========================================================= */

.status-link-btn:hover {
    color: #ffffff !important;

    text-decoration: none !important;

    filter: brightness(1.06);

    box-shadow:
            0 0 10px rgba(255, 255, 255, 0.28),
            0 0 28px rgba(104, 142, 173, 0.65),
            0 7px 20px rgba(0, 0, 0, 0.18);
}


/* Hover'da pulse yavaşlar */

.status-link-btn:hover::before {
    animation-duration: 4.5s;
}

.status-link-btn:hover::after {
    animation-duration: 4.5s;
}


/* Hover'da icon parlar */

.status-link-btn:hover .status-link-btn__icon {
    filter:
            drop-shadow(
                    0 0 7px rgba(255, 255, 255, 0.85)
            );
}


/* =========================================================
   LINK STATES
   ========================================================= */

.status-link-btn:link,
.status-link-btn:visited,
.status-link-btn:hover,
.status-link-btn:active,
.status-link-btn:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .status-link-btn::before,
    .status-link-btn::after {
        animation: none;
    }

    .status-link-btn,
    .status-link-btn__icon {
        transition: none;
    }
}
