/* Estilos generales */
.puntos-costapets-container {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Estilos para las tarjetas */
.puntos-costapets-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Estilos para el formulario de activación */
#puntos-costapets-activation-form {
    display: flex;
    flex-direction: column;
}

#puntos-costapets-activation-form label {
    margin-bottom: 10px;
    font-weight: bold;
}

#puntos-costapets-activation-form input[type="text"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

#puntos-costapets-activation-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#puntos-costapets-activation-form input[type="submit"]:hover {
    background-color: #45a049;
}

/* Estilos para los mensajes de resultado */
#activation-result {
    margin-top: 15px;
}

#activation-result .success {
    color: #4CAF50;
}

#activation-result .error {
    color: #f44336;
}

/* Estilos para la visualización de puntos */
#current-points {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Estilos para la tabla de activaciones */
.puntos-costapets-activations {
    width: 100%;
    border-collapse: collapse;
}

.puntos-costapets-activations th,
.puntos-costapets-activations td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.puntos-costapets-activations th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.puntos-costapets-activations tr:last-child td {
    border-bottom: none;
}
.puntos-costapets-card h2 {
    margin-top: 0;
    color: #333;
}

.puntos-costapets-card h3 {
    margin-top: 20px;
    color: #444;
}

#current-points {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 20px;
}

.puntos-costapets-activations {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.puntos-costapets-activations th,
.puntos-costapets-activations td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.puntos-costapets-activations th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.puntos-costapets-activations tr:last-child td {
    border-bottom: none;
}

.puntos-costapets-premios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.puntos-costapets-premio-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.puntos-costapets-premio-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.puntos-costapets-premio-card h3 {
    margin-top: 0;
    color: #333;
}

.puntos-costapets-premio-card p {
    color: #666;
    margin-bottom: 15px;
}

.puntos-costapets-canjear-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.puntos-costapets-canjear-btn:hover {
    background-color: #45a049;
}

.puntos-costapets-canjear-btn.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
.puntos-costapets-user-points-table {
    margin-top: 20px;
}

.puntos-costapets-user-points-table th {
    font-weight: bold;
}

.puntos-costapets-user-points-table td,
.puntos-costapets-user-points-table th {
    padding: 10px;
}

.puntos-costapets-search-form {
    margin-bottom: 20px;
}

.puntos-costapets-search-form input[type="text"] {
    width: 300px;
}

@media (max-width: 768px) {
    .puntos-costapets-premios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .puntos-costapets-premios-grid {
        grid-template-columns: 1fr;
    }
}
