/* Кружок входа в админку и уведомление о партнёрах (правый нижний угол). */

.admin-dot {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary, #2c3e50);
    color: #fff;
    text-decoration: none;
    opacity: 0.25;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.admin-dot:hover,
.admin-dot:focus-visible {
    opacity: 0.85;
    transform: scale(1.08);
}

.partner-toast {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 950;
    width: 340px;
    max-width: calc(100vw - 40px);
    background: var(--white, #fff);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(44, 62, 80, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.partner-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.partner-toast__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 44px 12px 16px;
    background: linear-gradient(135deg, var(--primary, #2c3e50), var(--secondary, #3a7bd5));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.partner-toast__close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.partner-toast__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.partner-toast__body {
    display: flex;
    gap: 14px;
    padding: 16px;
}

.partner-toast__icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 179, 113, 0.12);
    color: var(--success, #3CB371);
    font-size: 1.5rem;
}

.partner-toast__body h4 {
    margin: 0 0 4px;
    color: var(--primary, #2c3e50);
    font-size: 1rem;
}

.partner-toast__body p {
    margin: 0 0 10px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text, #333);
}

.partner-toast__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary, #3a7bd5);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.partner-toast__link:hover {
    color: var(--accent, #00d2ff);
}

.partner-toast__timer {
    height: 3px;
    background: linear-gradient(to right, var(--accent, #00d2ff), var(--secondary, #3a7bd5));
    transform-origin: left;
}

.partner-toast.is-visible .partner-toast__timer {
    animation: partner-timer linear forwards;
    animation-duration: var(--toast-duration, 40s);
}

@keyframes partner-timer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 480px) {
    .partner-toast {
        right: 10px;
        bottom: 74px;
        max-width: calc(100vw - 20px);
    }
}
