/* Estilos exclusivos para la tabla de productos del dashboard */
.dash-prod-container {
    padding: 20px 0;
    font-family: 'Inter', sans-serif;
}

.dash-prod-header {
    margin-bottom: 25px;
}

.dash-prod-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 5px 0;
}

.dash-prod-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 15px 0;
}

.btn-nuevo-producto {
    background-color: #e11d48;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}
.btn-nuevo-producto:hover {
    background-color: #be123c;
}

.dash-prod-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dash-prod-stat-card {
    flex: 1;
    min-width: 200px;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.dash-prod-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #fdf2f8;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.dash-prod-stat-info {
    display: flex;
    flex-direction: column;
}

.dash-prod-stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 2px;
}

.dash-prod-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.dash-prod-table-container {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    overflow-x: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.dash-prod-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.dash-prod-table th {
    background-color: #fdf2f8;
    color: #111827;
    font-weight: 600;
    font-size: 13px;
    padding: 15px;
    border-bottom: 1px solid #fce7f3;
}

.dash-prod-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    color: #4b5563;
    vertical-align: middle;
}

.dash-prod-table tr:last-child td {
    border-bottom: none;
}

.dash-prod-img-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.dash-prod-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.dash-prod-name {
    font-weight: 600;
    color: #111827;
}

.dash-prod-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background-color: #dcfce7;
    color: #166534;
}

.dash-prod-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
}

.dash-prod-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.dash-btn-action {
    background: transparent;
    border: 1px solid #e11d48;
    color: #e11d48;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.dash-btn-action:hover {
    background: #fff1f2;
}

.dash-prod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: #6b7280;
}

.dash-pagination {
    display: flex;
    gap: 5px;
}

.dash-page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #f3f4f6;
    background: #fff;
    color: #374151;
    cursor: pointer;
    font-weight: 600;
}

.dash-page-btn.active {
    background: #e11d48;
    color: #fff;
    border-color: #e11d48;
}
