/**
 * Gestió Golf i Pitch & Putt - Estils Frontend
 * Version: 2.0.0
 */

.golfpp-wrapper {
    max-width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.golfpp-wrapper .golfpp-table,
.golfpp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 20px 0;
    font-size: 14px;
}

.golfpp-wrapper .golfpp-table thead tr,
.golfpp-wrapper .golfpp-table thead th,
.golfpp-table thead tr,
.golfpp-table thead th,
.entry-content .golfpp-wrapper .golfpp-table thead th,
.entry-content .golfpp-table thead th {
    background: linear-gradient(135deg, #1a5d3c 0%, #0d3d26 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 15px !important;
    text-align: left;
    border-bottom: none;
}

.golfpp-wrapper .golfpp-table td,
.golfpp-table td,
.entry-content .golfpp-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    background: #fff;
    color: #333;
}

.golfpp-wrapper .golfpp-table tbody tr:hover td,
.golfpp-table tbody tr:hover td {
    background-color: #f8f9fa !important;
}

.golfpp-title,
.golfpp-wrapper .golfpp-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a5d3c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #1a5d3c;
    display: inline-block;
}

.golfpp-badge,
.golfpp-wrapper .golfpp-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.golfpp-badge-actiu,
.golfpp-wrapper .golfpp-badge-actiu {
    background: #d4edda !important;
    color: #155724 !important;
}

.golfpp-badge-inactiu,
.golfpp-wrapper .golfpp-badge-inactiu {
    background: #f8d7da !important;
    color: #721c24 !important;
}

.golfpp-badge-activa,
.golfpp-wrapper .golfpp-badge-activa {
    background: #1a5d3c !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .golfpp-wrapper .golfpp-table,
    .golfpp-table {
        font-size: 12px;
    }
    .golfpp-wrapper .golfpp-table th,
    .golfpp-wrapper .golfpp-table td,
    .golfpp-table th,
    .golfpp-table td {
        padding: 8px 10px !important;
    }
}