/* 通知スタイル */

/* トースト通知 */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary);
    max-width: 400px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification i:first-child {
    font-size: 1.2rem;
}

.toast-notification span {
    flex: 1;
    font-size: 0.95rem;
}

.toast-notification.info {
    border-left-color: var(--primary);
}

.toast-notification.info i:first-child {
    color: var(--primary);
}

.toast-notification.success {
    border-left-color: var(--success);
}

.toast-notification.success i:first-child {
    color: var(--success);
}

.toast-notification.warning {
    border-left-color: var(--warning);
}

.toast-notification.warning i:first-child {
    color: var(--warning);
}

.toast-notification.error {
    border-left-color: var(--danger);
}

.toast-notification.error i:first-child {
    color: var(--danger);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--space-xs);
    margin: calc(var(--space-xs) * -1);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.toast-close:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* 通知許可バナー */
.notification-banner {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: white;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.notification-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.notification-banner-content i {
    font-size: 1.5rem;
}

.notification-banner-text h4 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 1rem;
}

.notification-banner-text p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.notification-banner-actions {
    display: flex;
    gap: var(--space-sm);
}

.notification-banner .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.notification-banner .btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-banner .btn-primary {
    background: white;
    color: var(--primary);
}

.notification-banner .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 80px;
        max-width: none;
    }

    .notification-banner {
        flex-direction: column;
        text-align: center;
    }

    .notification-banner-content {
        flex-direction: column;
    }
}
