.update-history-card {
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem !important;
}

.update-history-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1)!important;
}

.date-info {
    font-size: 0.9rem;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-name a {
    color: #2c3e50;
    text-decoration: none;
}

.product-name a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.company-name {
    font-size: 0.9rem;
}

.update-history-btn {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    transition: all 0.2s ease;
}

.update-history-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.1);
}

.changes-container {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.changes-title {
    color: #0d6efd;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.changes-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.change-item {
    background-color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border-left: 3px solid #0d6efd;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .date-info {
        font-size: 0.85rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .company-name {
        font-size: 0.85rem;
    }
    
    .change-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    .update-history-btn {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ステータスバッジのスタイル */
.status-display .badge {
    text-wrap: nowrap;
    padding: 0.25rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    color: white;
}

/* ステータスごとの色 */
.badge.normal { 
    background-color: #8cc580!important; 
}

.badge.limited { 
    background-color: #f7c36f!important; 
}

.badge.stop { 
    background-color: #f07171!important; 
}

.badge.discontinued { 
    background-color: #333333!important; 
}

.badge.transfer { 
    background-color: #7399c9!important; 
}

.badge.unannounced {
    background-color: #ffffff!important;
    border: 1px solid black;
    color: black;
}

/* レスポンシブ対応 */
@media (max-width: 1280px) {
    .status-display .badge {
        font-size: 0.7rem;
        font-weight: 400;
    }
}

/* 製品名のスタイル */
.product-title {
    font-size: 1.25rem;
    font-weight: 500;
}

.product-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-link:hover {
    color: #34495e;
    text-decoration: underline;
}

/* 一般名のスタイル */
.general-name {
    color: #6c757d;
    margin-top: 0.25rem;
}

/* 日付表示のスタイル */
.date-container {
    display: flex;
    gap: 1rem;
}

.date-item {
    display: inline-flex;
    align-items: center;
}

.date-label {
    font-size: 0.875rem;
    white-space: nowrap;
}

.date-value {
    font-weight: 500;
    white-space: nowrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .date-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
}

/* 分類ボックスのスタイル */
.classification-box {
    padding: 0.25rem 0.5rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    width: fit-content;
    max-width: 200px;
    height: fit-content;
}

.classification-box .small {
    line-height: 1.2;
}

/* アイコンのスタイル */
.icon-standard {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
    vertical-align: middle;
    display: inline-block;
    margin: 0;
}

.icon-standard:hover {
    transform: scale(1.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .classification-box {
        font-size: 0.7rem;
    }
    
    .icon-standard {
        width: 20px;
        height: 20px;
    }
}

/* フィルター関連のスタイル */
.hidden {
    display: none !important;
}

/* フィルターボタンのスタイル */
.btn-2px {
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.btn-2px.inactive {
    background-color: white !important;
}
 