/* お気に入りボタンのスタイル */
.eump-favorite-button {
    width: 250px;
    height: 60px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 6px 0 #2e7d32;
    text-align: center;
    margin: 10px auto;
    display: block;
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: #fff;
}

.eump-favorite-button:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #2e7d32;
}

.eump-favorite-button:active {
    transform: translateY(6px);
    box-shadow: none;
}

.eump-favorite-button.is-favorite {
    background: linear-gradient(to bottom, #ff6b6b, #ff5252);
    box-shadow: 0 6px 0 #c41e3a;
}

.eump-favorite-button.is-favorite:hover {
    box-shadow: 0 4px 0 #c41e3a;
}

/* トースト通知のスタイル */
.eump-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 400px;
    font-size: 14px;
}

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

.eump-toast.success {
    border-left: 4px solid #4CAF50;
}

.eump-toast.error {
    border-left: 4px solid #f44336;
}

.eump-toast.warning {
    border-left: 4px solid #ff9800;
}

.eump-toast .toast-icon {
    font-size: 20px;
}

.eump-toast.success .toast-icon {
    color: #4CAF50;
}

.eump-toast.error .toast-icon {
    color: #f44336;
}

.eump-toast.warning .toast-icon {
    color: #ff9800;
}

.eump-toast .toast-message {
    flex: 1;
    color: #333;
}

.eump-toast .toast-close {
    cursor: pointer;
    color: #999;
    font-size: 18px;
    padding: 4px;
}

.eump-toast .toast-close:hover {
    color: #666;
}

/* 確認ダイアログのスタイル */
.eump-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.eump-confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    display: none;
}

.dialog-message {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.dialog-button {
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-button {
    background: #4CAF50;
    color: #fff;
}

.confirm-button:hover {
    background: #45a049;
}

.cancel-button {
    background: #f5f5f5;
    color: #333;
}

.cancel-button:hover {
    background: #e0e0e0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .eump-favorite-button {
        width: 100%;
        max-width: 250px;
    }

    .eump-toast {
        width: calc(100% - 40px);
        max-width: 400px;
    }
}

.btn_area .btn.keep .fav_btn {
    display: block !important;
    width: 100% !important;
}

.btn_area .btn.keep .eump-favorite-button {
    display: inline-block !important;
    width: 100% !important;
    height: auto !important;
    padding: 15px 20px !important;
    margin: 0 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background: #f5f5f5 !important;
    background-image: none !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    position: static !important;
    transform: none !important;
}

.btn_area .btn.keep .eump-favorite-button:hover {
    background: #e8e8e8 !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn_area .btn.keep .eump-favorite-button.is-favorite {
    background: #ffeb3b !important;
    color: #333 !important;
    border-color: #fdd835 !important;
}

.btn_area .btn.keep .eump-favorite-button:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
}

.eump-remove-favorite.eump-button-danger {
    background: #dc2626;
    color: #fff;
    border: 1px solid #dc2626;
    padding:8px 16px;
    font-size: 14px;
}

.eump-remove-favorite.eump-button-danger:hover {
    background: #b91c1c;
}