/* Local Storage Handler Styles */

/* 保存通知 */
.save-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
}

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

.save-notification span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ローカルストレージボタン */
.local-storage-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.local-storage-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.local-storage-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.local-storage-buttons .btn-secondary {
    background: #007bff;
    color: white;
}

.local-storage-buttons .btn-danger {
    background: #dc3545;
    color: white;
}

.local-storage-buttons .btn-success {
    background: #28a745;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .save-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    
    .local-storage-buttons {
        bottom: 10px;
        right: 10px;
        left: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .local-storage-buttons button {
        flex: 1;
        min-width: 100px;
    }
}

/* アニメーション */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}