/* WC Precious Metals - Frontend Styles */

/* スポット価格表示 */
.wcpm-spot-price {
    font-weight: 700;
    font-size: 1.1em;
}

.wcpm-spot-price small {
    font-weight: 400;
    font-size: 0.75em;
    color: #888;
}

.wcpm-metal-gold {
    color: #b8860b;
}

.wcpm-metal-silver {
    color: #708090;
}

/* スポット価格テーブル */
.wcpm-spot-table-wrap {
    margin: 20px 0;
}

.wcpm-spot-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.wcpm-spot-table thead th {
    background: #2c3e50;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wcpm-spot-table thead th:first-child {
    border-radius: 6px 0 0 0;
}

.wcpm-spot-table thead th:last-child {
    border-radius: 0 6px 0 0;
}

.wcpm-spot-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #e9ecef;
}

.wcpm-spot-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 6px;
}

.wcpm-spot-table tbody tr:last-child td:last-child {
    border-radius: 0 0 6px 0;
}

.wcpm-spot-table tbody tr:hover {
    background: #f8f9fa;
}

.wcpm-spot-table .wcpm-price {
    font-weight: 700;
    font-size: 1.05em;
    color: #2c3e50;
    font-family: "SF Mono", "Monaco", "Consolas", monospace;
}

.wcpm-spot-table .wcpm-change {
    font-weight: 600;
    font-size: 0.9em;
}

.wcpm-spot-table .wcpm-up {
    color: #27ae60;
}

.wcpm-spot-table .wcpm-down {
    color: #e74c3c;
}

.wcpm-row-gold td:first-child {
    font-weight: 600;
    color: #b8860b;
}

.wcpm-row-silver td:first-child {
    font-weight: 600;
    color: #708090;
}

.wcpm-updated-time {
    text-align: right;
    font-size: 0.8em;
    color: #999;
    margin-top: 8px;
}

.wcpm-no-data {
    text-align: center;
    color: #999;
    padding: 20px;
    font-style: italic;
}

.wcpm-no-price {
    color: #ccc;
}
