.rust-alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.22), transparent 35%), rgba(3, 7, 18, 0.78);
    backdrop-filter: blur(8px);
    animation: rustAlertFadeIn 0.22s ease;
}

.rust-alert-box {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: 22px;
    overflow: hidden;
    color: #f8fafc;
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)), linear-gradient(135deg, #111827 0%, #1f2937 45%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    animation: rustAlertPopIn 0.24s ease;
}

.rust-alert-box::before {
    content: "";
    display: block;
    height: 5px;
    width: 100%;
}

.rust-alert-duyuru::before {
    background: linear-gradient(90deg, #60a5fa, #2563eb, #1d4ed8);
}

.rust-alert-bilgilendirme::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
}

.rust-alert-uyari::before {
    background: linear-gradient(90deg, #ef4444, #b91c1c, #7f1d1d);
}

.rust-alert-guncelleme::before {
    background: linear-gradient(90deg, #34d399, #10b981, #059669);
}

.rust-alert-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #e5e7eb;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.rust-alert-close:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    transform: rotate(90deg);
}

.rust-alert-content {
    padding: 28px 30px 26px;
}

.rust-alert-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-right: 46px;
}

.rust-alert-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.rust-alert-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.rust-alert-duyuru .rust-alert-icon {
    background: linear-gradient(135deg, rgba(96,165,250,0.18), rgba(37,99,235,0.22));
    color: #bfdbfe;
    border-color: rgba(59,130,246,0.18);
}

.rust-alert-bilgilendirme .rust-alert-icon {
    background: linear-gradient(135deg, rgba(251,191,36,0.16), rgba(217,119,6,0.22));
    color: #fde68a;
    border-color: rgba(245,158,11,0.20);
}

.rust-alert-uyari .rust-alert-icon {
    background: linear-gradient(135deg, rgba(239,68,68,0.16), rgba(127,29,29,0.24));
    color: #fecaca;
    border-color: rgba(239,68,68,0.18);
}

.rust-alert-guncelleme .rust-alert-icon {
    background: linear-gradient(135deg, rgba(52,211,153,0.16), rgba(5,150,105,0.24));
    color: #bbf7d0;
    border-color: rgba(16,185,129,0.20);
}

.rust-alert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.rust-alert-duyuru .rust-alert-badge {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.18);
    color: #bfdbfe;
}

.rust-alert-bilgilendirme .rust-alert-badge {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.18);
    color: #fde68a;
}

.rust-alert-uyari .rust-alert-badge {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.18);
    color: #fecaca;
}

.rust-alert-guncelleme .rust-alert-badge {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: #bbf7d0;
}

.rust-alert-title {
    margin: 0 0 10px;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
}

.rust-alert-text {
    margin-top: 10px;
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.85;
    word-break: break-word;
}

.rust-alert-text p {
    margin: 0;
}

.rust-alert-divider {
    height: 1px;
    margin: 22px 0 18px;
    background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04), rgba(255,255,255,0));
}

.rust-alert-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.rust-alert-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: #f8fafc;
    min-width: 110px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.rust-alert-btn:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-1px);
}

.rust-alert-duyuru .rust-alert-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: rgba(59,130,246,0.2);
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.26);
}

.rust-alert-bilgilendirme .rust-alert-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: rgba(245,158,11,0.2);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.24);
}

.rust-alert-uyari .rust-alert-btn-primary {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-color: rgba(239,68,68,0.2);
    box-shadow: 0 10px 24px rgba(127, 29, 29, 0.28);
}

.rust-alert-guncelleme .rust-alert-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: rgba(16,185,129,0.2);
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.26);
}

@keyframes rustAlertFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rustAlertPopIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .rust-alert-overlay {
        padding: 14px;
    }

    .rust-alert-content {
        padding: 22px 18px 18px;
    }

    .rust-alert-title {
        font-size: 24px;
    }

    .rust-alert-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .rust-alert-top {
        gap: 10px;
        padding-right: 40px;
    }

    .rust-alert-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        flex-basis: 38px;
    }

    .rust-alert-footer {
        flex-direction: column;
    }

    .rust-alert-btn {
        width: 100%;
    }
}