/**
 * Premium Jewellery Table Styles
 */

.gold-price-jewellery-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.gold-price-jewellery-error {
    background: #dc3545;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.jewellery-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.gold-price-jewellery-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.gold-price-jewellery-table thead {
    background: #3d4f5d;
}

.gold-price-jewellery-table thead th {
    color: #fff;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.gold-price-jewellery-table thead th:last-child {
    text-align: right;
}

.gold-price-jewellery-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.gold-price-jewellery-table tbody tr:last-child {
    border-bottom: none;
}

.gold-price-jewellery-table tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

.gold-price-jewellery-table tbody tr:hover {
    background-color: #e9ecef;
}

.gold-price-jewellery-table tbody td {
    padding: 15px 20px;
    font-size: 14px;
}

.gold-price-jewellery-table tbody td.jewellery-type {
    color: #495057;
    font-weight: 500;
}

.gold-price-jewellery-table tbody td.jewellery-price {
    text-align: right;
    font-weight: 700;
    font-size: 16px;
    color: #2c3e50;
}

.jewellery-disclaimer {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    font-size: 13px;
    line-height: 1.6;
    color: #856404;
    border-radius: 4px;
}

/* Highlight specific karats */
.gold-price-jewellery-table tbody tr:nth-child(1) {
    background-color: #fff9e6;
}

.gold-price-jewellery-table tbody tr:nth-child(1):hover {
    background-color: #fff3cc;
}

.gold-price-jewellery-table tbody tr:nth-child(1) td.jewellery-price {
    color: #d4af37;
    font-size: 17px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gold-price-jewellery-wrapper {
        margin: 20px 10px;
    }

    .jewellery-title {
        font-size: 20px;
    }

    .gold-price-jewellery-table thead th,
    .gold-price-jewellery-table tbody td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .gold-price-jewellery-table tbody td.jewellery-price {
        font-size: 15px;
    }

    .jewellery-disclaimer {
        font-size: 12px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .jewellery-title {
        font-size: 18px;
    }

    .gold-price-jewellery-table thead th,
    .gold-price-jewellery-table tbody td {
        padding: 10px;
        font-size: 12px;
    }

    .gold-price-jewellery-table tbody td.jewellery-type {
        font-size: 11px;
    }

    .gold-price-jewellery-table tbody td.jewellery-price {
        font-size: 14px;
    }

    .jewellery-disclaimer {
        font-size: 11px;
        padding: 10px;
    }
}
