/* ===========================
   LARGE TOAST NOTIFICATIONS
   =========================== */

.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 450px;
    max-width: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 9999;
    animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 6px solid;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.toast-notification.removing {
    animation: slideOutRight 0.4s ease-in forwards;
}

.toast-notification.success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.toast-notification.error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.toast-notification.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.toast-notification.info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.toast-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.toast-notification.success .toast-icon {
    background: #10b981;
    color: white;
}

.toast-notification.error .toast-icon {
    background: #ef4444;
    color: white;
}

.toast-notification.warning .toast-icon {
    background: #f59e0b;
    color: white;
}

.toast-notification.info .toast-icon {
    background: #3b82f6;
    color: white;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-weight: 700;
    font-size: 18px;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.3px;
}

.toast-message {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 26px;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: currentColor;
    opacity: 0.35;
    border-radius: 0 0 0 16px;
    animation: progress 5s linear forwards;
}

.toast-notification.success .toast-progress {
    color: #10b981;
}

.toast-notification.error .toast-progress {
    color: #ef4444;
}

.toast-notification.warning .toast-progress {
    color: #f59e0b;
}

.toast-notification.info .toast-progress {
    color: #3b82f6;
}

.callout .nav-tabs .nav-link {
    color: var(--blue);
    text-decoration: none;
    background-color: transparent;
}

.callout .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
}

@keyframes slideInRight {
    from {
        transform: translateX(500px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(500px);
        opacity: 0;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* MEDIUM SCREENS (iPad, smaller laptops) */
@media (max-width: 1024px) {
    .toast-notification {
        min-width: 400px;
        max-width: 520px;
        padding: 22px 24px;
    }

    .toast-title {
        font-size: 17px;
    }

    .toast-message {
        font-size: 14px;
    }

    .toast-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* SMALL SCREENS (Tablets) */
@media (max-width: 768px) {
    .toast-notification {
        right: 16px;
        left: 16px;
        min-width: auto;
        max-width: none;
        padding: 18px 20px;
        gap: 14px;
    }

    .toast-title {
        font-size: 16px;
    }

    .toast-message {
        font-size: 13px;
    }

    .toast-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .toast-close {
        width: 28px;
        height: 28px;
        font-size: 22px;
    }
}

/* MOBILE SCREENS */
@media (max-width: 480px) {
    .toast-notification {
        right: 12px;
        left: 12px;
        min-width: auto;
        max-width: none;
        padding: 16px 16px;
        gap: 12px;
    }

    .toast-title {
        font-size: 15px;
    }

    .toast-message {
        font-size: 13px;
    }

    .toast-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .toast-close {
        width: 26px;
        height: 26px;
        font-size: 20px;
    }
}