/* static/css/add_item_button.css */
/* 「＋◯◯追加」ボタンの共通デザイン（借入返済シミュレーションの add-loan-btn と同系統） */

.card-header {
    flex-wrap: wrap;
}

button.add-item-btn {
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #ff9f43, #ff7a1a);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.75rem 1.1rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0.3rem 0.9rem rgba(255, 122, 26, 0.35);
    animation: add-item-btn-pulse 2.2s ease-in-out infinite;
    transition:
        background 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

button.add-item-btn:hover,
button.add-item-btn:focus-visible {
    background: linear-gradient(135deg, #ff8f2a, #f5680a);
    box-shadow: 0 0.4rem 1.1rem rgba(255, 122, 26, 0.45);
    transform: translateY(-0.0625rem);
    animation-play-state: paused;
}

@keyframes add-item-btn-pulse {
    0%, 100% {
        box-shadow: 0 0.3rem 0.9rem rgba(255, 122, 26, 0.35);
    }
    50% {
        box-shadow: 0 0.3rem 0.9rem rgba(255, 122, 26, 0.35), 0 0 0 0.3rem rgba(255, 122, 26, 0.18);
    }
}
