/* お気に入り機能のスタイル */
.btn-favorite {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    background: white;
    color: var(--color-accent);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-gothic);
}

.btn-favorite:hover {
    background: var(--color-paper-dark);
    transform: translateY(-2px);
}

.btn-favorite.favorited {
    background: var(--color-accent);
    color: white;
}

.btn-favorite.favorited:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.btn-favorite i {
    font-size: 1.1rem;
}

/* 通知スタイル */
.notification {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 4px 12px var(--color-shadow);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-success {
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.notification-info {
    border-left: 4px solid #2196f3;
    color: #1565c0;
}

.notification-warning {
    border-left: 4px solid #ff9800;
    color: #e65100;
}

.notification-error {
    border-left: 4px solid #f44336;
    color: #c62828;
}

/* お気に入り一覧ページ */
.favorites-filter {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.favorites-count {
    font-size: 1.1rem;
    color: var(--color-ink-light);
    margin-bottom: var(--spacing-md);
}

.favorites-count strong {
    color: var(--color-accent);
    font-size: 1.5rem;
}

/* ダークモード対応 */
body.dark-mode .btn-favorite {
    background: #242424;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

body.dark-mode .btn-favorite:hover {
    background: #2a2a2a;
}

body.dark-mode .notification {
    background: #242424;
    border-color: #3a3a3a;
}

@media (max-width: 768px) {
    .notification {
        bottom: 80px;
        right: 1rem;
        left: 1rem;
    }
}
